mspieth / rssdler

Automatically exported from code.google.com/p/rssdler
4 stars 0 forks source link

rssdler error in downloads.log #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.running rssdler on an rss feed where the file or torrent can not be 
downloaded

What is the expected output? What do you see instead?
die quietly with error message saying can not download / error downloading.

instead get:
CRITICAL Unexpected Error: Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/rssdler.py", line 2079, in 
main
    run()
  File "/usr/local/lib/python2.5/site-packages/rssdler.py", line 2049, in 
run
    rssparse(key)
  File "/usr/local/lib/python2.5/site-packages/rssdler.py", line 1952, in 
rssparse
    userFunctArgs = downloadFile(ppage['entries'][i]['link'], tName, 
ppage['entries'][i], dirDict)
  File "/usr/local/lib/python2.5/site-packages/rssdler.py", line 784, in 
downloadFile
    size, data2 = getFileSize(data.info(), data)
  File "/usr/local/lib/python2.5/site-packages/rssdler.py", line 634, in 
getFileSize
    try: tparse = bdecode(data)
  File "/usr/local/lib/python2.5/site-packages/rssdler.py", line 916, in 
bdecode
    x = open(x, 'r').read()
TypeError: file() argument 1 must be (encoded string without NULL bytes), 
not str

What version of the product are you using? On what operating system?

RSSDler - RSS Broadcatcher
Copyright (C) 2007, 2008, lostnihilist

Please provide any additional information below.

Original issue reported on code.google.com by shi...@gmail.com on 17 Mar 2010 at 2:05

GoogleCodeExporter commented 8 years ago
I'm having the same problem, even in the latest version (0.4.2) which I recently
downloaded It happened in 0.4.0a as well.

The RSS feed I'm looking at has one item with an enclosure that 404s when a 
download
is attempted, and the rssdler daemon dies silently shortly after I start it up. 
It'll
grab the others in the feed, so I can force it to download the good links by 
running
it manually, but it won't keep running in the background like it used to.

Original comment by bbeyenhof on 23 Apr 2010 at 7:35

GoogleCodeExporter commented 8 years ago
Im experiencing exactly the same as bbeyenhof. 

Original comment by robert.m...@gmail.com on 16 Oct 2010 at 6:53