Zeronet: Unhandled exception: 'Config' object has no attribute 'trackers_file'

Created on 25 Sep 2018  路  5Comments  路  Source: HelloZeroNet/ZeroNet

Step 1: Please describe your environment

  • ZeroNet version: 0.6.3 (Rev3612)
  • Operating system: Ubuntu 18.04
  • Web browser: Firefox
  • Tor status: disabled
  • Opened port: yes
  • Special configuration: None

    Step 2: Describe the problem:

I am trying to sign a site but it failed with an "Unhandled exception" message.

Steps to reproduce:

  1. Try to signSite :
python zeronet.py signSite 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Observed Results:

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'

Expected Results:

We expect the site to be signed.

bug

Most helpful comment

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.

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BenMcLean picture BenMcLean  路  3Comments

sergei-bondarenko picture sergei-bondarenko  路  3Comments

ghost picture ghost  路  4Comments

blurHY picture blurHY  路  3Comments

sermont picture sermont  路  3Comments