Bug 1469245

Summary: Crash on a fresh install
Product: [Fedora] Fedora Reporter: Mario <fingerblaster>
Component: chm2pdfAssignee: Pavel Alexeev <pahan>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 26CC: gbonnema, ozbekanil, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-29 12:29:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mario 2017-07-10 17:29:01 UTC
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:
Always

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                                                                  
    <module>                                                                                                                             
        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 21:50:16 UTC
// added to cc list
// duplicate bug report:
// https://bugzilla.redhat.com/show_bug.cgi?id=1486949

Comment 2 A.J. Bonnema 2018-04-04 06:57:25 UTC
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.

Comment 3 Fedora End Of Life 2018-05-03 08:10:22 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. 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 EOL if it remains open with a Fedora  'version'
of '26'.

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.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 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, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

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.

Comment 4 Fedora End Of Life 2018-05-29 12:29:56 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.