9b/pastycake — Issue #7: Malformed start tag [parsing error]
Author: 9b
Created: 2012-01-21 19:54:03+00:00
State: open

Traceback (most recent call last):
File "gather.py", line 98, in
main()
File "gather.py", line 87, in main
sources, keywords, store_match=True)
File "gather.py", line 48, in fetch
status, data = generator.get_paste(path)
File "/home/bsdixon/pastycake/pastycake/pastebin_source.py", line 27, in get_paste
parseOnlyThese=SoupStrainer("textarea",{"id":"paste_code"}))
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1499, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1230, in __init__
self._feed(isHTML=isHTML)
File "/usr/lib/pymodules/python2.6/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 226, in parse_starttag
endpos = self.check_for_whole_start_tag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 301, in check_for_whole_start_tag
self.error("malformed start tag")
File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: malformed start tag, at line 116, column 155

Appears to be an issue with the parsing of some of the text area fields. This could be due to the fact that pastebin recently made some changes on their display, but I am having issues finding the extract trigger.