Comments (4)
Hi there! I just had the same problem. My issue was that the filename had
spaces in
it, which seems to have generated temporary files with wonky names that chm2pdf
couldn't use later! As a quick fix, rename your file to one that has no spaces
(or
other characters that don't mesh well with linux).
Original comment by [email protected]
on 16 Oct 2009 at 4:52
from chm2pdf.
ok
Original comment by amareshchandradas2005
on 16 Oct 2009 at 5:21
from chm2pdf.
the command was chm2pdf --book autoinstall.chm
rm: cannot remove `/tmp/chm2pdf/orig/autoinstall/*': No such file or directory
rm: cannot remove `/tmp/chm2pdf/work/autoinstall/*': No such file or directory
sh: /tmp/chm2pdf/work/autoinstall/urlslist.txt: No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/chm2pdf", line 1111, in <module>
main(sys.argv)
File "/usr/local/bin/chm2pdf", line 1107, in main
convert_to_pdf(cfile, filename, outputfilename, options)
File "/usr/local/bin/chm2pdf", line 326, in convert_to_pdf
objective_urls=get_objective_urls_list(filename)
File "/usr/local/bin/chm2pdf", line 114, in get_objective_urls_list
flist=open(CHM2PDF_WORK_DIR+'/urlslist.txt','rU')
IOError: [Errno 2] No such file or directory:
'/tmp/chm2pdf/work/autoinstall/urlslist.txt'
Original comment by [email protected]
on 25 Jan 2010 at 9:28
from chm2pdf.
I issue 3 I postet a patch that should fix this problem.
See also https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/894193
Original comment by [email protected]
on 24 Nov 2011 at 9:32
from chm2pdf.
Related Issues (20)
- Filename with space gives error HOT 1
- It is no longer necessary to compile your own chmlib, wiki update requested.
- OError: [Errno 21] Is a directory HOT 2
- No tables in output file HOT 1
- some defensive safety net for string parsing in get_objective_urls_list(filename)
- orig and work directories destroyed after chm2pdf completes
- exit value: 16640
- crash on debian squeeze
- SGML parser error "unexpected '\xbd' char in declaration" while converting a chm to pdf
- chm2pdf crashes on CHM file HOT 1
- chm2pdf deletes data directories when --extract-only is used
- Error when chm2pdf starts
- Multiple pages generated instead of one HOT 2
- First color in form #00ff00 removed after a link HOT 2
- but no effort is done in chm2pdf to delete javascript HOT 1
- links not working in the PDF with upper/lower case spelling error HOT 1
- Images not rendered in PDF due to upper/lower case spelling error HOT 1
- Last page of CHM incompletly rendered or missing
- Failed if the file name contain a single-quote \'
- "List index out of range" error when CHM contain spaces in internal file structure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chm2pdf.