Hi there:
First of all, many thanks to all of you for contributing to this forum. I've been lurking here for quite some time trying to learn as much as I can. I just acquired a Kindle and was looking for a better method to transferring my pdfs to the Kindle. Per this thread, I was able to install all of the packages. However, I keep on getting an error and only the first page gets processed.
The error I get is the following:
Temporary directory: /var/folders/mA/mAM-fCWAFOaq2F68laHB0E+++TI/-Tmp-/pdfread-JwOKDk
Page 1/39: EXTRACT RASTERIZE CROP DILATE SAVE Traceback (most recent call last):
File "/Users/john/Desktop/src/pdfread.py", line 207, in <module>
main()
File "/Users/john/Desktop/src/pdfread.py", line 84, in main
options.unpaper_args, options.no_crop, options.no_dilate)
File "/Users/john/Desktop/src/pdfread.py", line 63, in convert
output.add_page(page, mode_tranform(image))
File "/Users/john/Desktop/src/common.py", line 153, in add_page
self.downsample(image, filename)
File "/Users/john/Desktop/src/common.py", line 163, in downsample
call('pngnq', '-fs', '1', '-n', str(self.colors), 'page.png')
File "/Users/john/Desktop/src/common.py", line 201, in call
stderr = subprocess.STDOUT)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1079, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
MacBook:src john$
I did notice that although I installed Python 2.6, only 2.5 is reflected here. Other than that, I can't figure out why this is not working with OS X. Anyone more knowledgeable can offer any insights? I've spent all day trying to figure this out and I want to fling my MacBook out the window (but can't because its new!)
I notice that some of the directions are unclear (some say to install pngnq and the latest pdfread source code does not make any mention of it)
Quote:
Originally Posted by sammykrupa
I think I will wait for 1.8.
Thanks!
Sam Krupa
|