Page 1 of 1

Upgrade to 0.7.4 from 0.7.2 fails

Posted: October 13th, 2012, 12:56 pm
by ljw1
When upgrading from 0.7.2 to 0.7.4 or 0.7.3 upon restarting SABnzbd the following is output. Any ideas how to fix it?


Traceback (most recent call last):
File "/opt/SABnzbd/SABnzbd.py", line 65, in <module>
import sabnzbd
File "/opt/SABnzbd/sabnzbd/__init__.py", line 18, in <module>
from sabnzbd.version import __version__, __baseline__
File "/opt/SABnzbd/sabnzbd/sabnzbd/__init__.py", line 73, in <module>
from sabnzbd.nzbqueue import NzbQueue
File "/opt/SABnzbd/sabnzbd/nzbqueue.py", line 29, in <module>
from sabnzbd.nzbstuff import NzbObject
File "/opt/SABnzbd/sabnzbd/sabnzbd/nzbstuff.py", line 41, in <module>
from sabnzbd.misc import to_units, cat_to_opts, cat_convert, sanitize_foldername, \
File "/opt/SABnzbd/sabnzbd/misc.py", line 44, in <module>
import sabnzbd.cfg as cfg
File "/opt/SABnzbd/sabnzbd/sabnzbd/cfg.py", line 24, in <module>
from sabnzbd.constants import DEF_HOST, DEF_PORT_WIN_SSL, DEF_PORT_WIN, DEF_STDINTF, \
ImportError: cannot import name NOTIFY_KEYS

Re: Upgrade to 0.7.4 from 0.7.2 fails

Posted: October 13th, 2012, 1:43 pm
by shypike
You probably need to blame the one you got your package from.
How did you install SABnzbd ?

Re: Upgrade to 0.7.4 from 0.7.2 fails

Posted: October 14th, 2012, 11:58 pm
by ljw1
Copied the expanded source file directly from sourceforge, so no package. The weird thing is that both versions fail.

Re: Upgrade to 0.7.4 from 0.7.2 fails

Posted: October 15th, 2012, 10:49 am
by shypike
You have moved files, since the tar.gz file contains a versioned base folder.
The folder hierarchy of the tar.gz must be maintained, else SABnzbd won't run.
You can rename the base folder, but not separate the sub-folders.