revoxhere / duino-coin

ᕲ Duino-Coin is a coin that can be mined with almost everything, including Arduino boards.
https://duinocoin.com
MIT License
1.08k stars 511 forks source link

Mining software not working on Raspberry Pi 5 #1802

Open NoiseyRobot opened 2 months ago

NoiseyRobot commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Download the mining software on a Raspberry Pi 5 running Raspberry Pi OS
  2. Run it and input your username

Expected behavior I expected it to start mining after I inputted my username

Logs Here are my logs: ` core@Cal-Port-Server:~ $ cd duino-coin python3 PC_Miner.py /home/core/duino-coin/PC_Miner.py:868: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead locale = getdefaultlocale()[0]

Duino-Coin basic configuration tool Edit Duino-Coin PC Miner 4.1/Miner_config.cfg file later if you want to change it. Don't have an Duino-Coin account yet? Use Wallet to register on server.

Enter your Duino-Coin username: NoiseyRobot Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/requests/models.py", line 974, in json return complexjson.loads(self.text, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 372, in decode obj, end = self.raw_decode(s) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 402, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ simplejson.errors.JSONDecodeError: Expecting value: line 3 column 1 (char 4)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/core/duino-coin/PC_Miner.py", line 1395, in user_settings = Miner.load_cfg() ^^^^^^^^^^^^^^^^ File "/home/core/duino-coin/PC_Miner.py", line 946, in load_cfg timeout=Settings.SOC_TIMEOUT).json() ^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/requests/models.py", line 978, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: Expecting value: line 3 column 1 (char 4) ^C16:59:35 sys0 SIGINT detected - Exiting gracefully. See you soon! Exception ignored in: <module 'threading' from '/usr/lib/python3.11/threading.py'> Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown lock.acquire() File "/home/core/duino-coin/PC_Miner.py", line 64, in handler if not "raspi_leds" in user_settings: ^^^^^^^^^^^^^ NameError: name 'user_settings' is not defined `

System (please complete the following information):

profpandaa commented 2 weeks ago

Download the latest version and retry.