sushant10 / HQ_Bot

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

Unknown error when running #41

Open ghost opened 6 years ago

ghost commented 6 years ago
Traceback (most recent call last):
  File "D:\Desktop\HQ_Bot-master\answer_bot.py", line 282, in <module>
    load_json()
  File "D:\Desktop\HQ_Bot-master\answer_bot.py", line 64, in load_json
    sample_questions = json.loads(open("Data/questions.json").read())
  File "C:\Users\-\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 <undefined>


Errors in loading JSON files but dont want to tamper with what you've made

0bytedna commented 6 years ago

Stop posting duplicate thread. Is it that hard to go through the existing issues? Refer the charmap error thread.