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
Same here using Fedora 19 on 64bits :
Traceback (most recent call last): pyshared/ arte7recorder/ Catalog. py", line 98, in __init__ 'bigTitle' ] = unescape_html( a.string ) pyshared/ arte7recorder/ Catalog. py", line 12, in unescape_html neSoup( text, convertEntities =BS.BeautifulSt oneSoup. HTML_ENTITIES) .contents[ 0] python2. 7/site- packages/ BeautifulSoup. py", line 1147, in __init__ _feed(isHTML= isHTML) python2. 7/site- packages/ BeautifulSoup. py", line 1171, in _feed To=self. smartQuotesTo, isHTML=isHTML) python2. 7/site- packages/ BeautifulSoup. py", line 1773, in __init__ _detectEncoding (markup, isHTML) python2. 7/site- packages/ BeautifulSoup. py", line 1918, in _detectEncoding \?.*encoding= [\'"](. *?)[\'" ].*\?>' ).match( xml_data)
File "arte7recorder.py", line 489, in <module>
catalog = Catalog()
File "/usr/share/
video[
File "/usr/share/
return BS.BeautifulSto
File "/usr/lib/
self.
File "/usr/lib/
smartQuotes
File "/usr/lib/
self.
File "/usr/lib/
'^<
TypeError: expected string or buffer