Comment 4 for bug 1220796

Revision history for this message
laurentf (laurentf) wrote :

Same here using Fedora 19 on 64bits :

Traceback (most recent call last):
  File "arte7recorder.py", line 489, in <module>
    catalog = Catalog()
  File "/usr/share/pyshared/arte7recorder/Catalog.py", line 98, in __init__
    video['bigTitle'] = unescape_html( a.string )
  File "/usr/share/pyshared/arte7recorder/Catalog.py", line 12, in unescape_html
    return BS.BeautifulStoneSoup(text, convertEntities=BS.BeautifulStoneSoup.HTML_ENTITIES).contents[0]
  File "/usr/lib/python2.7/site-packages/BeautifulSoup.py", line 1147, in __init__
    self._feed(isHTML=isHTML)
  File "/usr/lib/python2.7/site-packages/BeautifulSoup.py", line 1171, in _feed
    smartQuotesTo=self.smartQuotesTo, isHTML=isHTML)
  File "/usr/lib/python2.7/site-packages/BeautifulSoup.py", line 1773, in __init__
    self._detectEncoding(markup, isHTML)
  File "/usr/lib/python2.7/site-packages/BeautifulSoup.py", line 1918, in _detectEncoding
    '^<\?.*encoding=[\'"](.*?)[\'"].*\?>').match(xml_data)
TypeError: expected string or buffer