Page 1 of 1

0.6.8 error File "SABnzbd.py", line 65, in <module>

Posted: August 14th, 2011, 4:42 am
by WARLOCK
Hi Guys,

I was succssfully running 0.6.7 and have upgrade in the past with out problems by simply extracting the new version over the older version.
However after upgrading from 0.6.7 to 6.8.0 I am getting this error.

# python SABnzbd.py -d -f /mnt/disk3/.custom/SABnzbd*/sabnzbd.ini
Traceback (most recent call last):
File "SABnzbd.py", line 65, in <module>
import sabnzbd
ImportError: No module named sabnzbd

any help appreciated ?

Re: 0.6.8 error File "SABnzbd.py", line 65, in <module>

Posted: August 14th, 2011, 4:58 am
by shypike
How did you upgrade?
It looks like the correct folder structure wasn't preserved.

Re: 0.6.8 error File "SABnzbd.py", line 65, in <module>

Posted: August 14th, 2011, 5:02 am
by WARLOCK
copy and past.

0.6.7 was in a folder SABnzbd and I extracted 0.6.8 and cpoied and replaced all the files from 0.6.8 into the SABnzdb.
I also tried running a 0.6.8 as a new install and get the same error, so i.e extracted the tar file and tried to run python SABnzbd.py -d -f sabnzbd.ini with the same error.

Re: 0.6.8 error File "SABnzbd.py", line 65, in <module>

Posted: August 14th, 2011, 8:59 am
by shypike
The folder that contains "SABnzbd.py" must contain a sub folder "sabnzbd", which contains a bunch of other ".py" files.

Re: 0.6.8 error File "SABnzbd.py", line 65, in <module>

Posted: August 14th, 2011, 10:55 am
by WARLOCK
Ok not sure what I did, but I redownloaded it and instead of copying 0.6.8 over 0.6.7 I just copied the sabnzbd.ini from 0.6.7 to 0.6.8 and now it seems to start fine. Luckly my que was empty

Thanks for the help