0.5.4 Synology IPv6 servers add error
Forum rules
Help us help you:
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.
0.5.4 Synology IPv6 servers add error
Hi,
I'm using a Synology DS209 with DSM3.0 with SabNZBD 0.5.4. When I try to setup a IPv6 newsserver and fill in the server name etc and then click Test server, I'm getting the following error message:
'NoneType' object is unsubscriptable
When I click on Add then I'm getting a blank page.
The Synology has i IPv6 tunnel and nameresolving is ok with commandline.
Also tried changing my sab.ini and add the servers, but then the servers are in the list, but cannot download from them.
Can anybody help me pls? JUst to try you can use the IPv6 server:
newszilla6.xs4all.nl (no username and password needed)
Thanks for your help.
Bye,
Roel
I'm using a Synology DS209 with DSM3.0 with SabNZBD 0.5.4. When I try to setup a IPv6 newsserver and fill in the server name etc and then click Test server, I'm getting the following error message:
'NoneType' object is unsubscriptable
When I click on Add then I'm getting a blank page.
The Synology has i IPv6 tunnel and nameresolving is ok with commandline.
Also tried changing my sab.ini and add the servers, but then the servers are in the list, but cannot download from them.
Can anybody help me pls? JUst to try you can use the IPv6 server:
newszilla6.xs4all.nl (no username and password needed)
Thanks for your help.
Bye,
Roel
Re: 0.5.4 Synology IPv6 servers add error
Likely some problem in the Python runtime library for your box.
Have you tried the ipv6 numerical IP address?
Have you tried the ipv6 numerical IP address?
Re: 0.5.4 Synology IPv6 servers add error
Hi yeah I also tried adding the IPv6 address in sab.ini and also via webgui..
Re: 0.5.4 Synology IPv6 servers add error
Anyone any idea?
Re: 0.5.4 Synology IPv6 servers add error
It works OK on Ubuntu with an AICCU ipv6 tunnel (sixxs).
That's all I can test.
That's all I can test.
Re: 0.5.4 Synology IPv6 servers add error
Does the python on the Synology support IPv6? Test like this:
If that works, do some more testing:
Please post the complete output, so that we see the python version too.
Code: Select all
sander@quirinius:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> print socket.has_ipv6
True
>>>
If that works, do some more testing:
Code: Select all
>>> print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
[(2, 1, 6, '', ('82.94.164.162', 80)), (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]
>>> print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)
[(10, 1, 6, '', ('2001:888:0:18::119', 80, 0, 0))]
>>>
Last edited by sander on September 28th, 2010, 12:01 pm, edited 1 time in total.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.5.4 Synology IPv6 servers add error
sander wrote: Does the python on the Synology support IPv6? Test like this:
Code: Select all
sander@quirinius:~$ python Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> print socket.has_ipv6 True >>>
If that works, do some more testing:
Please post the complete output, so that we see the python version too.Code: Select all
>>> print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP) [(2, 1, 6, '', ('82.94.164.162', 80)), (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))] >>> print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP) [(10, 1, 6, '', ('2001:888:0:18::119', 80, 0, 0))] >>>
I cannot do both. I see in the directories that it is Python 2.5..
Re: 0.5.4 Synology IPv6 servers add error
So, you mean you can't start python at all on the Synology? If so ... too bad. I can't help you any further then.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.5.4 Synology IPv6 servers add error
I don't think so.. It is part of the package. But I must admit that I'm not a Unix pro, so I don't know how to start python on the Synology..sander wrote: So, you mean you can't start python at all on the Synology? If so ... too bad. I can't help you any further then.
I tried your commands in the directory of Python2.5 but no result..
Re: 0.5.4 Synology IPv6 servers add error
Can you successfully 'telnet' and/or 'ssh' (with putty) to teh Synology?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.5.4 Synology IPv6 servers add error
Sure. From there I see that the Python directory is in the sabnzbd directory.sander wrote: Can you successfully 'telnet' and/or 'ssh' (with putty) to teh Synology?
I'm not very experience with Unix, but I'm a network professional, so I have some knowledge about Unix etc..
Re: 0.5.4 Synology IPv6 servers add error
Go to the directory ("cd ...") that contains the python executable, and type "./python". Does that start python?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.5.4 Synology IPv6 servers add error
sander wrote: Go to the directory ("cd ...") that contains the python executable, and type "./python". Does that start python?
Yep. That did the trick

EyerulesNAS> ./python
Python 2.5.4 (r254:67916, Jan 31 2010, 16:34:06)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Re: 0.5.4 Synology IPv6 servers add error
sander wrote: Does the python on the Synology support IPv6? Test like this:
Code: Select all
sander@quirinius:~$ python Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> print socket.has_ipv6 True >>>
If that works, do some more testing:
Please post the complete output, so that we see the python version too.Code: Select all
>>> print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP) [(2, 1, 6, '', ('82.94.164.162', 80)), (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))] >>> print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP) [(10, 1, 6, '', ('2001:888:0:18::119', 80, 0, 0))] >>>
>>> print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
[(2, 1, 6, '', ('82.94.164.162', 80)), (10, 1, 6, '',Traceback (most recent call
last):
File "", line 1, in
NameError: name 'socket' is not defined
>>> ('2001:888:2000:d::a2', 80, 0, 0))]
[(2, 1, 6, '', ('82.94.164.162', 80)), (10, 1, 6, '', ('2001:888:2000:d::a2', 80
, 0, 0))]
>>> print socket
Re: 0.5.4 Synology IPv6 servers add error
Good that you found & could start python. However, I think you don't yet type the correct commands. So, after starting up python, type (or even better: copy & paste) these commands within python:
Copy & paste the full output here back in this forum.
Code: Select all
print socket.has_ipv6
import socket
print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate