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

JSONDecodeError when launching AVR_Miner on Raspberry Pi

Open Cravati opened this issue 5 years ago • 7 comments

Describe the bug After pasting the "Mine with your Arduinos using Raspberry Pi as Host" commands into the Teminal, I get an error and it doesn't move on to asking for my Duino Username.

To Reproduce Fresh install of Raspbian 5.10 Open Terminal Copy and execute... sudo apt update && sudo apt upgrade -y # Update dependencies sudo apt install python3 python3-pip git # Install python3 and git git clone https://github.com/revoxhere/duino-coin # Clone the duino-coin repository cd duino-coin # Enter the duino-coin directory python3 AVR_Miner.py # Launch the official miner

Expected behavior Error after Launching AVR_Miner.

Screenshots/photos TerminalScreenshot

System (please complete the following information):

  • OS: Raspberry Pi OS with desktop. Kernel Version 5.10
  • AVR_Miner

Cravati avatar Sep 08 '21 01:09 Cravati

to workaround, simply add a comma to end of line 807 in resources/langs.json, save and rerun. I've submitted pull request so need to wait for developer to approve

JK-Rolling avatar Sep 08 '21 01:09 JK-Rolling

where is resources/langs.json? Not finding it.

Cravati avatar Sep 08 '21 01:09 Cravati

to be exact AVRMiner_2.72_resources/langs.json

JK-Rolling avatar Sep 08 '21 01:09 JK-Rolling

Thanks. Added comma to the end of line 807 and still have the same issue. What am I doing wrong?

Cravati avatar Sep 08 '21 02:09 Cravati

Thanks. Added comma to the end of line 807 and still have the same issue. What am I doing wrong?

The line for me was 806, even thought it says 807.

"connection_search": "Sunuculara bağlanmak için en hızlı bağlantı aranıyor", <-- added a comma here

deadpool010 avatar Sep 08 '21 03:09 deadpool010

FYI, this has been fixed in https://github.com/revoxhere/duino-coin/pull/979.

bradbyte avatar Sep 14 '21 13:09 bradbyte

Closing since the issue has been fixed

revoxhere avatar Sep 26 '21 19:09 revoxhere