bug-ghostscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

8.71.0: gs_lev2.ps tries to run non-existent gs_devpxl.ps


From: gabriele balducci
Subject: 8.71.0: gs_lev2.ps tries to run non-existent gs_devpxl.ps
Date: Wed, 08 Sep 2010 16:23:14 +0200

hello,

Apologies if I am missing some blatant point.

Just installed 8.71.0 and stumbled on what looks like a regression.

Upon:

    ps2pdf foo.ps

I get:

    Can't find (or open) initialization file (gs_devpxl.ps)
    While reading gs_lev2.ps:
    Error: /undefined in .uninstallpagedevice
    Operand stack:
       (gs_lev2.ps)   (gs_devpxl.ps)   (gs_devpxl.ps)
    Execution stack:
       %interp_exit   --nostringval--   --nostringval--   --nostringval--   
%array_continue   --nostringval--   --nostringval--   --nostringval--   false   
1   %stopped_push   --nostringval--   --nostringval--   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
--nostringval--
    Dictionary stack:
       --dict:770/1123(G)--   --dict:63/200(L)--   --dict:770/1123(G)--   
--dict:140/251(G)--
    Last OS error: 2


It turns out that gs_lev2.ps is actually trying to run gs_devpxl.ps,
which is not there, hence the error.

According to Details8.htm:

    2008-08-11T14:16:18.397362Z Ken Sharp

        Move the interpretation of PostScript (and PDF) color spaces from 
PostScript into C. 

        DETAILS:
        This has required a large number of changes, there are a few new .c or 
.h files, a
        number of PostScript files have been removed, and a few others 
simplified. A few
        documentation '.htm' files have also been modified to reflect these 
changes.


        [src/int.mak src/zpcolor.c src/zicc.c Resource/Init/gs_devn.ps
        src/zcssepr.c Resource/Init/gs_cspace.ps src/zcie.c src/zicc.h
        src/zcie.h src/zcspixel.c Resource/Init/gs_lev2.ps
        Resource/Init/gs_ciecs3.ps Resource/Init/gs_sepr.ps src/zcolor.c
        src/ifunc.h src/zfunc4.c src/zcsdevn.c src/zcolor.h
        Resource/Init/gs_patrn.ps src/zfsample.c doc/Develop.htm
        src/zfunc.c Resource/Init/gs_ll3.ps src/zcsindex.c doc/Psfiles.htm
        Resource/Init/gs_icc.ps Resource/Init/gs_devpxl.ps src/gscolor2.h
        Resource/Init/gs_init.ps Resource/Init/gs_devcs.ps
        Resource/Init/gs_indxd.ps Resource/Init/gs_ciecs2.ps]

So, as I understand it, it is right that gs_devpxl.ps is not there,
but it is wrong that gs_lev2.ps tries to run it.
There are no calls to gs_devpxl.ps in 8.64.0 (the version I used
before upgrading)

Looking into gs_lev2.ps, I find other "wrong" (see above) calls:


    % Add the level 2 color spaces
    % DevicePixel is actually a LanguageLevel 3 feature; it is here for
    % historical reasons.
    %% Replace 1 (gs_devpxl.ps) 
    (gs_devpxl.ps) runlibfile

    %% Replace 1 (gs_ciecs2.ps)
    (gs_ciecs2.ps) runlibfile

    %% Replace 1 (gs_indxd.ps)
    (gs_indxd.ps) runlibfile

    %% Replace 1 (gs_sepr.ps)
    (gs_sepr.ps) runlibfile

    %% Replace 1 (gs_patrn.ps)
    (gs_patrn.ps) runlibfile


I hope to have been of some use

Thanks a lot for maintaining such a precious and useful piece of code!


ciao
gabriele

-- 
Gabriele Balducci - Dipartimento di Scienze Chimiche - Via L. Giorgieri 1
I-34127 TRIESTE tel: I-040-5583957 fax: I-040-5583903 e-mail: address@hidden
Please, if possible, don't send me MS Word or PowerPoint attachments
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]