[0.5.0b1] Cannot d/l NZBs from RSS feed

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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.
knorki
Newbie
Newbie
Posts: 2
Joined: December 2nd, 2009, 1:20 pm

[0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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?
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post by kricker »

You're not alone. I am having the same problem.
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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.
Last edited by kricker on December 3rd, 2009, 11:33 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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.
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post by kricker »

I know how to fix it now, so I'm good to go. It's beta after all.
knorki
Newbie
Newbie
Posts: 2
Joined: December 2nd, 2009, 1:20 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post by knorki »

thx, this seems to work for me as well.
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post by kricker »

I seem to have to "fix" this quite often. At least once a day at minimum, sometime 2 or more times.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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?
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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?
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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:

Code: Select all

queue9.sab
SABnzbd_nzo_*
kricker
Newbie
Newbie
Posts: 30
Joined: November 18th, 2009, 11:47 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post by kricker »

Sure. No problem.
JohnSCS
Newbie
Newbie
Posts: 42
Joined: August 17th, 2009, 12:23 am

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [0.5.0b1] Cannot d/l NZBs from RSS feed

Post 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.
Post Reply