Trunk 2798 RSS tvnzb

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.
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Trunk 2798 RSS tvnzb

Post by fzeroe »

Is there some known problem using RSS and tvnzb ?
the RSS get listed fine and is added to the que but there are some problem to download the nzb files from the URL nothing happens!

i got these errors in the error log. Maybe i missed something.

/usr/lib/python2.6/site-packages/Cheetah/CacheRegion.py:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/usr/share/sabnzbd.0.5.0A/sabnzbd/urlgrabber.py", line 140, in run
    misc.bad_fetch(future_nzo, url, retry=filename)
  File "/usr/share/sabnzbd.0.5.0A/sabnzbd/misc.py", line 805, in bad_fetch
    (cfg.API_KEY.get(), urllib.quote(url), pp, urllib.quote(cat), urllib.quote(script)))
TypeError: not all arguments converted during string formatting

Regards FZ
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Trunk 2798 RSS tvnzb

Post by shypike »

We don't officially support Python 2.6 yet (because not all third-party modules we use do so).
Nevertheless, I'll check this out.

BTW: just ignore the "DeprecationWarning".
It's something from one of the third-part modules and it's innocent.
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

it seems that all RSS feed gets this problem (only tried 2)
0.4.11 works fine with python 2.6

let me know if i can assist in someway more logs or other
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Trunk 2798 RSS tvnzb

Post by shypike »

SABnzbd is trying to tell you that it cannot retrieve the NZB from tvnzb.com.
However there's a syntax error in the error handling code.
I have fixed that code now.
That will not resolve your RSS problems, but it may give you more useful info about the problem.
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

ohh yeah nice work !!!!! it's working now :)) at least my first quick test

Thanks
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

nahh auto still doesn't work only when you click on the rss link yourself
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Trunk 2798 RSS tvnzb

Post by shypike »

What goes wrong exactly?
I have it working with tvnzb.
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

I have a RSS feed enabled from TVnzb with one reject fields and some accept that seems to be fine
it adds some nzb links to the que but the que cannot process them correctly

In the History only "URL Fetching failed Try again" is shown if i click "Try again"
the link is added to the que again and fails again.

there is nothing in the error log

this is after a restart of sabnzbd and i press "try again" in the history
from sabnzbd.log
2009-10-03 14:34:04,399::DEBUG::[misc:511] Unsupported release number (trunk), will not check
2009-10-03 14:34:18,940::DEBUG::[rss:218] Running feedparser on http://www.tvnzb.com/tvnzb.rss
2009-10-03 14:34:19,625::DEBUG::[rss:220] Done parsing http://www.tvnzb.com/tvnzb.rss
2009-10-03 14:34:19,626::DEBUG::[rss:254] Trying link http://www.tvnzb.com/nzb/28172
removed some lines here
2009-10-03 14:34:19,658::DEBUG::[rss:254] Trying link http://www.tvnzb.com/nzb/28124
2009-10-03 14:34:19,659::DEBUG::[rss:254] Trying link http://www.tvnzb.com/nzb/28123
2009-10-03 14:34:19,660::DEBUG::[rss:254] Trying link http://www.tvnzb.com/nzb/28122
2009-10-03 14:34:19,661::DEBUG::[rss:254] Trying link http://www.tvnzb.com/nzb/28121
2009-10-03 14:34:19,661::DEBUG::[rss:254] Trying link http://www.tvnzb.com/nzb/28120
2009-10-03 14:34:27,080::INFO::[__init__:351] Fetching http://www.tvnzb.com/nzb/28153&cat=tv&script=None
2009-10-03 14:34:27,081::INFO::[nzbqueue:95] Saving queue
2009-10-03 14:34:27,082::INFO::[__init__:620] Saving data for SABnzbd_nzo_yBLXO1 in /usr/share/sabnzbd.0.5.0A/cache/SABnzbd_nzo_yBLXO1
2009-10-03 14:34:27,083::INFO::[__init__:620] Saving data for queue9.sab in /usr/share/sabnzbd.0.5.0A/cache/queue9.sab
2009-10-03 14:34:27,084::INFO::[urlgrabber:120] Grabbing URL http://www.tvnzb.com/nzb/28153&cat=tv&script=None
2009-10-03 14:34:31,087::ERROR::[misc:778] Error getting url http://www.tvnzb.com/nzb/28153&cat=tv&script=None
2009-10-03 14:34:31,092::INFO::[__init__:671] /usr/share/sabnzbd.0.5.0A/cache/SABnzbd_nzo_yBLXO1 removed
2009-10-03 14:34:31,093::INFO::[nzbqueue:95] Saving queue
2009-10-03 14:34:31,093::INFO::[__init__:620] Saving data for queue9.sab in /usr/share/sabnzbd.0.5.0A/cache/queue9.sab
2009-10-03 14:34:49,684::INFO::[__init__:620] Saving data for rss_data.sab in /usr/share/sabnzbd.0.5.0A/cache/rss_data.sab
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Trunk 2798 RSS tvnzb

Post by shypike »

fzeroe wrote: 2009-10-03 14:34:31,087::ERROR::[misc:778] Error getting url http://www.tvnzb.com/nzb/28153&cat=tv&script=None
Oops, I think SABnzbd sends the full URL "http://www.tvnzb.com/nzb/28153&cat=tv&script=None" to tvnzb.
That won't work.
Could be that I only tested the manual download.
I'll get back to you.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Trunk 2798 RSS tvnzb

Post by shypike »

Fixed now, the Retry link in History did not contain a proper URL.
Sync to the latest trunk.

It still means that tvnzb is often not responding and the amount of retries done, is insufficient.
Do these errors occur often?
TheBiGW
Release Testers
Release Testers
Posts: 19
Joined: November 12th, 2008, 6:12 am

Re: Trunk 2798 RSS tvnzb

Post by TheBiGW »

Cool - this was the exact error I was having with my RSS feeds. Looking forward to the next alpha release with this bug fixed :)
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

The original error is still there . Somehow it cannot parse the URL when it has been added by my rules from RSS. Maybe some lib/addon/componet is not working on my fedora 11.
The added links looks ok but when using mouseover the link seems wrong. I have no idea how it's supposed to look like within sabnzbd :)
Manual click on the download URL in the RSS feed when previewed do work.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Trunk 2798 RSS tvnzb

Post by shypike »

Are the matching NZBs never downloaded at all or is it just the retry links in History?
Can post the result of the "copy link location" function of Firefox?
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

No they never get auto downloaded. Manual download works fine
fzeroe
Newbie
Newbie
Posts: 15
Joined: September 29th, 2009, 3:10 am

Re: Trunk 2798 RSS tvnzb

Post by fzeroe »

oops forgot to add the link
here is my retry link slightly modified.

http://xxx.xx.xx:8081/sabnzbd/retry?ses ... cript=None
Post Reply