Page 1 of 1

Python 2.5 or 2.6?

Posted: March 14th, 2010, 8:26 pm
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

Re: Python 2.5 or 2.6?

Posted: March 15th, 2010, 2:51 am
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.

Re: Python 2.5 or 2.6?

Posted: March 16th, 2010, 12:39 am
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

Re: Python 2.5 or 2.6?

Posted: December 5th, 2010, 10:43 am
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?

Re: Python 2.5 or 2.6?

Posted: February 22nd, 2011, 6:44 am
by DingHo
Is there a non-Dutch guide to getting sabnzbd installed on the DNS-323?