1 |
I have a project which uses a perl program to run the ps2pdf command. |
2 |
It fails when run by the perl program but works fine when run by me |
3 |
from the command line. No environment variables are changed -- the |
4 |
perl program is pretty harmless. This is really frustrating -- I can |
5 |
literally print the proposed command from the perl program, copy and |
6 |
paste it into the same shell window, and it runs fine, no errors and |
7 |
the ps is converted to pdf nicely. |
8 |
|
9 |
Here is the complaint from ps2pdf: |
10 |
|
11 |
/usr/bin/ps2pdf13 /tmp/print-32248.ps /tmp/print-32248.pdf |
12 |
Error: /undefinedfilename in (/tmp/print-32248.ps) |
13 |
Operand stack: |
14 |
|
15 |
Execution stack: |
16 |
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push |
17 |
Dictionary stack: |
18 |
--dict:1117/1686(ro)(G)-- --dict:0/20(G)-- --dict:80/200(L)-- |
19 |
Current allocation mode is local |
20 |
Last OS error: 2 |
21 |
ESP Ghostscript 815.01: Unrecoverable error, exit code 1 |
22 |
|
23 |
I have been working on this on and off on several systems, only one of |
24 |
which is gentoo. It has generally been the same on all systems, |
25 |
except for the gtk libs on this machine (rPath) being sufficiently out |
26 |
of date that firefox 2 beta 4 won't run. But this has nothing to do |
27 |
with firefox. |
28 |
|
29 |
Google shows that the most common cause of this error is spaces in |
30 |
file names. But this name has none, and even removing thedash doesn't |
31 |
change it. |
32 |
|
33 |
I am going to start simplifying the perl wrapper, but that's a slow |
34 |
tweaky road. Does anyone have experience with this error from ps2pdf? |
35 |
|
36 |
-- |
37 |
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. |
38 |
Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com |
39 |
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 |
40 |
I've found a solution to Fermat's Last Theorem but I see I've run out of room o |
41 |
-- |
42 |
gentoo-user@l.g.o mailing list |