Comments (2)
Either your CHM file cannot be parsed correctly (reason not clear to me), or you
don't have access rights to the /tmp dir. In the second case, open the chm2pdf
script
and change "tmp" to your home dir in these two lines:
CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work'
CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
Before you do this, doublecheck that you have all required packages:
http://code.google.com/p/chm2pdf/wiki/HowToInstall
Original comment by [email protected]
on 25 Nov 2008 at 10:48
from chm2pdf.
the real problem is another: chm2pdf relies on a couple of os.system() over
'enum_chmLib' and 'extract_chmLib'.
These bin files are not build (and installed) by default in chmlib packages (as
they're just examples of how to use the lib).
I just made a patch to "reimplement" in python the 2 programs using the pychm
lib.
Maybe you can look at it.
(it's the `svn diff` output)
Original comment by [email protected]
on 24 Mar 2009 at 2:01
Attachments:
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 3
- 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.