Open Trypt88 opened 3 years ago
Ok, problem solved... So you upgraded the Spare package to 0.1.dev82, but your windows build for download is still 1.1.7... Who ever upgraded Spare to the latest, must build windows to 0.1.dev82 too, download from the provided link won't work.
Hmm, more issues... So a clean build of 0.1.dev82 on windows, cannot spare init, there's no certs in the ssl folder of venv... I need to manually download the blockchain zip and copy to the blockchain folder in the venv...
(venv) PS C:\Users\USER\forks\spare-blockchain> spare init
Spare directory C:\Users\USER.spare-blockchain\mainnet
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\USER\forks\spare-blockchain\venv\scripts\spare.exe__main.py", line 7, in
2021-07-31T11:57:21.715 harvester spare.server.rate_limits: WARNING Invalid message: 66, 66 is not a valid ProtocolMessageTypes 2021-07-31T11:57:21.715 harvester harvester_server : ERROR Exception: 66 is not a valid ProtocolMessageTypes <class 'ValueError'>, closing connection {'host': '192.168.1.77', 'port': 9447}. ValueError: 66 is not a valid ProtocolMessageTypes
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "spare\server\server.py", line 493, in api_call File "C:\Users\maxca\AppData\Local\Programs\Python\Python37\lib\enum.py", line 310, in call File "C:\Users\maxca\AppData\Local\Programs\Python\Python37\lib\enum.py", line 564, in new File "C:\Users\maxca\AppData\Local\Programs\Python\Python37\lib\enum.py", line 548, in new File "C:\Users\maxca\AppData\Local\Programs\Python\Python37\lib\enum.py", line 577, in missing ValueError: 66 is not a valid ProtocolMessageTypes
2021-07-31T11:57:21.719 harvester harvester_server : INFO Connection closed: 192.168.1.77, node id: c313cd76a8f34998a5ff210627229c8335d16ccf164f904e847a957b10e89696 2021-07-31T11:57:21.720 harvester harvester_server : WARNING Banning 192.168.1.77 for 10 seconds 2021-07-31T11:57:21.721 harvester spare.harvester.harvester: INFO peer disconnected {'host': '192.168.1.77', 'port': 9447} 2021-07-31T11:57:24.023 harvester harvester : INFO Reconnecting to peer {'host': '192.168.1.77', 'port': 9447} 2021-07-31T11:57:24.023 harvester harvester_server : WARNING Peer 192.168.1.77 is still banned, not connecting to it