Search found 6 matches

by pphilw
2014-04-18T14:26:04-07:00
Forum: Bugs
Topic: identify fails if called from scanadf script
Replies: 8
Views: 6748

Re: identify fails if called from scanadf script

Is 001.pnm.pdf actually created by your script?
yes
by pphilw
2014-04-07T21:14:04-07:00
Forum: Bugs
Topic: identify fails if called from scanadf script
Replies: 8
Views: 6748

Re: identify fails if called from scanadf script

Interestingly, it works if I execute this in my scanadf script like this: ssh localhost identify /home/xxx/test.pdf But this cannot be the "right" solution. I tried to execute it using "bash -c" and "bash -l -c", but none of those work. Clearly, the "ssh-trick" is not a viable workaround, though.
by pphilw
2014-04-07T20:54:31-07:00
Forum: Bugs
Topic: identify fails if called from scanadf script
Replies: 8
Views: 6748

Re: identify fails if called from scanadf script

Thanks for the suggestion, but this does not help, either. I created a file test.pdf in my home directory, and the script called from scanadf only executes "identify /home/xxx/test.pdf". Here is the output: identify: `%s' (%d) "gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap ...
by pphilw
2014-04-07T12:37:57-07:00
Forum: Bugs
Topic: identify fails if called from scanadf script
Replies: 8
Views: 6748

Re: identify fails if called from scanadf script

Thanks. But ghostscript is in the "standard" path ( /usr/bin/gs ). Also, the scanadf script inherits the shell environment (I checked by executing "env" from within the script). Any idea how to debug this further?
by pphilw
2014-04-06T23:04:33-07:00
Forum: Bugs
Topic: identify fails if called from scanadf script
Replies: 8
Views: 6748

identify fails if called from scanadf script

I have a script, which is called from scanadf. It converts the scanned pnm to a pdf file, and then calls identify. that call gives the following error: identify: `%s' (%d) "gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw ...