Logo
Browse  |  Discovery  |  Donate  |  Forum  |  Movies  |  Upload NZB

Login  |  Register

Off Topic > sabnzbd reporting unknown filetype

Started by camrunr on 2012-12-27 16:30:16 GMT

camrunr
Contributor
Avatar
2012-12-27 16:30:16 GMT
I finally set-up ibawt's Sickbeard and it immediately started processing my backlog. Sweet!

And then I saw SAB was reporting a failure to fetch the NZB. Doh!

Unknown filetype when fetching NZB, retry after 30s...

Are there settings that I'm missing to make this work?

Thanks!
digitalsy
Member
Avatar
2012-12-27 21:06:01 GMT
I am seeing the exact same thing. It looks like it's sending the wrong URL to SAB. For instance:

When trying to download Shark Tank S02E02 Sickbeard is sending this to SAB (which results in failed NZB error):
https://nzbx.co/nzb?2552e00aa2673180ac0247f7cfa4f9ce

The NZB URL from the web is (which works if inputted manually to SAB):
https://nzbx.co/nzb?d7472462ea69761039ad8d6a8ca0909b*|*Shark.Tank.S02E02.HDTV.XviD-2HD
digitalsy
Member
Avatar
2012-12-27 21:24:24 GMT
Just tried pasting the first URL into my browser and it downloaded the nzb file. I then added that nzb file manually to sabnzbd and it downloaded the episode.

So something is not working properly with that URL in sabnzbd
digitalsy
Member
Avatar
2012-12-27 21:30:21 GMT
Using SAB 0.6.15
camrunr
Contributor
Avatar
2012-12-27 23:15:19 GMT
I'm on SAB 0.7.7 as of today. I had the same problem with 0.7.6.
camrunr
Contributor
Avatar
2012-12-27 23:41:07 GMT
Fixed it! In the sickbeard source, I changed the nzbx.py file. In the jsonToRSS function, in the for loop, I created a new var called mylink:

mylink = str(entry['nzb'] )

Right under the 'name' def. Then I changed the line that sets the xml var with a link field that uses the GUID to this:

xml += '<link>' + urllib.quote_plus(mylink) + '</link>\n'

Bingo bango, it worked.
camrunr
Contributor
Avatar
2012-12-27 23:42:40 GMT
Well that got all escaped to shit. Trying again:

xml += '&lt;link&gt;' + urllib.quote_plus(mylink) + '&lt;/link&gt;\n'
camrunr
Contributor
Avatar
2012-12-27 23:43:49 GMT
Didn't work either. I'll go to github and see if I can figger how to submit a patch.
camrunr
Contributor
Avatar
2012-12-27 23:59:03 GMT
http://pastebin.com/WBYKmVnb
Lemon
Administrator
Avatar
2012-12-28 00:27:47 GMT
Sorry, my filter is rather aggressive on this forum. I should fix that ;-)! Thanks for helping our members in relation to this though.
digitalsy
Member
Avatar
2012-12-28 00:50:54 GMT
Thanks camrunr, but I'm not able to get it to work like you.

I've made the changes, but I keep seeing the following in the log:

2012-12-27 16:45:10.970338 SEARCHQUEUE-RSS-SEARCH :: Error while searching nzbx, skipping: nzb

If I change the provider priority, in the log I see:
16:50:04 INFO::CP Server Thread-5 :: don't know what nzbx is, skipping
Lemon
Administrator
Avatar
2012-12-28 00:53:37 GMT
digitalsy, are you running ibawt's branch of SickBeard?
digitalsy
Member
Avatar
2012-12-28 00:55:31 GMT
LemonadeDev: yes
digitalsy
Member
Avatar
2012-12-28 01:17:46 GMT
If I disable all the other providers and just leave nzbx provider enabled in sickbeard, here's what the log says:

17:16:05 INFO::SEARCHQUEUE-MANUAL-SEARCH :: Searching for download for Shark Tank - 3x01 - A pitch for a unique water bottle
17:16:05 INFO::SEARCHQUEUE-MANUAL-SEARCH :: Searching for Shark Tank - 3x01 - A pitch for a unique water bottle
17:16:05 INFO::SEARCHQUEUE-MANUAL-SEARCH :: Searching nzbx for Shark Tank - 3x01 - A pitch for a unique water bottle
17:16:08 ERROR::SEARCHQUEUE-MANUAL-SEARCH :: Error while searching nzbx, skipping: nzb
17:16:08 ERROR::SEARCHQUEUE-MANUAL-SEARCH :: No NZB/Torrent providers found or enabled in the sickbeard config. Please check your settings.
17:16:08 INFO::SEARCHQUEUE-MANUAL-SEARCH :: Unable to find a download for Shark Tank - 3x01 - A pitch for a unique water bottle
tehspede
Spoon Feeder
Avatar
2012-12-28 02:27:24 GMT
digitalsy: try this fix instead: http://pastebin.com/0rNjAXVc
tehspede
Spoon Feeder
Avatar
2012-12-28 02:27:44 GMT
so don't do the fix mention above but just that one
camrunr
Contributor
Avatar
2012-12-28 04:08:42 GMT
Both 'fixes' are yielding the same results for me. Some searches work, others give the errors digitalsy shows above. :-(
You must be logged in to post a reply.

API  |  Blog  |  Contact  |  DMCA  |  FAQ  |  Legal  |  Technology  |  Copyright © 2012, nzbX.co