Page 6 of 6

Re: PDFMaker 0.3 - help beta test!

Posted: 30 Jun 2011, 07:36
by loyukfai
Got these errors. Corresponding PDF files created in \txt and \out, but only the one outputted as B/W by ScanTailor works, the rest are 0 byte size. No single complete PDF.

Code: Select all

Splitting c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\DSC_2685.tif.
..
Splitting c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\DSC_2686.tif.
..
Splitting c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\DSC_2687.tif.
..
Splitting c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\DSC_2688.tif.
..
Splitting c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\DSC_2689.tif.
..
 done
Running jbig2enc...gm identify: Request did not return an image.
Unable to open "c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\txt\000
1.tif"Traceback (most recent call last):
  File "pdf.py", line 168, in <module>
TypeError: usage() takes exactly 2 arguments (1 given)
TIFFFetchDirectory: TIFFstream: Can not read TIFF directory.
TIFFReadDirectory: TIFFstream: Failed to read directory at offset 0.
Error in findTiffCompression: tif not opened
JBIG2 compression complete. pages:1 symbols:64 log2:6
gm identify: Request did not return an image.
Unable to open "c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\txt\000
3.tif"Traceback (most recent call last):
  File "pdf.py", line 168, in <module>
TypeError: usage() takes exactly 2 arguments (1 given)
gm identify: Request did not return an image.
Unable to open "c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\txt\000
4.tif"Traceback (most recent call last):
  File "pdf.py", line 168, in <module>
TypeError: usage() takes exactly 2 arguments (1 given)
gm identify: Request did not return an image.
Unable to open "c:\Users\Lo Yuk Fai (Testbed)\Desktop\pdfmaker 0.3\trial\txt\000
5.tif"Traceback (most recent call last):
  File "pdf.py", line 168, in <module>
TypeError: usage() takes exactly 2 arguments (1 given)
 done
Running ImageMagick... done
Running pdftk... done!
All done! Finished processing files.
BTW, it doesn't work at all if I use ".\whatever" as the directory name, but instead have to give it the full path.

Any idea...?

Cheers.

P.S. And if it's possible to put the relevant ImageMagick and GraphicsMagick files in the PDFMaker directory to make it a portable solution...? Thx!

Re: PDFMaker 0.3 - help beta test!

Posted: 04 Jul 2011, 11:47
by Misty
PDFMaker is not really supported anymore - I'll update the original post to reflect that.

It doesn't really have very good error handling, but what that suggests to me is that either you don't have GraphicsMagick installed, or you don't have it in the path. The "path" is the set of directories that Windows will search for programs in. If you're not installing GraphicsMagick, but just extracted it from a directory, then you need to extract it to the same directory where PDFMaker is.

Re: PDFMaker 0.3 - help beta test!

Posted: 04 Jul 2011, 22:52
by loyukfai
Noted with thanks!