I am trying to sign a site but it failed with an "Unhandled exception" message.
python zeronet.py signSite 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Error message :
- Starting ZeroNet...
ERROR:root:Unhandled exception: 'Config' object has no attribute 'trackers_file'
Traceback (most recent call last):
File "zeronet.py", line 18, in main
import main
File "/home/lola/Workspace/ZeroNet/ZeroNet-master/src/main.py", line 27, in <module>
config.parse(silent=True) # Plugins need to access the configuration
File "/home/lola/Workspace/ZeroNet/ZeroNet-master/src/Config.py", line 370, in parse
self.loadTrackersFile()
File "/home/lola/Workspace/ZeroNet/ZeroNet-master/src/Config.py", line 286, in loadTrackersFile
if not self.trackers_file:
AttributeError: 'Config' object has no attribute 'trackers_file'
Traceback (most recent call last):
File "zeronet.py", line 88, in <module>
main()
File "zeronet.py", line 53, in main
traceback.print_exc(file=open(config.log_dir + "/error.log", "a"))
AttributeError: 'Config' object has no attribute 'log_dir'
We expect the site to be signed.
Ok. I understand what happened.
I used the wrong command : signSite instead of siteSign
However it should have shown me the help section but instead I got this error message. A proper fix should verify if the command entered exist before trying to do anything. A quick fix would just initialize tracker_files with None.
@rllola
I've forked KopyKate and begining the NetVision project, that will have hubs (users can post on different hubs - then NetVision can be cloneable when abandonned and keep updated and interacting with hubs) and is intended to be maintened.
http://127.0.0.1:43110/netvision.bit
Tell me if you want to also manage it (I believe ZeroNet needs more projects with multiple owners).
I can send the privatekey to your ZeroMail.
@DaniellMesquita
Thanks for the update. I am going to take a look at it.
But in the future please contact me via ZeroMail or on ThunderWave. Try to keep issues dedicated to Zeronet issues :wink:
@rllola
Emails sent on ZeroMail.
Thanks, and sorry for the off-topic here.
Thanks for reporting fixed in Rev3618
Most helpful comment
Ok. I understand what happened.
I used the wrong command :
signSiteinstead ofsiteSignHowever it should have shown me the help section but instead I got this error message. A proper fix should verify if the command entered exist before trying to do anything. A quick fix would just initialize
tracker_fileswithNone.