Package: rss2email
Version: 1:2.54-2
Severity: normal

r2e run in cron job fails with the following log...

=== SEND THE FOLLOWING TO [EMAIL PROTECTED] ===
E: could not parse http://www.spy.org.uk/spyblog/index.xml
Traceback (most recent call last):
  File "/usr/share/rss2email/rss2email.py", line 378, in run
    content = getContent(entry, HTMLOK=HTML_MAIL)
  File "/usr/share/rss2email/rss2email.py", line 176, in getContent
    return html2text(c.value)
  File "/usr/share/rss2email/html2text.py", line 387, in html2text
    return optwrap(html2text_file(html, None))
  File "/usr/share/rss2email/html2text.py", line 382, in html2text_file
    h.feed(html)
  File "/usr/lib/python2.3/sgmllib.py", line 95, in feed
    self.goahead(0)
  File "/usr/lib/python2.3/sgmllib.py", line 134, in goahead
    k = self.parse_endtag(i)
  File "/usr/lib/python2.3/sgmllib.py", line 293, in parse_endtag
    self.finish_endtag(tag)
  File "/usr/lib/python2.3/sgmllib.py", line 333, in finish_endtag
    self.unknown_endtag(tag)
  File "/usr/share/rss2email/html2text.py", line 175, in unknown_endtag
    self.handle_tag(tag, None, 0)
  File "/usr/share/rss2email/html2text.py", line 280, in handle_tag
    self.list.pop()
IndexError: pop from empty list
rss2email 2.54
feedparser 3.3
html2text 2.2
Python 2.3.5 (#2, Feb  9 2005, 00:38:15) 
[GCC 3.3.5 (Debian 1:3.3.5-8)]
=== END HERE ===

This error only occurs on the particular feed shown in the log (other feeds 
are OK) and has just recently started (the same feed was fine for several 
months previously).  I don't know if the problem started with a sarge upgrade 
(I run sarge and update quite frequently) or if it was triggered by a
formatting change in the feed.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-grc.2005.02.06
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages rss2email depends on:
ii  python                        2.3.5-1    An interactive high-level object-o

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to