Changes between Initial Version and Version 2 of Ticket #50375


Ignore:
Timestamp:
Jan 19, 2016, 2:23:58 PM (8 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50375

    • Property Owner changed from macports-tickets@… to mcalhoun@…
    • Property Keywords pgplot bash removed
    • Property Summary changed from proble in running a program using pgplot in batch to problem in running a program using pgplot in batch
  • Ticket #50375 – Description

    initial v2  
    99The syntaxe to ask for an output *ps is:
    1010
     11{{{
    1112name_of_file.ps/ps
     13}}}
    1214
    1315I run a program test I did that uses pgplot in interactive way and it works.
     
    1517
    1618If I put all this in a macro (in bash) and I run in batch the program I obtain an error:
    17 
     19{{{
    1820###########
    1921Graphics device/type (? to see list, default /xServe):  %PGPLOT, Error reading device specification
    2022%PGPLOT, PGSCH: no graphics device has been selected
    2123############
    22 
     24}}}
    2325I add that this same program works correctly in bash on my previous mac (10.6.8).
    2426I also tried to write a wrong format of the output (ex: name_of_file.ps/pp) but the system does not detect the error in my new mac (as it happens in my previous mac:
    25 
     27{{{
    2628#############
    2729Graphics device/type (? to see list, default /xwin):  %PGPLOT, Invalid devide specification
     
    3032%PGPLOT, PGSCH: no graphics device has been selected
    3133#############
    32 
     34}}}
    3335In my new mac I obtain always the same message:
     36{{{
    3437###########
    3538Graphics device/type (? to see list, default /xServe):  %PGPLOT, Error reading device specification
    3639%PGPLOT, PGSCH: no graphics device has been selected
    3740############
    38 
     41}}}
    3942A difference between my previous mac and the new one is that now there is /xServe and before /xwin. I do not think that this is the problem. I tested a different mac with El Capitan (just to be sure that the problem might came from something related to my new mac) and we obtained the same problem. The version of macports is the most recent (I downloaded from the web).
    4043I had updated the ports before to install pgplot.
     
    4750This file has to be placed in the PATH (for example in the $HOME/bin).
    4851
     52{{{
    4953./test.exe
    50 
     54}}}
    5155
    5256Waiting for your answer