PDFMaker 0.3 - help beta test!

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.

Moderator: peterZ

loyukfai
Posts: 43
Joined: 24 Jan 2011, 02:37

Re: PDFMaker 0.3 - help beta test!

Post 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!
User avatar
Misty
Posts: 481
Joined: 06 Nov 2009, 12:20
Number of books owned: 0
Location: Frozen Wasteland

Re: PDFMaker 0.3 - help beta test!

Post 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.
The opinions expressed in this post are my own and do not necessarily represent those of the Canadian Museum for Human Rights.
loyukfai
Posts: 43
Joined: 24 Jan 2011, 02:37

Re: PDFMaker 0.3 - help beta test!

Post by loyukfai »

Noted with thanks!
Post Reply