duino-coin icon indicating copy to clipboard operation
duino-coin copied to clipboard

Can't run pc_miner

Open BurnTheWitch13 opened this issue 4 years ago • 2 comments

16411435008264631794786821149529

Anyone know how to deal with this problem?

BurnTheWitch13 avatar Jan 02 '22 17:01 BurnTheWitch13

It helped me

Edit the PC_Miner.py file Change BLOCK = " | | " And replace emojis PICK COG with characters or spaces in 'class Settings'

....
BLOCK = " || "
PICK = ""
COG = " @"
if (os.name != "nt"
    or bool(os.name == "nt"
            and os.environ.get("WT_SESSION"))):
    # Windows' cmd does not support emojis, shame!
    PICK = " "
    COG = " @"

In the Translations.json file do the same and remove the copyright icon in the 'banner'

... "banner":"Official Duino-Coin @ Python Miner" ... "report_period":"\n\t\t|| During the last ", ....

and save UTF-8

OrangePi zero platform

noobcode73 avatar Jan 02 '22 20:01 noobcode73

Solved in this commit. I`ll close this issue

LDarki avatar Jan 29 '22 20:01 LDarki