SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Get help with all aspects of 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
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Post 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 :)
Last edited by ghostcorps on June 15th, 2010, 6:13 pm, edited 1 time in total.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: Cannot find py25-sqlite3 on Freebsd 7

Post 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')
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Post 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.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
sanqui
Newbie
Newbie
Posts: 1
Joined: September 25th, 2008, 4:57 pm

Re: SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Post 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.
Last edited by sanqui on June 17th, 2010, 1:25 pm, edited 1 time in total.
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: SABnzbd 0.5.2 cannot find sqlite3 on Freebsd 7

Post 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
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
Post Reply