Bug 680371 - [abrt] chm2pdf-0.9.1-9.fc14: chm2pdf:116:get_objective_urls_list:IOError: [Errno 2] No such file or directory: '/tmp/tmpse2feC/A Practical Guide to Linux Commands, Editors, and Shell Programming - By ____________Mark G. Sobell/urlslist.txt'
Summary: [abrt] chm2pdf-0.9.1-9.fc14: chm2pdf:116:get_objective_urls_list:IOError: [Er...
Keywords:
Status: CLOSED DUPLICATE of bug 666110
Alias: None
Product: Fedora
Classification: Fedora
Component: chm2pdf
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Narasimhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c36d0002
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-25 10:09 UTC by pleabargain
Modified: 2011-05-14 10:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-14 10:35:27 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (979 bytes, text/plain)
2011-02-25 10:09 UTC, pleabargain
no flags Details

Description pleabargain 2011-02-25 10:09:56 UTC
abrt version: 1.1.17
architecture: i686
component: chm2pdf
executable: /usr/bin/chm2pdf
kernel: 2.6.35.11-83.fc14.i686
package: chm2pdf-0.9.1-9.fc14
reason: chm2pdf:116:get_objective_urls_list:IOError: [Errno 2] No such file or directory: '/tmp/tmpse2feC/A Practical Guide to Linux Commands, Editors, and Shell Programming - By ____________Mark G. Sobell/urlslist.txt'
release: Fedora release 14 (Laughlin)
time: 1298028846
uid: 500

backtrace
-----
chm2pdf:116:get_objective_urls_list:IOError: [Errno 2] No such file or directory: '/tmp/tmpse2feC/A Practical Guide to Linux Commands, Editors, and Shell Programming - By ____________Mark G. Sobell/urlslist.txt'

Traceback (most recent call last):
  File "/usr/bin/chm2pdf", line 1098, in <module>
    main(sys.argv)
  File "/usr/bin/chm2pdf", line 1092, in main
    convert_to_pdf(cfile, filename, outputfilename, options)
  File "/usr/bin/chm2pdf", line 318, in convert_to_pdf
    objective_urls=get_objective_urls_list(filename)
  File "/usr/bin/chm2pdf", line 116, in get_objective_urls_list
    flist=open(CHM2PDF_WORK_DIR+'/urlslist.txt','rU')
IOError: [Errno 2] No such file or directory: '/tmp/tmpse2feC/A Practical Guide to Linux Commands, Editors, and Shell Programming - By ____________Mark G. Sobell/urlslist.txt'

Local variables in innermost frame:
filename: 'A Practical Guide to Linux Commands, Editors, and Shell Programming - By ____________Mark G. Sobell.chm'

How to reproduce
-----
1.didn't know chm2pdf HAD crashed at all
2.
3.

Comment 1 pleabargain 2011-02-25 10:09:58 UTC
Created attachment 480965 [details]
File: backtrace

Comment 2 Narasimhan 2011-02-25 17:40:04 UTC
I was able to reproduce the issue.

A possible workaround is to make a copy/rename  the source chm file  so that it doesn't have any spaces in between.

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

Comment 3 Narasimhan 2011-05-14 10:28:19 UTC
If the above solution does not work even after renaming, you could try --webpage option. ie.,

chm2pdf --webpage test.chm test.pdf

Comment 4 Narasimhan 2011-05-14 10:35:05 UTC
This bug 666110 gives the same error and the cause may be the same. I am planning to provide a patch fix that prevents the crash from occuring.

Marking this one as duplicate of 666110.

Comment 5 Narasimhan 2011-05-14 10:35:27 UTC

*** This bug has been marked as a duplicate of bug 666110 ***


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