PC Miner UnicodeEncodeError: * codec can't encode character - on Raspberry Pi
I just did a fresh clone for the Raspberry PI, when I tried to start the program with "python3 PC_Miner.py", this is the error message I received, what did I do wrong?
~/duino-coin $ python3 PC_Miner.py
Xxhash is not installed - this mining algorithm will be disabled
Traceback (most recent call last):
File "PC_Miner.py", line 865, in
Hello @Flight1530 , usually this error is caused by 2 reasons:
-
Corrupt translation file: try to close the miner, romove the file
Translations.jsoninside the folderDuino-Coin PC Miner 2.73and run the miner again -
Wrong seted system locales: It may be that your linux default language does not allow all UTF8 characters so you will need to set this locale to UTF8... Each linux distro has its peculiarities for this procedure, for this reason I won't leave any tutorial here... this was the solution for this user https://github.com/revoxhere/duino-coin/issues/983
If it works:heavy_check_mark:, let us know, otherwise tell us more details so we can help you
This fix works. Just need to restart the puTTy session (on windows) after applying the fix. Thank you.
Closed due to inactivity, feel free to reopen if problem perists
Hello! I launched PC Miner 3.18 on Raspberry Pi 4 (installed everything according to the instructions from the official duino coin website, via the console). As a result, this is what I got:
Traceback (most recent call last):
File "/home/pi/duino-coin/PC_Miner.py", line 1248, in
Please tell me what's wrong?
Hi, please don't revive old issues.
Try running this command before the miner:
chcp 65001
It doesn't work, unfortunately!
Try with this then.
// If you're on linux
set PYTHONIOENCODING=utf-8
// if you're on windows
set PYTHONLEGACYWINDOWSSTDIO=utf-8