You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "c:\Users\rizkirdp\PilotTelegramBot\main.py", line 2, in
from init import dp, sched
File "c:\Users\rizkirdp\PilotTelegramBot\init.py", line 144, in
tw = TranslationWorker(session, Chats, config.default_lang)
File "c:\Users\rizkirdp\PilotTelegramBot\utils\translation.py", line 21, in init
self.translations[i.split('.')[0]] = json.load(file)
File "C:\Users\rizkirdp\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\rizkirdp\AppData\Local\Programs\Python\Python310\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 0x81 in position 20: character maps to
how to fix?
The text was updated successfully, but these errors were encountered:
sir i tried it and error like :
Traceback (most recent call last):
File "c:\Users\rizkirdp\PilotTelegramBot\main.py", line 2, in
from init import dp, sched
File "c:\Users\rizkirdp\PilotTelegramBot\init.py", line 144, in
tw = TranslationWorker(session, Chats, config.default_lang)
File "c:\Users\rizkirdp\PilotTelegramBot\utils\translation.py", line 21, in init
self.translations[i.split('.')[0]] = json.load(file)
File "C:\Users\rizkirdp\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\rizkirdp\AppData\Local\Programs\Python\Python310\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 0x81 in position 20: character maps to
how to fix?
The text was updated successfully, but these errors were encountered: