Bug 1469245 - Crash on a fresh install
Crash on a fresh install
Status: NEW
Product: Fedora
Classification: Fedora
Component: chm2pdf (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Pavel Alexeev
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-10 13:29 EDT by Mario
Modified: 2018-04-04 02:57 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mario 2017-07-10 13:29:01 EDT
Description of problem:
chm2pdf doesn't work at all. It crashes on a fresh install and it is probably due to a python library (version?) mismatch.

Version-Release number of selected component (if applicable):
Name         : chm2pdf
Version      : 0.9.1
Release      : 19.fc26
Arch         : noarch
Size         : 73 k
Source       : chm2pdf-0.9.1-19.fc26.src.rpm
Repo         : @System
From repo    : fedora
Summary      : A tool to convert CHM files to PDF files
URL          : http://code.google.com/p/chm2pdf/
License      : GPLv2+
Description  : A simple Python script that converts CHM files into PDF files.

How reproducible:

Steps to Reproduce:
1. dnf install chm2pdf
2. try to use it... `chm2pdf`; `chm2pdf -h`; etcetera.

Actual results:

Traceback (most recent call last):                                                                                                       
    File "/usr/bin/chm2pdf", line 24, in <module>                                                                                        
        import chm.chm as chm                                                                                                            
      File "/usr/lib64/python2.7/site-packages/chm/chm.py", line 34, in                                                                  
        import extra                                                                                                                     
    ImportError: /usr/lib64/python2.7/site-packages/chm/extra.so: undefined                                                              
    symbol: pychm_process_wlc
Comment 1 Anıl Özbek 2017-10-08 17:50:16 EDT
// added to cc list
// duplicate bug report:
// https://bugzilla.redhat.com/show_bug.cgi?id=1486949
Comment 2 A.J. Bonnema 2018-04-04 02:57:25 EDT
I can confirm this error on Fedora 27. A fresh install leads to the same error on import of chm.chm. It might be nice to either specify a workaround or have the package install the necessary dependencies.

I am not a python programmer, but will see if I can find out how to get the chm.chm required.

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