Page 1 of 1

adding nzbs.org nzb to queue problems

Posted: January 18th, 2011, 6:41 am
by mzaz
Version: 0.5.6
OS: ubuntu 10.10
Install-type: sabnzbdplus through apt-get and source
Skin:
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes

Hello,

I have a newly installed sabnzbd. I originally installed it from apt-get but since running into this problem, I tried running from source (all the way back to .5.3 through 0.5.6) and I get the same result.

When I send a report to sabnzbd from sabconnect++, I see the following in my queue (nzbid, userid and hash obviously X'd out):

index.php!action=getnzb&nzbid=XXXXXX&i=XXXXX&h=XXXXXXXXXXXXXXXXXXXXX

I see the following in the logs (I have debug turned on):

2011-01-18 04:29:48,752::INFO::[__init__:380] Fetching http://nzbs.org/index.php?action=getnzb ... XXXXXXXXXX
2011-01-18 04:29:48,758::INFO::[nzbqueue:92] Saving queue
2011-01-18 04:29:48,759::DEBUG::[__init__:649] Saving data for SABnzbd_nzo_2mbLpy in /Downloads/cache/SABnzbd_nzo_2mbLpy
2011-01-18 04:29:48,763::DEBUG::[__init__:649] Saving data for queue9.sab in /Downloads/cache/queue9.sab
2011-01-18 04:29:48,770::INFO::[urlgrabber:126] Grabbing URL http://nzbs.org/index.php?action=getnzb ... XXXXXXXXXX
2011-01-18 04:29:49,253::INFO::[__init__:433] Backing up index.php!action=getnzb&nzbid=XXXXXX&i=XXXXX&h=XXXXXXXXXXXXXXXXXX.nzb.gz
2011-01-18 04:29:49,257::INFO::[nzbqueue:92] Saving queue
2011-01-18 04:29:49,258::DEBUG::[__init__:649] Saving data for SABnzbd_nzo_kTDkJQ in /Downloads/cache/SABnzbd_nzo_kTDkJQ
2011-01-18 04:29:49,262::DEBUG::[__init__:649] Saving data for SABnzbd_nzo_2mbLpy in /Downloads/cache/SABnzbd_nzo_2mbLpy
2011-01-18 04:29:49,264::DEBUG::[__init__:649] Saving data for queue9.sab in /Downloads/cache/queue9.sab
2011-01-18 04:29:49,268::INFO::[__init__:702] /Downloads/cache/SABnzbd_nzo_2mbLpy removed
2011-01-18 04:29:49,268::INFO::[nzbqueue:92] Saving queue
2011-01-18 04:29:49,269::DEBUG::[__init__:649] Saving data for SABnzbd_nzo_kTDkJQ in /Downloads/cache/SABnzbd_nzo_kTDkJQ
2011-01-18 04:29:49,272::DEBUG::[__init__:649] Saving data for queue9.sab in /Downloads/cache/queue9.sab

The file never downloads even though the URL is correct (I can manually download the file). I also noticed a problem with the nzbs.org rss feed. If I put in a feed, I get the following error returned in the browser:

Incorrect parameter
Failed to retrieve RSS from http://nzbs.org/rss.php?catid=17&i=XXXX ... XXXXX&dl=1: :21:-1: Entity 'nbsp' not defined

I have a feeling they are related but I can't put my finger on what the problem might be.

Does anyone have any ideas?

Thanks

Re: adding nzbs.org nzb to queue problems

Posted: January 18th, 2011, 10:17 am
by inpheaux
"Entity 'nbsp' not defined"
There's either a non-breaking space in the specific NZB, or with the way you're sending stuff to nzbs.org.

Re: adding nzbs.org nzb to queue problems

Posted: January 18th, 2011, 2:40 pm
by shypike
Release 0.5.6 still works properly with nzbs.org.
(However the current 0.6.x code does not.)


There is an issue with nzbs.org and SABnzbd doesn't handle it nicely.
Some reports you get from an RSS feed turn out not to exist.
Instead of an NZB, nzbs.org sends back a web page.
SABnzbd fails to see that it isn't an NZB and sends it to the queue,
where it is successfully parsed, but results in an empty job.
In release 0.5.6 this will hang in the queue until you delete it and 0.6.0 will send it directly to history.
If only these sites could agree on some standardization :(

Re: adding nzbs.org nzb to queue problems

Posted: January 18th, 2011, 10:23 pm
by mzaz
thanks for the reply guys. I was a bit dumbfounded since earlier in the day, I had my 0.5.5 install working fine from freenas and when  I switched over to ubuntu, it was broken. Looks like I'll stick to other providers.

Thanks again.

Re: adding nzbs.org nzb to queue problems

Posted: January 19th, 2011, 2:42 am
by shypike
There isn't anything wrong with nzbs.org, it's only that they report errors in a peculiar way.
And SABnzbd doesn't handle this gracefully.
BTW: release 0.5.5 and 0.5.6 are no different in this area.