BenjV / autosub

35 stars 8 forks source link

RootPath error when using username and password in Web config #33

Closed Tjiet closed 6 years ago

Tjiet commented 6 years ago

When a username and password is defined in the config, autosub starts with an error:

AutoSub: Initializing variables and loading config AutoSub: Starting output to log. Bye! Traceback (most recent call last): File "AutoSub.py", line 132, in exit(main()) File "AutoSub.py", line 129, in main autosub.Scheduler.start() File "/var/AutoSub/autosub/Scheduler.py", line 157, in start StartCherrypy() File "/var/AutoSub/autosub/Scheduler.py", line 113, in StartCherrypy 'tools.staticdir.root': RootPath, UnboundLocalError: local variable 'RootPath' referenced before assignment

If the username and password are removed from the config.properties it starts ok.

Build 1.2.18

BenjV commented 6 years ago

Sorry a mistake in the indent of an if statement I shall correct it amd release a new version today.

Thanks for informing me of this.

Tjiet commented 6 years ago
    Thx, let me know when it is released

On Mon, Mar 5, 2018 at 10:41 AM +0100, "BenjV" notifications@github.com wrote:

Sorry a mistake in the indent of an if statement

I shall correct it amd release a new version today.

Thanks for informing me of this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

BenjV commented 6 years ago

New version (1.2.19) is release where this is fixed.

Tjiet commented 6 years ago

I can confirm that it works again ! great work !