Page 1 of 1

SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Posted: June 15th, 2010, 4:04 am
by ghostcorps
Hi All

I have decided to move to 0.5.2, but with little success so far...

When I run:

Code: Select all

#python SABnzbd.py -d -s DOMAIN:PORT
I get:

Code: Select all

Sorry, requires Python module sqlite3 (pysqlite2 in python2.4)
Try: apt-get install python-pysqlite2
Eventhough it is clearly installed:

Code: Select all

# pkg_info | grep py25-sqlite3
py25-sqlite3-2.5.1_1 Standard Python binding to the SQLite3 library

I am guessing it is something to do with the directory structure. If that is the case, can anyone advise which file needs a symlink and where?

Thanks in advance :)

Re: Cannot find py25-sqlite3 on Freebsd 7

Posted: June 15th, 2010, 5:57 pm
by ghostcorps
Hello again,

Just a quick update.

I have confirmed that sqlite3 had been installed into python correctly via

Code: Select all

>>help('modules')

Re: SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Posted: June 17th, 2010, 8:40 am
by ghostcorps
Hello again, I still havn't made any headway with this... perhaps someone might be able to suggest a better place to ask?

It all seems pretty simple, the script calls sqlite3 but can not see a response, and yet I can call sqlite3 manually with Python. At first glance it would suggest a problem with SABnzbd itself, but obviously that isn't the case or no one would have gotten this far.

I'm kind of shocked that I am the only person trying to run v0.5.2 on Freebsd though.

Re: SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Posted: June 17th, 2010, 1:21 pm
by sanqui
I had the same issue, running FreeBSD 7.2 after I upgraded all my ports, "portupgrade -ai".

It appears during the port upgrade process, "py26-sqlite3" was removed.

I ran "pkg_add -r py26-sqlite3" to reinstall the package.

SABnzbd now starts fine.

pkg_info | grep "py26-sqlite3"
py26-sqlite3-2.6.4_1 Standard Python binding to the SQLite3 library

I wonder if your issue is with the version of your package installed: "py25-sqlite3"?

Your post actually helped me resolve my issue.

I ran python and then ran "help('modules') and it listed "sqlite3".
When I attempted to run "help('sqlite3') the message I receive mentioned something about no listing for "_sqlite3".

Now when I run "help('sqlite3')", it returns something similar to a "man" page for sqlite3.

Not sure if this helps you or not.

Re: SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Posted: June 17th, 2010, 7:34 pm
by ghostcorps
Thanks for the suggestion :)

It isn't going quite as smoothly for me as it did for yourself. 7.0 doesn't seem compatible with Python26 2.6.5, so I'm upgrading to 7.2 to see if that works. This may take a while...

I'm glad that the  "help('modules')  helped you out :)


I'll be back when I have some results.. one way or the other  lol


Thanks again