Linux Archive

Linux Archive (
-   Ubuntu User (
-   -   rawdog 2.10 utf8 codec can't decode bytes (

Glen Stewart 09-20-2008 12:49 PM

rawdog 2.10 utf8 codec can't decode bytes
Package: rawdog
Version: 2.10.dfsg.1-1
Severity: important
Tags: patch

*** Please type your report below this line ***
While parsing various RSS feeds, RawDog has been increasingly failing with the
error noted below. Upon installing the 2.11 version at the author's web site, the problem was resolved. The error:

Traceback (most recent call last):
File "/usr/bin/rawdog", line 31, in <module>
File "/usr/bin/rawdog", line 24, in launch
File "/var/lib/python-support/python2.5/rawdoglib/", line 1489, in
File "/var/lib/python-support/python2.5/rawdoglib/", line 1371, in
self.write_output_file(articles, article_dates, config)
File "/var/lib/python-support/python2.5/rawdoglib/", line 1305, in
self.write_article(f, article, config)
File "/var/lib/python-support/python2.5/rawdoglib/", line 1165, in
description = detail_to_html(entry_info[key], False, config,
File "/var/lib/python-support/python2.5/rawdoglib/", line 151, in
return sanitise_html(html, detail["base"], inline, config)
File "/var/lib/python-support/python2.5/rawdoglib/", line 79, in
html = feedparser._resolveRelativeURIs(html, baseurl, "UTF-8")
File "/var/lib/python-support/python2.5/rawdoglib/", line 1633,
in _resolveRelativeURIs
File "/var/lib/python-support/python2.5/rawdoglib/", line 1480,
in feed
sgmllib.SGMLParser.feed(self, data)
File "/usr/lib/python2.5/", line 99, in feed
File "/usr/lib/python2.5/", line 133, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.5/", line 291, in parse_starttag
self.finish_starttag(tag, attrs)
File "/usr/lib/python2.5/", line 333, in finish_starttag
self.unknown_starttag(tag, attrs)
File "/var/lib/python-support/python2.5/rawdoglib/", line 1628,
in unknown_starttag
_BaseHTMLProcessor.unknown_starttag(self, tag, attrs)
File "/var/lib/python-support/python2.5/rawdoglib/", line 1497,
in unknown_starttag
value = unicode(value, self.encoding)
File "/usr/lib/python2.5/encodings/", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 22-23: invalid

-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-
proposed'), (500, 'hardy-backports'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rawdog depends on:
ii python-support 0.7.5ubuntu1 automated rebuilding support for

rawdog recommends no packages.

-- no debconf information

ubuntu-users mailing list
Modify settings or unsubscribe at:

All times are GMT. The time now is 12:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.