Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#92 it crashes when filename has % in it.

open
nobody
None
9
2008-06-28
2008-06-28
dealmaker
No

I try this on both 0.36 and 0.40a. When I put "pdftohtml -c filename%1.pdf" or "pdftohtml -c filename%1.pdf filename%1.html", it craches with following errors. No error if I rename the file to filename1.pdf.

$ pdftohtml -c tb-%027.pdf
Page-1
Page-2
Page-3
Page-4
Page-5
Page-6
Page-7
Page-8
Page-9
Error: /undefinedfilename in --showpage--
Operand stack:
1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1889 1 3 %oparray_pop 1888 1 3 %oparray_pop 1872 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1761 0 5 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:1153/1684(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)-- --dict:65/75(L)-- --dict:18/25(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 38845
GPL Ghostscript SVN PRE-RELEASE 8.61: Unrecoverable error, exit code 1
Error: Failed to launch Ghostscript!

Discussion

  • dealmaker
    dealmaker
    2008-06-28

    • priority: 5 --> 9
     
  • dealmaker
    dealmaker
    2008-06-29

    Logged In: YES
    user_id=963430
    Originator: YES

    Does anyone know how to fix it?