thelinuxuser-choice / Mega-Account-Creator

Mega.nz Mass Account Creator bot with selenium
https://discord.gg/r95bVZzC8Q
MIT License
17 stars 8 forks source link

UnicodeEncodeError: 'charmap' codec can't encode characters in position 5-8: character maps to <undefined> #4

Open scripthon opened 2 years ago

scripthon commented 2 years ago

how to fix it bro

$ python mega.py

Traceback (most recent call last): File "C:\Users\AbygaileJhonson\mega\mega.py", line 47, in print(banner) File "C:\Users\AbygaileJhonson\AppData\Local\Programs\Python\Python310\lib\site-packages\colorama\ansitowin32.py", line 47, in write self.__convertor.write(text) File "C:\Users\AbygaileJhonson\AppData\Local\Programs\Python\Python310\lib\site-packages\colorama\ansitowin32.py", line 170, in write self.write_and_convert(text) File "C:\Users\AbygaileJhonson\AppData\Local\Programs\Python\Python310\lib\site-packages\colorama\ansitowin32.py", line 195, in write_and_convert self.write_plain_text(text, cursor, start) File "C:\Users\AbygaileJhonson\AppData\Local\Programs\Python\Python310\lib\site-packages\colorama\ansitowin32.py", line 203, in write_plain_text self.wrapped.write(text[start:end]) File "C:\Users\AbygaileJhonson\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 5-8: character maps to

defaltastra commented 2 years ago

try running export PYTHONIOENCODING=utf8 in your terminal then running the script again

scripthon commented 2 years ago

try running export PYTHONIOENCODING=utf8 in your terminal then running the script again

[Error] An error occured while Creating a Account Reasons are [Names you have entered in emails.txt is taken] [EXIT] Press Enter to Exit >[16720:9804:0809/215905.527:ERROR:util.cc(127)] Can't create base directory: C:\Program Files\Google\GoogleUpdater

defaltastra commented 2 years ago

you have to go to emails.txt and generate usernames using the link http://generator.my-addr.com/generate_usernames-free_username_generator_online_tool.php then paste them there and try again, also make sure to have google chrome installed

scripthon commented 2 years ago

you have to go to emails.txt and generate usernames using the link http://generator.my-addr.com/generate_usernames-free_username_generator_online_tool.php then paste them there and try again, also make sure to have google chrome installed

i did it bro, the results are the same, what version of the chrome driver are you use?