What steps will reproduce the problem?
1. /usr/bin/python /usr/bin/chm2pdf --book book.chm book.pdf
What is the expected output? What do you see instead?
chm is successfully converted to pdf. However this error occurs
sgmllib.py:111:error:SGMLParseError: unexpected '\xbd' char in
declaration and chm2pdf crashes.
What version of the product are you using? On what operating system?
chm2pdf-0.9.1 on Fedora 12.
Please provide any additional information below.
backtrace
-----
sgmllib.py:111:error:SGMLParseError: unexpected '\xbd' char in declaration
Traceback (most recent call last):
File "/usr/bin/chm2pdf", line 1111, in <module>
main(sys.argv)
File "/usr/bin/chm2pdf", line 1107, in main
convert_to_pdf(cfile, filename, outputfilename, options)
File "/usr/bin/chm2pdf", line 394, in convert_to_pdf
correct_file(page_filename, htmlout_filename, html_list, objective_urls,
options)
File "/usr/bin/chm2pdf", line 140, in correct_file
image_catcher.feed(page)
File "/usr/lib64/python2.6/sgmllib.py", line 104, in feed
self.goahead(0)
File "/usr/lib64/python2.6/sgmllib.py", line 174, in goahead
k = self.parse_declaration(i)
File "/usr/lib64/python2.6/markupbase.py", line 136, in parse_declaration
"unexpected %r char in declaration" % rawdata[j])
File "/usr/lib64/python2.6/sgmllib.py", line 111, in error
raise SGMLParseError(message)
SGMLParseError: unexpected '\xbd' char in declaration
Local variables in innermost frame:
message: "unexpected '\\xbd' char in declaration"
self: <__main__.ImageCatcher instance at 0x7fa85d2bdef0>
Bugzilla bug at https://bugzilla.redhat.com/show_bug.cgi?id=629659
Original issue reported on code.google.com by lakshminaras2002 on 14 May 2011 at 11:13
Original issue reported on code.google.com by
lakshminaras2002
on 14 May 2011 at 11:13