Upgrade to 0.7.4 from 0.7.2 fails

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
ljw1
Newbie
Newbie
Posts: 11
Joined: July 12th, 2011, 3:54 pm

Upgrade to 0.7.4 from 0.7.2 fails

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Upgrade to 0.7.4 from 0.7.2 fails

Post by shypike »

You probably need to blame the one you got your package from.
How did you install SABnzbd ?
ljw1
Newbie
Newbie
Posts: 11
Joined: July 12th, 2011, 3:54 pm

Re: Upgrade to 0.7.4 from 0.7.2 fails

Post by ljw1 »

Copied the expanded source file directly from sourceforge, so no package. The weird thing is that both versions fail.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Upgrade to 0.7.4 from 0.7.2 fails

Post 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.
Post Reply