0.5.4 Synology IPv6 servers add error

Report & discuss bugs found in 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.
eyerule
Newbie
Newbie
Posts: 11
Joined: September 24th, 2010, 7:58 am

Re: 0.5.4 Synology IPv6 servers add error

Post by eyerule »

sander wrote: 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:

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)

Copy & paste the full output here back in this forum.
Firstly, thanks for your support!

The first command is not working:
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.
>>> print socket.has_ipv6
Traceback (most recent call last):
 File "", line 1, in
NameError: name 'socket' is not defined

Second commands:
>>> 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)>>> [(2, 1, 6, '', ('82.94.164.162', 80))]
>>>
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.
>>> 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)
>>> [(2, 1, 6, '', ('82.94.164.162', 80))]
>>> Traceback (most recent call last):
  File "", line 1, in
socket.gaierror: (4, 'non-recoverable failure in name resolution.'
Last edited by eyerule on September 30th, 2010, 4:49 am, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 0.5.4 Synology IPv6 servers add error

Post by sander »

Conclusion: your python does not support IPv6 resolution. That's not a SABnzbd thing, but a Synology / python thing, so you should ask in a Synology forum.


Remark: the "import socket" should be used as the first line; I said it wrong in my earlier post.

Code: Select all

import socket
print socket.has_ipv6
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
eyerule
Newbie
Newbie
Posts: 11
Joined: September 24th, 2010, 7:58 am

Re: 0.5.4 Synology IPv6 servers add error

Post by eyerule »

sander wrote: Conclusion: your python does not support IPv6 resolution. That's not a SABnzbd thing, but a Synology / python thing, so you should ask in a Synology forum.


Remark: the "import socket" should be used as the first line; I said it wrong in my earlier post.

Code: Select all

import socket
print socket.has_ipv6
print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)
When doing that I get:
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.
>>> import socket
print socket.has_ipv6
print socket.getaddrinfo("www.python.org", 80, 0, 0, socket.SOL_TCP)
print socket.getaddrinfo("newszilla6.xs4all.nl", 80, 0, 0, socket.SOL_TCP)>>> False
>>> [(2, 1, 6, '', ('82.94.164.162', 80))]
>>>
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 0.5.4 Synology IPv6 servers add error

Post by sander »

Yep. There it is:

Code: Select all

print socket.has_ipv6
>>> False
So, your Python does not do IPv6. As said, SABnzbd cannot solve that for you. You should contact the Synology/Synology-Python-package developers/forum for that.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
eyerule
Newbie
Newbie
Posts: 11
Joined: September 24th, 2010, 7:58 am

Re: 0.5.4 Synology IPv6 servers add error

Post by eyerule »

sander wrote: Yep. There it is:

Code: Select all

print socket.has_ipv6
>>> False
So, your Python does not do IPv6. As said, SABnzbd cannot solve that for you. You should contact the Synology/Synology-Python-package developers/forum for that.
Hi, I understand. Thanks for your support. I will try to get the package with a new version of python.

Thnx!
Post Reply