Page 1 of 2
Trunk 2798 RSS tvnzb
Posted: September 29th, 2009, 4:59 am
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
Re: Trunk 2798 RSS tvnzb
Posted: September 29th, 2009, 5:05 am
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.
Re: Trunk 2798 RSS tvnzb
Posted: September 29th, 2009, 6:35 am
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
Re: Trunk 2798 RSS tvnzb
Posted: September 29th, 2009, 12:08 pm
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.
Re: Trunk 2798 RSS tvnzb
Posted: September 29th, 2009, 3:19 pm
by fzeroe
ohh yeah nice work !!!!! it's working now
) at least my first quick test
Thanks
Re: Trunk 2798 RSS tvnzb
Posted: October 1st, 2009, 5:48 am
by fzeroe
nahh auto still doesn't work only when you click on the rss link yourself
Re: Trunk 2798 RSS tvnzb
Posted: October 2nd, 2009, 2:15 am
by shypike
What goes wrong exactly?
I have it working with tvnzb.
Re: Trunk 2798 RSS tvnzb
Posted: October 3rd, 2009, 7:47 am
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
Re: Trunk 2798 RSS tvnzb
Posted: October 3rd, 2009, 9:26 am
by shypike
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.
Re: Trunk 2798 RSS tvnzb
Posted: October 3rd, 2009, 9:56 am
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?
Re: Trunk 2798 RSS tvnzb
Posted: October 4th, 2009, 2:20 pm
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
Re: Trunk 2798 RSS tvnzb
Posted: October 6th, 2009, 4:15 am
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.
Re: Trunk 2798 RSS tvnzb
Posted: October 6th, 2009, 5:39 am
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?
Re: Trunk 2798 RSS tvnzb
Posted: October 6th, 2009, 9:21 am
by fzeroe
No they never get auto downloaded. Manual download works fine
Re: Trunk 2798 RSS tvnzb
Posted: October 7th, 2009, 3:30 am
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