Python 2.5 or 2.6?

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
tctopcattc
Newbie
Newbie
Posts: 2
Joined: March 14th, 2010, 8:14 pm

Python 2.5 or 2.6?

Post by tctopcattc »

Hi,

I am running SABnzbd on a DNS-323 and have just upgraded to 0.5 after running 0.4 for a long time and am having a couple of problems. When I execute SABnzbd using Python2.5 I get an error:

/opt/bin/python2.5: Can't resolve symbol 'PyUnicode_FromFormat'

Alternately if I execute SABnzbd using Python2.6 it starts ok, but after a little while the download just stops (0kbs). It is not paused it just stops downloading. Nothing gets logged, pausing and resuming still results in 0kbs. There are no connections open. I have tried both SSL and regular connections with the same result. If I stop SABnzbd and then restart it the download starts again for a while before stopping.

So should I be using python25_2.5.5-2 or python26_2.6.4-1? If I should be using 2.5 how do I get rid of the symbol problem above?

Any assistance would be greatly appreciated.

Thanks,
TC
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Python 2.5 or 2.6?

Post by shypike »

SABnzbd depends entirely on the quality of the Python implementation.
It should work on Python 2.4, 2.5 and 2.6.
The 2.5 error that you get just means somebody has done a lousy
job in porting Python to the DNS.
We test mostly with 2.6 on Windows, Linux and OSX.

We do not (and cannot) support embedded systems like the DNS.
It may work, but if it doesn't we can do little more than give some tips.
The cause could be anywhere: Python, PyOpenSSL, etc.
tctopcattc
Newbie
Newbie
Posts: 2
Joined: March 14th, 2010, 8:14 pm

Re: Python 2.5 or 2.6?

Post by tctopcattc »

Thanks for the response. I was not thinking that it was a problem with SABnzbd, I was just wondering what version of Python most people were using.

I also thought that maybe the symbol problem in 2.5 may have been due to something I have not installed.

I might just have to go back to SABnzbd 0.4. Shame because I really like the changes to the queue management.

Anyway thanks for the help,
TC
mindpower
Newbie
Newbie
Posts: 1
Joined: December 5th, 2010, 10:41 am

Re: Python 2.5 or 2.6?

Post by mindpower »

I had it all running well on my DNS-323 until I thought I'm smart and updated all my packages with ipkg upgrade.

Now I have the same problem. It does not seem to make a difference which sabnzbd version I'm trying.

Apparently the earlier version of python 2.5 I had on the box did not have this problem, this "newest" does.

Anybody got an idea how to downgrade the python or get a ARM compiled version of 2.6 for DNS-323?
DingHo
Newbie
Newbie
Posts: 10
Joined: October 1st, 2010, 4:15 am

Re: Python 2.5 or 2.6?

Post by DingHo »

Is there a non-Dutch guide to getting sabnzbd installed on the DNS-323?
Post Reply