Bug 629659 - [abrt] chm2pdf-0.9.1-7.fc12: sgmllib.py:111:error:SGMLParseError: unexpected '\xbd' char in declaration
Summary: [abrt] chm2pdf-0.9.1-7.fc12: sgmllib.py:111:error:SGMLParseError: unexpected ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: chm2pdf
Version: 17
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f06c226e
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-02 16:00 UTC by Tore Anderson
Modified: 2013-03-30 17:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-30 17:01:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.08 KB, text/plain)
2010-09-02 16:00 UTC, Tore Anderson
no flags Details

Description Tore Anderson 2010-09-02 16:00:14 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/chm2pdf --book book.chm book.pdf
comment: chm2pdf --book book.chm book.pdf - and it crashed
component: chm2pdf
executable: /usr/bin/chm2pdf
kernel: 2.6.34.6-47.fc13.x86_64
package: chm2pdf-0.9.1-7.fc12
reason: sgmllib.py:111:error:SGMLParseError: unexpected '\xbd' char in declaration
release: Fedora release 13 (Goddard)
time: 1283443165
uid: 500

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>

How to reproduce
-----
1. Try to convert a CHM file to PDF again
2.
3.

Comment 1 Tore Anderson 2010-09-02 16:00:17 UTC
Created an attachment (id=442659)
File: backtrace

Comment 2 Fedora Admin XMLRPC Client 2010-12-30 02:50:38 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Narasimhan 2011-05-14 11:15:06 UTC
Upstream bug filed here

http://code.google.com/p/chm2pdf/issues/detail?id=32

Comment 4 Narasimhan 2011-05-14 11:23:35 UTC
I will provide a patch that will prevent the crash. I will create another defect that tracks this parser error.

Thanks

Comment 5 Bug Zapper 2011-05-31 14:41:33 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Fedora End Of Life 2012-08-16 22:04:23 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Fedora Admin XMLRPC Client 2013-02-03 20:34:44 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Pavel Alexeev 2013-03-30 17:00:02 UTC
Could you please provide chm document to reproduce error?


Note You need to log in before you can comment on or make changes to this bug.