Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 20: character maps to <undefined> #9

Open
mhmdrzkii opened this issue Jul 17, 2022 · 7 comments
Labels
wontfix This will not be worked on

Comments

@mhmdrzkii
Copy link

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?

@SanyaPilot
Copy link
Owner

Sorry, project is abandoned, if you really want to try it, run it on Linux distro

@SanyaPilot SanyaPilot added the wontfix This will not be worked on label Jul 17, 2022
@mhmdrzkii
Copy link
Author

can it be via linux?

@SanyaPilot
Copy link
Owner

No, it works nice on Linux

@mhmdrzkii
Copy link
Author

how to use from linux? is it the same as running in cmd?

@SanyaPilot
Copy link
Owner

All instructions described in README.md

@mhmdrzkii
Copy link
Author

do you have any videos related to bot pilot installation?

thankyou

@SanyaPilot
Copy link
Owner

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants