Upgrade Error

Get help with all aspects of 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
pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Upgrade Error

Post by pspgimp »

Have SABnzbd running on my QNAP SAN running fine for ages, decided today to upgrade to the latest version, copied the files over the top of the exisiting install as the readme tells you to, not when I start in my QNAP SABnzbd does not start, running "python sabnzbd.py" from command line I get the following errors.

Traceback (most recent call last):
  File "sabnzbd.py", line 63, in
    import sabnzbd
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/__init__.py", line 66, in
    import sabnzbd.nzbqueue as nzbqueue
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/nzbqueue.py", line 37, in
    import sabnzbd.assembler
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/assembler.py", line 40, in
    import sabnzbd.postproc
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/postproc.py", line 41, in
    import sabnzbd.emailer as emailer
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/emailer.py", line 212, in
    from email.message import Message
ImportError: No module named message

If I run from a tempory location elsewhere on the SAN it seems to fire up no problem, but really need to get it running from the .qpkg install location as it was before, and therefore it will get started by the QNAP automitically as it did.

Any help on what the traceback means would  be helpful.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Upgrade Error

Post by shypike »

You might want to read this first:
https://forums.sabnzbd.org/index.php?topic=4266.0
pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: Upgrade Error

Post by pspgimp »

Right, but I am running Python 2.5.2  :D

Also I am running the same command to launch a tempory copy of the 0.5.2 download and that is firing up with my config/history/settings in it all fine, so why is my old install not able to fire up, it just does not make sense.
PSPgimp
pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: Upgrade Error

Post by pspgimp »

shypike wrote: You might want to read this first:
https://forums.sabnzbd.org/index.php?topic=4266.0
Just so you don't think I was ignoring your idea of trying the emailer.py for Python 2.4, I tried it and got a similar traceback

Traceback (most recent call last):
  File "sabnzbd.py", line 63, in
    import sabnzbd
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/__init__.py", line 66, in
    import sabnzbd.nzbqueue as nzbqueue
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/nzbqueue.py", line 37, in
    import sabnzbd.assembler
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/assembler.py", line 40, in
    import sabnzbd.postproc
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/postproc.py", line 41, in
    import sabnzbd.emailer as emailer
  File "/share/MD0_DATA/.qpkg/SABnzbd+/sabnzbd/emailer.py", line 217, in
    from email.Message import Message
ImportError: No module named Message

So as I said before, I am running this from the location I downloaded it to, before copying it over the SABnzbd+ install and it is working fine with all my settings/queue/history, everything, but I want it to run from the correct location, but I just keep getting this email.

Can you help ?

PSPgimp
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Upgrade Error

Post by shypike »

Did you overwrite the old installation?
If so, remove the old file email.py.
We had to rename it to emailer.py, because it obscured Python's standard module.
pspgimp
Newbie
Newbie
Posts: 44
Joined: October 17th, 2009, 5:05 am

Re: Upgrade Error

Post by pspgimp »

shypike wrote: Did you overwrite the old installation?
If so, remove the old file email.py.
We had to rename it to emailer.py, because it obscured Python's standard module.
Yes, I overwrote my existing installation, as per your readme, which maybe you ought to change, which says :-

*******************************************
*** Upgrading from 0.5.x                ***
*******************************************
Stop SABnzbd.
Install new version over the old one
Start SABnzbd.

Just incase anyone else is having the same issue, I deleted my sabnzbd folder (the one inside SABnzbd+) and replaced it with the new versions sabnzbd and everything worked fine.

All back and running, and starting from my Qnap control panel now, and on boot.

Thanks


PSPgimp
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Upgrade Error

Post by shypike »

That remark is only valid for users of the Windows and OSX binaries :(
Sorry.
Post Reply