Changes between Initial Version and Version 2 of Ticket #50375
- Timestamp:
- Jan 19, 2016, 2:23:58 PM (9 years ago)
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
toproblem in running a program using pgplot in batch
-
Ticket #50375 – Description
initial v2 9 9 The syntaxe to ask for an output *ps is: 10 10 11 {{{ 11 12 name_of_file.ps/ps 13 }}} 12 14 13 15 I run a program test I did that uses pgplot in interactive way and it works. … … 15 17 16 18 If I put all this in a macro (in bash) and I run in batch the program I obtain an error: 17 19 {{{ 18 20 ########### 19 21 Graphics device/type (? to see list, default /xServe): %PGPLOT, Error reading device specification 20 22 %PGPLOT, PGSCH: no graphics device has been selected 21 23 ############ 22 24 }}} 23 25 I add that this same program works correctly in bash on my previous mac (10.6.8). 24 26 I 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 {{{ 26 28 ############# 27 29 Graphics device/type (? to see list, default /xwin): %PGPLOT, Invalid devide specification … … 30 32 %PGPLOT, PGSCH: no graphics device has been selected 31 33 ############# 32 34 }}} 33 35 In my new mac I obtain always the same message: 36 {{{ 34 37 ########### 35 38 Graphics device/type (? to see list, default /xServe): %PGPLOT, Error reading device specification 36 39 %PGPLOT, PGSCH: no graphics device has been selected 37 40 ############ 38 41 }}} 39 42 A 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). 40 43 I had updated the ports before to install pgplot. … … 47 50 This file has to be placed in the PATH (for example in the $HOME/bin). 48 51 52 {{{ 49 53 ./test.exe 50 54 }}} 51 55 52 56 Waiting for your answer