Page 1 of 1

0.5.0b3 & 0.5.0b4 won't start on Ubuntu/Linux systems anymore

Posted: December 17th, 2009, 9:28 am
by bacon
Starting b3 or b4 gives the following error messages:

Code: Select all

$ sabnzbdplus 
Traceback (most recent call last):
  File "SABnzbd.py", line 67, in <module>
    from sabnzbd.misc import get_user_shellfolders, launch_a_browser, real_path, \
ImportError: cannot import name windows_variant
Especially the last line is kinda irritating on linux systems ;)

Downgrading back to 0.5.0b1 "fixes" the problem, sabnzbd then starts without any problems/errors.
BTW: I used the portable/src package of all three versions on Ubuntu 8.10.

Re: 0.5.0b3 & 0.5.0b4 won't start on Ubuntu/Linux systems anymore

Posted: December 17th, 2009, 9:48 am
by shypike
Very strange.
It looks like you have a mixture of old and new code.

Can you check the file misc.py ? It should contain the line

Code: Select all

def windows_variant():

Re: 0.5.0b3 & 0.5.0b4 won't start on Ubuntu/Linux systems anymore

Posted: December 17th, 2009, 10:19 am
by bacon
shypike wrote: It looks like you have a mixture of old and new code.
My fault ... I just checked ~/bin and it looks like I accidentially unpacked b3 and b4 into b1's dir. Thanks to your answer I unpacked b4 in it's own location and now it's working like a charm. Could have thought of this myself...
Nevermind.
Thank you!