Menu

#32 Error: /syntaxerror in /----nostringval----

v1.0_(example)
closed
None
1
2021-11-22
2021-11-15
No

When using pstoedit version 3.77 to convert eps or pdf into metapost (-f mpost) I get the following error:

pstoedit: version 3.77 / DLL interface 108 (built: Sep 4 2021 - release build - g++ 11.2.0 - 64-bit) : Copyright (C) 1993 - 2021 Wolfgang Glunz
Error: /syntaxerror in /----nostringval----
Operand stack:
false dumptextstring
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop 1834 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
Dictionary stack:
--dict:1215/1684(G)-- --dict:0/20(G)-- --dict:281/300(L)--
Current allocation mode is global
GPL Ghostscript RELEASE CANDIDATE 1 9.55.0: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dDELAYSAFER -dNOEPS "/tmp/psinHFMuMW"
The interpreter seems to have failed, cannot proceed !

I have tried it with ghostscript 9.54 and 9.55 but with the same error.
Using pstoedit 3.75 with the above ghostscript versions works just fine.

Discussion

  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-15

    Please provide me an example input file for the problem.
    Thanks
    Wolfgang

     
  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-15
    • assigned_to: Wolfgang Glunz
     
  • Reviczky Ádám János

    Hi Wolfgang,

    I first wanted to try this one: I have downloaded this svg and used inkscape (1.1.1) to save it as an eps - https://www.jpmorgan.com/onyx/images/logo.svg
    See attachment logo.eps

     

    Last edit: Reviczky Ádám János 2021-11-15
  • Reviczky Ádám János

    But really it happens with any eps/pdf I save with inkscape, I have attached you a much simpler eps export of a cirlce: see circle.eps

    Could it be an issue with how inkscape is exporting the files?

     
  • Reviczky Ádám János

    Then the following commands:

    pstoedit -f mpost circle.eps circle.mp
    pstoedit: version 3.77 / DLL interface 108 (built: Sep 4 2021 - release build - g++ 11.2.0 - 64-bit) : Copyright (C) 1993 - 2021 Wolfgang Glunz
    Error: /syntaxerror in /----nostringval----
    Operand stack:
    false dumptextstring
    Execution stack:
    %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop 1834 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
    Dictionary stack:
    --dict:1215/1684(G)-- --dict:0/20(G)-- --dict:281/300(L)--
    Current allocation mode is global
    GPL Ghostscript RELEASE CANDIDATE 1 9.55.0: Unrecoverable error, exit code 1
    PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dDELAYSAFER -dNOEPS "/tmp/psinnzpDpH"
    The interpreter seems to have failed, cannot proceed !

    pstoedit -f mpost logo.eps logo.mp
    pstoedit: version 3.77 / DLL interface 108 (built: Sep 4 2021 - release build - g++ 11.2.0 - 64-bit) : Copyright (C) 1993 - 2021 Wolfgang Glunz
    Error: /syntaxerror in /----nostringval----
    Operand stack:
    false dumptextstring
    Execution stack:
    %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop 1834 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
    Dictionary stack:
    --dict:1215/1684(G)-- --dict:0/20(G)-- --dict:281/300(L)--
    Current allocation mode is global
    GPL Ghostscript RELEASE CANDIDATE 1 9.55.0: Unrecoverable error, exit code 1
    PostScript/PDF Interpreter finished. Return status 256 executed command : gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dDELAYSAFER -dNOEPS "/tmp/psiny8OPRK"
    The interpreter seems to have failed, cannot proceed !

     
  • Reviczky Ádám János

    By only downgrading pstoedit from 3.77 to 3.75, the conversion succeeds without any errors and the metapost file is fine.

    I am using the following versions from Ubuntu:
    ii inkscape 1.1.1-2ubuntu2 amd64 vector-based drawing program
    ii ghostscript 9.55.0~~rc1~dfsg-1 amd64 interpreter for the PostScript language and for PDF
    ii pstoedit 3.77-1 amd64 PostScript and PDF files to editable vector graphics converter

     
  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-22
    • status: open --> closed
     
  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-22

    fixed in 3.78

     

Log in to post a comment.