Your message dated Sat, 25 Apr 2009 00:02:58 +0000
with message-id <[email protected]>
and subject line Bug#520910: fixed in rss2email 1:2.65-1
has caused the Debian Bug report #520910,
regarding rss2email: could not parse http://feeds.feedburner.com/linuxjournalcom
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
520910: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520910
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rss2email
Version: 1:2.62-3
Severity: normal
Tags: patch

E: could not parse http://feeds.feedburner.com/linuxjournalcom
Traceback (most recent call last):
  File "/usr/share/rss2email/rss2email.py", line 609, in run
    entrycontent = getContent(entry, HTMLOK=HTML_MAIL)
  File "/usr/share/rss2email/rss2email.py", line 339, in getContent
    return html2text(c.value)
  File "/usr/share/rss2email/html2text.py", line 396, in html2text
    return optwrap(html2text_file(html, None))
  File "/usr/share/rss2email/html2text.py", line 391, in html2text_file
    h.feed(html)
  File "/usr/lib/python2.5/sgmllib.py", line 99, in feed
    self.goahead(0)
  File "/usr/lib/python2.5/sgmllib.py", line 124, in goahead
    self.handle_data(rawdata[i:j])
  File "/usr/share/rss2email/html2text.py", line 383, in handle_data
    self.o(data, 1)
  File "/usr/share/rss2email/html2text.py", line 378, in o
    self.out(data)
  File "/usr/share/rss2email/html2text.py", line 153, in outtextf
    if type(s) is type(''): s = codecs.utf_8_decode(s)[0]
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb6 in position 0: 
unexpected code byte


The attached patch is only a work-around, rather than a proper fix for the actual problem.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rss2email depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-feedparser             4.1-12     Universal Feed Parser for Python
ii  python-support                0.8.7      automated rebuilding support for P

rss2email recommends no packages.

rss2email suggests no packages.

-- no debconf information

--
Jakub Wilk
diff --git a/html2text.py b/html2text.py
--- a/html2text.py
+++ b/html2text.py
@@ -150,7 +150,7 @@
 		self.lastWasNL = 0
 	
 	def outtextf(self, s): 
-		if type(s) is type(''): s = codecs.utf_8_decode(s)[0]
+		if type(s) is type(''): s = codecs.utf_8_decode(s, 'replace')[0]
 		self.outtext += s
 	
 	def close(self):

--- End Message ---
--- Begin Message ---
Source: rss2email
Source-Version: 1:2.65-1

We believe that the bug you reported is fixed in the latest version of
rss2email, which is due to be installed in the Debian FTP archive:

rss2email_2.65-1.diff.gz
  to pool/main/r/rss2email/rss2email_2.65-1.diff.gz
rss2email_2.65-1.dsc
  to pool/main/r/rss2email/rss2email_2.65-1.dsc
rss2email_2.65-1_all.deb
  to pool/main/r/rss2email/rss2email_2.65-1_all.deb
rss2email_2.65.orig.tar.gz
  to pool/main/r/rss2email/rss2email_2.65.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Watson <[email protected]> (supplier of updated rss2email package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 24 Apr 2009 23:51:42 +0100
Source: rss2email
Binary: rss2email
Architecture: source all
Version: 1:2.65-1
Distribution: unstable
Urgency: low
Maintainer: David Watson <[email protected]>
Changed-By: David Watson <[email protected]>
Description: 
 rss2email  - receive RSS feeds by email
Closes: 458964 497142 520910 525489
Changes: 
 rss2email (1:2.65-1) unstable; urgency=low
 .
   * New upstream release. Closes: #525489.
     * Tested broken previously broken feeds.
       Closes: #520910, #458964, #497142.
   * Bump Standards Version, no changes needed.
   * Update debhelper version.
Checksums-Sha1: 
 7a8e291d4bcf09e56597acc5bea9131f282bc6f2 1163 rss2email_2.65-1.dsc
 84efa01756ec5a3f4093f76ea3d724eaec86dc38 12833 rss2email_2.65.orig.tar.gz
 56aa66adde5df32a40daf98d59c8c8e0c1d565fd 8626 rss2email_2.65-1.diff.gz
 a26ff139338eeb1ab23bbddc2e43a868364c5d63 23440 rss2email_2.65-1_all.deb
Checksums-Sha256: 
 3bac608e4e2945f318cb50dbaf393bfdf3b2fd9c7aa411d4550456afa6522a18 1163 
rss2email_2.65-1.dsc
 f215149251f7936244f6997df749f77e7b2edaa73a7f6259efb2d97ae83b678d 12833 
rss2email_2.65.orig.tar.gz
 76f599bba817ac9922993a76bdb4c444a6091e1171e58a6c89353526962b10a9 8626 
rss2email_2.65-1.diff.gz
 c9450f4d46d0155ade001e30f97891e71daf0917ce8aa61af0a861febdca9148 23440 
rss2email_2.65-1_all.deb
Files: 
 581490095b98f57d44ee3071974d4077 1163 mail optional rss2email_2.65-1.dsc
 837b671bbeed97e0e60488b92354ca34 12833 mail optional rss2email_2.65.orig.tar.gz
 8b47a4a14251596bc3dccc7a374c61a4 8626 mail optional rss2email_2.65-1.diff.gz
 4b45346a963fd299c822ca7a68ee6e52 23440 mail optional rss2email_2.65-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknyT9IACgkQDeh5nqfWrnlAMgCghdL5t8fjkRi/B88ydObqwXAv
IUQAn2a3y8VfkB8nea8F8xOLxpSNXvkO
=wiUQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to