0.6.6 fails to start, windows 7 64bit SP1

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
lordp
Newbie
Newbie
Posts: 12
Joined: May 24th, 2011, 3:13 am

0.6.6 fails to start, windows 7 64bit SP1

Post by lordp »

Version: 0.6.6 Final
OS: Windows 7 64bit SP1
Install-type: Windows Installer
Skin (if applicable): Default
Firewall Software: NOD32
Are you using IPV6? no
Is the issue reproducible? yes

The first startup as part of the install wizard works (with default options like opening a browser on start up etc), but any subsequent attempts fail.

I get an alert box saying errors occurred, and to look at a log file for details. However, that log file doesn't exist, perhaps because it's not getting far enough.

Running the "Safe Mode" variant does the same thing. Running the "Console" version in a command prompt gives me this

Code: Select all

Traceback (most recent call last):
  File "SABnzbd.py", line 74, in <module>
ImportError: No module named panic
Running the normal executable as an administrator does work, so I'm thinking it's a permissions issue of some kind, and why the first run works.

I also tried running it with -b0 and -b1 to no avail. I've also tried re-installing it a few times, including turning off the 'open browser window'.

Hopefully that's enough information, but please ask me any questions or to test stuff if required.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by shypike »

The error message suggests that somehow your installation of SABnzbd is damaged.
Or that you have an overzealous virus-scanner.
Which one do you use?
lordp
Newbie
Newbie
Posts: 12
Joined: May 24th, 2011, 3:13 am

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by lordp »

NOD32 - but it's not interjecting with warnings or errors.

I put in an exclusion for the entire directory, but got the same error. Disabling protection completely also had no effect.
lordp
Newbie
Newbie
Posts: 12
Joined: May 24th, 2011, 3:13 am

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by lordp »

I've got Python 2.7 installed - is it possible that it's interfering?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by shypike »

lordp wrote:I've got Python 2.7 installed - is it possible that it's interfering?
Highly unlikely.
My development system runs Python 2.7 too and it has no problems running the Python 2.5 based binaries.

Look in SABnzbd program folder.
In the sub folder "lib" there's a ZIP file called sabnzbd.zip and it should contain sabnzbd\panic.pyo.
Are these elements all present?
lordp
Newbie
Newbie
Posts: 12
Joined: May 24th, 2011, 3:13 am

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by lordp »

I have the lib directory, sabnzbd.zip but no sabnzbd/panic.pyo

I downloaded the installer from a different SourceForge mirror, and that was missing the file as well, but, the Windows binary download does have the panic.pyo file.

Copied the contents over the installer version, and it started up just fine as a normal user.

So it looks like the installer version has missing files - it doesn't really explain why it worked when run as an administrator though.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by shypike »

sabnzbd\panic.py is inside the sabnzbd.zip file.

The file on SourceForge itself is OK, sometimes mirrors deliver incomplete files.
If you know how to do md5 checksums you can verify the file against the checksum,
listed on the SourceForge page.
The installer should have an md5 of: 78c87ca57ae0aa581c15611129c0b1b6
lordp
Newbie
Newbie
Posts: 12
Joined: May 24th, 2011, 3:13 am

Re: 0.6.6 fails to start, windows 7 64bit SP1

Post by lordp »

I did an md5sum on the original installer I downloaded, a fresh one and one from a different mirror (voxel vs superb-sea2) and they all matched the one you've posted.

I used 7-zip to extract the files from the installer and the sabnzbd\panic.pyo file is there.
Tried a complete uninstall/reinstall run, and made a copy of the sabnzbd.zip file to see if it changed from installation to first run, and nothing. Running as a normal user works perfectly.

Tried another reinstall, choosing not to start it up after the installation, made a copy of the entire directory, and nothing again.

Removed the exclusion in NOD32 and did yet another reinstall, and again nothing. I'm giving up, I was sure I had a reproducible bug, but it's abandoned me.

I can only think that I did something subtly different for those first few installs (or someone is messing with me </paranoid>).

I might give it another go tomorrow if it's still bugging me - thanks for the help/support :)
Post Reply