Page 1 of 2
[0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 2nd, 2009, 1:33 pm
by knorki
I updated from 0.4.12 to 0.5.0 beta 1 (Ubuntu 9.04, I used the repository mentioned in this forum).
Before I had several RSS-feeds working.
Now none of them works, e.g.
http://www.tvnzb.com/tvnzb_new.rss. If I click Preview the list of shows appears and if I click one it should be added to the queue. But in the QUEUE-Tab the following is written:
Trying to fetch NZB from http: / /www.tvnzb.com/nzb/xxxxx (xxxxx is the ID of the NZB file). In the warnings I can read:
2009-12-02 18:48:23,996 WARNING: Invalid NZB file xxxxx.nzb, skipping (reason=syntax error, line=1)
2009-12-02 18:48:23,997 ERROR: Error getting url http://www.tvnzb.com/nzb/xxxxx
Someone in the chat could reproduce the error but I am afraid most of you don't have this problem. Can anybody help me?
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 2nd, 2009, 2:40 pm
by kricker
You're not alone. I am having the same problem.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 2nd, 2009, 3:03 pm
by kricker
Got it fixed. I shutdown SAB. Then went to userfolder\appdata\local\sabnzbd. I cleared everything from all the subfolders on leaving my .ini file. I didn't care about saving my queue or history. Once I relaunched SAB, everything was working again.
EDIT
The onle file that really needs to be deleted is the queue9.sab.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 2nd, 2009, 3:05 pm
by shypike
Preventing (or better hanling) of queue corruption is something we'll tackle for release 0.6.0.
It isn't something you do on a rainy Sunday afternoon.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 2nd, 2009, 3:09 pm
by kricker
I know how to fix it now, so I'm good to go. It's beta after all.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 2nd, 2009, 4:42 pm
by knorki
thx, this seems to work for me as well.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 11:29 am
by kricker
I seem to have to "fix" this quite often. At least once a day at minimum, sometime 2 or more times.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 1:09 pm
by shypike
Somehow this doesn't really look like a queue corruption,
especially because these are rare and mostly caused by
careless termination of SABnzbd.
What we have seen in the past is that NZB sites sometimes
return a file that isn't an NZB file.
The trouble is that you (as a user) cannot see the content of this file.
In Beta2 I'll build in some extra diagnostics,
because your reports still don't give me a clue where to look.
Should this be an intermittent problem in either SABnzbd or the NZB site,
deleting the queue may only seem to be a solution.
Another question for knorki.
You say that a manual download from the RSS page fails.
Does retrying it work?
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 2:54 pm
by kricker
I see this happen mostly when I do a forced download from the RSS feed. If it doesn't fetch it properly. I close down SAB, then kill the queue file. Restart SAB then force the same download again and it works. I'll be happy to provide logs or whatever else you may need.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 3:17 pm
by shypike
Do the "Fetch" jobs stay visible in the queue?
Are they listed as "failed" in the History?
If you restart SAB without cleaning the queue, does that help?
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 3:24 pm
by kricker
They stay in the queue as "fetching" they never go to the history. I say "never" as that it how it is acting now. I have previously had some go to the history as failed, but I believe that was actually due to bad or missing nzb files. Restarting SAB has no effect. The items are still listed as "fetching" in the queue.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 4:06 pm
by shypike
OK, that narrows it down a bit.
When you have one these stuck fetches again, would it be possible to
make a zipfile of the cache and email that to bugs at sabnzbd.org ?
The files needed are:
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 4:17 pm
by kricker
Sure. No problem.
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 3rd, 2009, 6:45 pm
by JohnSCS
I have found this issue too when SAB matches an item in the RSS feed (NZBMatrix) or even if I click download on an item in the RSS feed preview. Even if you paste a URL into the HOME screen this issue happens.
What I have found as the cause is in the URL that SAB attempts to load has extra spaces after HTTP and therefore is not a valid URL.
Code: Select all
Trying to fetch NZB from http: / /nzbmatrix.com/api-nzb-download.php?id=XXXXX&username=XXXXX&apikey=XXXXX
If you copy and paste this line into your browser and remove the 2 spaces it works.
As a quick work around, log into the mobile interface http://[IP]:[port]/sabnzbd/m/ (I use Mobile - Dark) and you can delete the NZB (copy the NZB id), and go back to the standard web interface and the queue should now work. Download the NZB manually and add it via the HOME screen ADD FILE option.
FYI - SAB 0.5.0B1 on WinXP SP3
Re: [0.5.0b1] Cannot d/l NZBs from RSS feed
Posted: December 4th, 2009, 2:31 am
by shypike
Now that is useful info.
So far I haven't been able to reproduce any of these errors.
At least it gives me some clues for further investigation.
Thanks.