[0.6] Unable to load working sabnzbd.ini
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LottaNZB |
Fix Released
|
High
|
Severin H |
Bug Description
Nothing shown in the lottanzb interface or log, but command line shows the following on startup (fresh install, first run - never used hellanzb):
$ lottanzb
13:56:27 lottanzb.core Starting LottaNZB 0.6...
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
dialog = self._component
File "/usr/lib/
component = component_
File "/usr/lib/
MainDelegat
File "/usr/lib/
MainDelegat
File "/usr/lib/
self.
File "/usr/lib/
view = self._component
File "/usr/lib/
component = component_
File "/usr/lib/
self._session = self._component
File "/usr/lib/
component = component_
File "/usr/lib/
self.
File "/usr/lib/
sabnzbd.
File "/usr/lib/
self.
File "/usr/lib/
raise error
lottanzb.
First 10 lines of the ini are attached to this report. Obviously, sabnzbd doesn't have a problem with it. Should you need the whole thing, let me know.
Ubuntu lucid, Lottanzb 0.6~bzr1282~
Changed in lottanzb: | |
status: | Triaged → Fix Committed |
Changed in lottanzb: | |
status: | Fix Committed → Fix Released |
Hi jcfp,
thanks alot for reporting this bug! This is exactly the kind of bug that I wouldn't be able to catch on by own as I wrote the configuration system in such a way that it's capable of loading and saving configuration files that have the same format as such files created by SABnzbd from scratch. Obviously, it doesn't cover all valid ConfigObj formats. I'll fix it this weekend.
The reason why LottaNZB doesn't use ConfigObj is that it uses the configuration code for loading, changing and storing local LottaNZB, HellaNZB and SABnzbd files altogether as well as remote SABnzbd configurations. It's quite sophisticated, but has probably become too complex. Locally, SABnzbd's configuration file is only loaded to silently get the correct connection information and is created if no configuration file exists yet.
Regards,
Severin