Page 1 of 1

RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 5:19 pm
by DrNo
I got a questions about getting sabnzbd 0.50rc3 working on WinXP.  Whenever I run the executable, nothing happens.  The program does not execute and, of course, task manager does not show it.  When I run the console it gives me the following complaint, "Sorry, requires Python module sqlite3 (pysqlite2 in python2.4)."

I had no problems getting 0.4.12 working, but I'd like to get 0.5rc3 working instead.  Any suggestions?

Re: RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 5:36 pm
by inpheaux
Just saw this reported on IRC. Which install method did you use? Source? The installer? The binary zip?

Re: RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 6:34 pm
by DrNo
I used the installer for both the 0.4.12 final and 0.5rc3 versions, and only 0.4.12 seemed to install correctly.

I've tried to do a clean install of 0.5rc3 and also a upgrade install from 0.4.12 to 0.5rc3, both resulting in the same error message.

Re: RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 6:55 pm
by WillowD
I installed v0.50rc3 on my WinXP Pro SP3 system today and it's working perfectly. This the first time any version of SABnzbd was installed on my system. So, obviously a clean install works. Perhaps this python file was installed by some other package on my system? Or perhaps something weird happened on yours?

Re: RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 6:56 pm
by WillowD
Oh, yes. I used the installer version.

Re: RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 8:48 pm
by DrNo
WillowD wrote:Perhaps this python file was installed by some other package on my system?
I've tried the install package on two different systems and on one virtual machine with no luck.  One of my systems has Python 2.6 and 3.1 installed too.  Strage stuff.

Re: RC3 - Not loading in Windows XP

Posted: January 22nd, 2010, 8:59 pm
by DrNo
I got it working by downloading the sqlite3.dll from sqlite.org and replacing the one that came with the sabnzbd install directory (SABnzbd\lib).

Re: RC3 - Not loading in Windows XP

Posted: January 23rd, 2010, 6:22 am
by shypike
The most likely cause is that your system has a version of Python installed
and that the system search path includes the DLLs from that Python.
This could confuse SABnzbd's runtime system.
I think you should make sure that sqlite3.dll isn't found via the PATH environment variable.

However, I have never seen this on my own systems that contain multiple Python versions.

Re: RC3 - Not loading in Windows XP

Posted: January 24th, 2010, 11:49 am
by DrNo
If it was ignoring the dll to begin with then that wouldn't explain why replacing the dll in the sabnzbd/lib dir would fix the issue.

Anyways, I checked my user and system paths and uninstalled any python installs that I had.  Not sure what the issue was, but I'm glad to have gotten it working.

Re: RC3 - Not loading in Windows XP

Posted: January 24th, 2010, 12:15 pm
by shypike
Very weird.
We'll tackle this problem too, but not for 0.5.0 Final.
I must first find out why it helps to replace the DLL.