sushant10 / HQ_Bot

📲 Bot to help solve HQ trivia
MIT License
173 stars 92 forks source link

decoding Error while loading up the answer_bot.py #151

Closed knagak closed 6 years ago

knagak commented 6 years ago

im pretty new to python...and all this so how to fix this??? im getting this error.. ive already googled the error and didnt find any working solution

C:\Users\CIE\Desktop\BOT BUILD\HQ_Bot-master>python3 answer_bot.py Traceback (most recent call last): File "answer_bot.py", line 284, in load_json() File "answer_bot.py", line 64, in load_json sample_questions = json.loads(open("Data/questions.json").read()) File "C:\Users\CIE\AppData\Local\Programs\Python\Python36\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 93: character maps to

knagak commented 6 years ago

Got the fix on previous issues.. thanks