In the source of this page is a tag <input type="password" name="password" style={height:21px;} value="" size="30" maxlength="20"> where the style tag is not quoted and beautiful soup misses this resulting in the following:
Traceback (most recent call last):
File "/usr/bin/gtkSipie", line 8, in <module>
load_entry_point('Sipie==0.1196144357', 'gui_scripts', 'gtkSipie')()
File "/usr/lib/python2.6/site-packages/Sipie/gtkPlayer.py", line 88, in gtkPlayer
for selectable in sipie.getStreams():
File "/usr/lib/python2.6/site-packages/Sipie/Factory.py", line 375, in getStreams
streams = self.tryGetStreams()
File "/usr/lib/python2.6/site-packages/Sipie/Factory.py", line 299, in tryGetStreams
soup = BeautifulSoup(data)
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1499, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1230, in __init__
self._feed(isHTML=isHTML)
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 1263, in _feed
self.builder.feed(markup)
File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 263, in parse_starttag
% (rawdata[k:endpos][:20],))
File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: junk characters in start tag: u'{height:21px;} value', at line 145, column 26
I am currently running Arch Linux but there have been reports on the sourceforge page for Sipie that the problem is occuring on other platforms as well.
Any other info I can gather I would be glad to give, just ask.
This bug is manifesting it self in the program Sipie from http:// sourceforge. net/projects/ sipie/.
It attempts to parse the page here http:// www.sirius. com/sirius/ servlet/ MediaPlayerLogi n/subscriber
In the source of this page is a tag <input type="password" name="password" style={ height: 21px;} value="" size="30" maxlength="20"> where the style tag is not quoted and beautiful soup misses this resulting in the following:
Traceback (most recent call last): gtkSipie" , line 8, in <module> entry_point( 'Sipie= =0.1196144357' , 'gui_scripts', 'gtkSipie')() python2. 6/site- packages/ Sipie/gtkPlayer .py", line 88, in gtkPlayer python2. 6/site- packages/ Sipie/Factory. py", line 375, in getStreams ams() python2. 6/site- packages/ Sipie/Factory. py", line 299, in tryGetStreams python2. 6/site- packages/ BeautifulSoup. py", line 1499, in __init__ oneSoup. __init_ _(self, *args, **kwargs) python2. 6/site- packages/ BeautifulSoup. py", line 1230, in __init__ _feed(isHTML= isHTML) python2. 6/site- packages/ BeautifulSoup. py", line 1263, in _feed builder. feed(markup) python2. 6/HTMLParser. py", line 108, in feed python2. 6/HTMLParser. py", line 148, in goahead starttag( i) python2. 6/HTMLParser. py", line 263, in parse_starttag k:endpos] [:20],) ) python2. 6/HTMLParser. py", line 115, in error message, self.getpos()) HTMLParseError: junk characters in start tag: u'{height:21px;} value', at line 145, column 26
File "/usr/bin/
load_
File "/usr/lib/
for selectable in sipie.getStreams():
File "/usr/lib/
streams = self.tryGetStre
File "/usr/lib/
soup = BeautifulSoup(data)
File "/usr/lib/
BeautifulSt
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.goahead(0)
File "/usr/lib/
k = self.parse_
File "/usr/lib/
% (rawdata[
File "/usr/lib/
raise HTMLParseError(
HTMLParser.
I am currently running Arch Linux but there have been reports on the sourceforge page for Sipie that the problem is occuring on other platforms as well.
Any other info I can gather I would be glad to give, just ask.
Thank You
Kasuko