Remote front-end mode is not saved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LottaNZB |
Fix Released
|
Medium
|
LottaNZB Development Team |
Bug Description
Concerning the question I had last week (https:/
I want to use LottaNzb in remote front-end mode by default. But every time I open it, it assumes I would like to use local front-end mode and asks me for the missing HellaNZB config file. After manually choosing remote connection, everything works the right way.
The problem seems to have something to do with saving preferences. Here is my config file after closing from remote front-end mode:
<lottaprefs>
The connection details for remote mode are saved perfectly. I tried to change "<remote>
Here is my logging output without manual changes to the config file:
INFO Starting LottaNZB 0.3.1 using Python 2.5.2.
ERROR Could not enter usage mode 'Local front-end mode'.
ERROR The specified HellaNZB configuration file doesn't exist.
INFO Connected to the HellaNZB daemon at ****:8760.
INFO Set usage mode to 'Remote front-end mode'.
INFO Left usage mode 'Remote front-end mode'.
Changed in lottanzb: | |
status: | Fix Committed → Fix Released |
Hi Tim,
thanks for filing the bug report. Thanks to your detailed description of the problem I could quickly locate the bug in LottaNZB's source code. It's an obvious mistake actually. The method that saves the remote connection settings contains the following lines of code:
})
Obviously, "False" should be "True" here. The whole related code has been rewritten during the past months so that this bug shouldn't exist anymore in the upcoming 0.4 version of LottaNZB. I'm not sure if this bug is worth to be fixed in a separate 0.3.2 version though.
If you're feeling adventurous (since you're running a Gentoo machine, this is most probably the case ;-)), you can manually fix this bug by editing the file /usr/lib/ python2. 5/site- packages/ lottanzb/ modes.py.
Regards,
Severin