archmage crashes on some files

Bug #361609 reported by Alex Ott
2
Affects Status Importance Assigned to Milestone
archmage (Ubuntu)
New
Undecided
Basil Shubin

Bug Description

Binary package hint: archmage

I have one file, that cause crash of archmage. I think, the problem is caused by upgrading to python 2.6

Traceback (most recent call last):
  File "/usr/bin/archmage", line 147, in <module>
    main()
  File "/usr/bin/archmage", line 137, in main
    CHMFile(options.chmfile) or CHMDir(options.chmfile)
  File "/usr/lib/python2.6/dist-packages/archmod/CHM.py", line 63, in __init__
    self.contents, self.deftopic = SitemapFile(hhclines).parse()
  File "/usr/lib/python2.6/dist-packages/archmod/CHM.py", line 268, in parse
    p.feed(self.lines)
  File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/lib/python2.6/HTMLParser.py", line 150, in goahead
    k = self.parse_endtag(i)
  File "/usr/lib/python2.6/dist-packages/archmod/CHM.py", line 378, in parse_endtag
    return HTMLParser.parse_endtag(self, i)
  File "/usr/lib/python2.6/HTMLParser.py", line 316, in parse_endtag
    self.handle_endtag(tag.lower())
  File "/usr/lib/python2.6/dist-packages/archmod/CHM.py", line 365, in handle_endtag
    self.tagstack.pop(tag)
  File "/usr/lib/python2.6/dist-packages/archmod/CHM.py", line 288, in pop
    raise HTMLParser.HTMLParseError, 'Tag not on stack'
AttributeError: class HTMLParser has no attribute 'HTMLParseError'

Basil Shubin (bashux)
Changed in archmage (Ubuntu):
assignee: nobody → bashux
Revision history for this message
Basil Shubin (bashux) wrote :

Hello,

Where can I take CHM (the one that crashes archmage) sample to check it myself?

Revision history for this message
Basil Shubin (bashux) wrote :

Hmm...

Unable to reproduce this bug with 0.2 version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.