SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

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.
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

Hello,

I installed version 0.5.6 on my Synology DS110j network device.
As I tried to add a server with ipv6 connection ( reader.ipv6.xsnews.nl ) I got the error NoneType' object is unsubscriptable'.
Adding a ipv4 server works like intended.

I checked my ipv6 connection twice and it said it was running correctly.

Any adwise on this?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by shypike »

Hard to tell.
Does actual downloading over ipv6 work properly?
The "None Type" error was resolved in a previous version,
at least when tested for ipv4. It only affected the server test itself.
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

I downloaded over ipv6 with the same server, using the integrated download manager off my DS110j, worked like intended.

Adding ipv4 Server and downloading in SABnzbd+ works also.

I tried to use the ipv6 ip instead of the hostname but I got the same error.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by shypike »

I assumed you got the error when using the server test button (that used to be a problem).
So downloading (not testing) doesn't work either?
ipv6 is supported, provided the Python implementation for your platform supports it properly too.
I'll do an ipv6 test, but it's not done often because it's quite a hassle to test for us.
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

You are right, as I clicked the testbutton i got the error.

I tried again to add the server without clicking the button and just adding it.

It tells me:

Wrong parameter
The server address reader.ipv6.xsnews.nl is invalid.

And as I wrote earlier, I added exactly that server to the integrated download manager of the device. With that settings I was able to download a file without SABnzbd+.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by shypike »

What happens if you start the Python program from a terminal and you type in these statements?

import socket
socket.getaddrinfo("reader.ipv6.xsnews.nl", 119, socket.AF_INET6, socket.SOCK_STREAM, socket.IPPROTO_IP, socket.AI_CANONNAME)

You should see something like this:
[(30, 1, 6, 'reader.ipv6.xsnews.nl', ('2001:67c:174:101::3', 119, 0, 0)), (30, 1, 6, 'reader.ipv6.xsnews.nl', ('2001:67c:174:101::4', 119, 0, 0)), (30, 1, 6, 'reader.ipv6.xsnews.nl', ('2001:67c:174:101::5', 119, 0, 0)), (30, 1, 6, 'reader.ipv6.xsnews.nl', ('2001:67c:174:101::2', 119, 0, 0))]
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

python
Python 2.5.5 (r255:77872, May 13 2010, 22:27:01)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import socket

>>> socket.getaddrinfo("reader.ipv6.xsnews.nl", 119, socket.AF_INET6, socket.SOCK_STREAM, socket.IPPROTO_IP, socket.AI_CANONNAME)

Traceback (most recent call last):  File "", line 1, in socket.gaierror: (5, 'ai_family not supported.')
>>>

Tried to add some other ipv6 servers and got the same error.
Looks like a ipv6 problem, or am I wrong?
Last edited by Hyper1on on December 4th, 2010, 5:06 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by shypike »

This means that the Python on your system does not support IPv6.
See if you can find a better one.
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

I upgraded to Python 3.1.3 and tried again.

Same error als before. Even testing the socket import gives the same error.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by sander »

What's the OS/firmware version you're running on your Synology? You seem to need at least "DSM 3.0-1334 (2010/09/20)"
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

The DS is running DSM 3.0-1354 newest release.

I would like to upload a screenshot of my networksettings, but the uploadfolder seems to be full.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by sander »

What's the output of 'ifconfig' on your Synology?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

Code: Select all

 ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:32:07:F4:49
          inet addr:192.168.1.150  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:32ff:fe07:f449/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:39475 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29193 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:26379321 (25.1 MiB)  TX bytes:8672138 (8.2 MiB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:1500  Metric:1
          RX packets:1178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:112292 (109.6 KiB)  TX bytes:112292 (109.6 KiB)

tun       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                                                                                                 -00
          inet6 addr: 2001:c08:3700:ffff::1f:b8c0/128 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1280  Metric:1
          RX packets:419 errors:0 dropped:0 overruns:0 frame:0
          TX packets:413 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:23544 (22.9 KiB)  TX bytes:23128 (22.5 KiB)
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by sander »

Aha.

The good news: there are local IPv6 addresses (fe80:...), so the OS on the Synology does understand IPv6

The bad news: there are only local IPv6 address (fe80:..), so you have no connectivity to the outside IPv6 world and thus no connectivity to newszilla6.xs4all.nl etc

I believe Synology offers a built-in IPv6 tunnel, so useful to get that working first.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Hyper1on
Newbie
Newbie
Posts: 9
Joined: December 3rd, 2010, 12:10 am

Re: SABnzbd+ 0.5.6 mit 'NoneType' object is unsubscriptable in Synology DS110j

Post by Hyper1on »

Well, the build in tunnel works!

I connected to gogo6 ipv6 tunnel over the build in tunnel.
With this I was able to download from reader.ipv6.xsnews.nl after I added my reader.ipv6.xsnews.nl logindata to the build in downloadmanager, so i thought SABnzbd would work.
Post Reply