Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 192651 Details for
Bug 286321
feedparser traceback on feeds without encoding declaration
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
debug output
feedparser.traceback (text/plain), 10.07 KB, created by
Sertaç Ö. Yıldız
on 2007-09-11 16:19:42 UTC
(
hide
)
Description:
debug output
Filename:
MIME Type:
Creator:
Sertaç Ö. Yıldız
Created:
2007-09-11 16:19:42 UTC
Size:
10.07 KB
patch
obsolete
>entering _toUTF8, trying encoding utf-8 >entering _toUTF8, trying encoding windows-1252 >initializing FeedParser >start rss with [('version', '2.0'), ('xmlns:dc', 'http://purl.org/dc/elements/1.1/')] >start channel with [] >start title with [] >end title >start link with [] >end link >start description with [] >end description >entering _resolveRelativeURIs >entering BaseHTMLProcessor, encoding= >_BaseHTMLProcessor, handle_text, text=A list of recent files released on GNOME's FTP site >entering BaseHTMLProcessor, encoding= >_BaseHTMLProcessor, handle_text, text=A list of recent files released on GNOME's FTP site >start webmaster with [] >end webmaster >start lastbuilddate with [] >end lastbuilddate >start item with [] >start title with [] >end title >start link with [] >end link >start description with [] >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with amp >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with amp >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with amp >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >entering handle_entityref with lt >entering handle_entityref with gt >end description >entering _resolveRelativeURIs >entering BaseHTMLProcessor, encoding= >_BaseHTMLProcessor, unknown_starttag, tag=tt >--------------------------------------------------------------------------- ><type 'exceptions.LookupError'> Traceback (most recent call last) > >/home/sertac/<ipython console> in <module>() > >/usr/lib/python2.5/site-packages/feedparser.py in parse(url_file_stream_or_string, etag, modified, agent, referrer, handlers) > 2621 if not use_strict_parser: > 2622 feedparser = _LooseFeedParser(baseuri, baselang, known_encoding and 'utf-8' or '') >-> 2623 feedparser.feed(data) > 2624 result['feed'] = feedparser.feeddata > 2625 result['entries'] = feedparser.entries > >/usr/lib/python2.5/site-packages/feedparser.py in feed(self, data) > 1439 if self.encoding and type(data) == type(u''): > 1440 data = data.encode(self.encoding) >-> 1441 sgmllib.SGMLParser.feed(self, data) > 1442 > 1443 def normalize_attrs(self, attrs): > >/usr/lib/python2.5/sgmllib.py in feed(self, data) > 97 > 98 self.rawdata = self.rawdata + data >---> 99 self.goahead(0) > 100 > 101 def close(self): > >/usr/lib/python2.5/sgmllib.py in goahead(self, end) > 136 continue > 137 if rawdata.startswith("</", i): >--> 138 k = self.parse_endtag(i) > 139 if k < 0: break > 140 i = k > >/usr/lib/python2.5/sgmllib.py in parse_endtag(self, i) > 313 if rawdata[j] == '>': > 314 j = j+1 >--> 315 self.finish_endtag(tag) > 316 return j > 317 > >/usr/lib/python2.5/sgmllib.py in finish_endtag(self, tag) > 353 method = getattr(self, 'end_' + tag) > 354 except AttributeError: >--> 355 self.unknown_endtag(tag) > 356 else: > 357 self.report_unbalanced(tag) > >/usr/lib/python2.5/site-packages/feedparser.py in unknown_endtag(self, tag) > 474 try: > 475 method = getattr(self, methodname) >--> 476 method() > 477 except AttributeError: > 478 self.pop(prefix + suffix) > >/usr/lib/python2.5/site-packages/feedparser.py in _end_description(self) > 1215 self._end_content() > 1216 else: >-> 1217 value = self.popContent('description') > 1218 context = self._getContext() > 1219 if self.intextinput: > >/usr/lib/python2.5/site-packages/feedparser.py in popContent(self, tag) > 698 > 699 def popContent(self, tag): >--> 700 value = self.pop(tag) > 701 self.incontent -= 1 > 702 self.contentparams.clear() > >/usr/lib/python2.5/site-packages/feedparser.py in pop(self, element, stripWhitespace) > 639 if self.mapContentType(self.contentparams.get('type', 'text/html')) in self.html_types: > 640 if element in self.can_contain_relative_uris: >--> 641 output = _resolveRelativeURIs(output, self.baseuri, self.encoding) > 642 > 643 # sanitize embedded markup > >/usr/lib/python2.5/site-packages/feedparser.py in _resolveRelativeURIs(htmlSource, baseURI, encoding) > 1592 if _debug: sys.stderr.write('entering _resolveRelativeURIs\n') > 1593 p = _RelativeURIResolver(baseURI, encoding) >-> 1594 p.feed(htmlSource) > 1595 return p.output() > 1596 > >/usr/lib/python2.5/site-packages/feedparser.py in feed(self, data) > 1439 if self.encoding and type(data) == type(u''): > 1440 data = data.encode(self.encoding) >-> 1441 sgmllib.SGMLParser.feed(self, data) > 1442 > 1443 def normalize_attrs(self, attrs): > >/usr/lib/python2.5/sgmllib.py in feed(self, data) > 97 > 98 self.rawdata = self.rawdata + data >---> 99 self.goahead(0) > 100 > 101 def close(self): > >/usr/lib/python2.5/sgmllib.py in goahead(self, end) > 131 i = i+1 > 132 continue >--> 133 k = self.parse_starttag(i) > 134 if k < 0: break > 135 i = k > >/usr/lib/python2.5/sgmllib.py in parse_starttag(self, i) > 289 j = j+1 > 290 self.__starttag_text = rawdata[start_pos:j] >--> 291 self.finish_starttag(tag, attrs) > 292 return j > 293 > >/usr/lib/python2.5/sgmllib.py in finish_starttag(self, tag, attrs) > 331 method = getattr(self, 'do_' + tag) > 332 except AttributeError: >--> 333 self.unknown_starttag(tag, attrs) > 334 return -1 > 335 else: > >/usr/lib/python2.5/site-packages/feedparser.py in unknown_starttag(self, tag, attrs) > 1587 attrs = self.normalize_attrs(attrs) > 1588 attrs = [(key, ((tag, key) in self.relative_uris) and self.resolveURI(value) or value) for key, value in attrs] >-> 1589 _BaseHTMLProcessor.unknown_starttag(self, tag, attrs) > 1590 > 1591 def _resolveRelativeURIs(htmlSource, baseURI, encoding): > >/usr/lib/python2.5/site-packages/feedparser.py in unknown_starttag(self, tag, attrs) > 1458 value = unicode(value, self.encoding) > 1459 uattrs.append((unicode(key, self.encoding), value)) >-> 1460 strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs]).encode(self.encoding) > 1461 if tag in self.elements_no_end_tag: > 1462 self.pieces.append('<%(tag)s%(strattrs)s />' % locals()) > ><type 'exceptions.LookupError'>: unknown encoding: > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 286321
: 192651