gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
277 stars 61 forks source link

lots of plplot error messages when ploting after special "window" sequence #1835

Closed brandy125 closed 6 months ago

brandy125 commented 6 months ago

I installed the latest version without problems in the usual way but now I get lots of error messages from plplot when executing the commands below in exactly that sequence:

bash$ gdl
  GDL - GNU Data Language, Version v1.0.5
- For basic information type HELP,/INFO
- Default library routine search path used (GDL_PATH/IDL_PATH env. var. not set): /usr/local/bin/../share/gnudatalanguage/lib
- Using WxWidgets as graphics library (windows and widgets).
- Using local drivers in /usr/local/bin/../share/gnudatalanguage/drivers
- Please report bugs, feature or help requests and patches at: https://github.com/gnudatalanguage/gdl

GDL> 
GDL> window,2
GDL> window,/free
GDL> window,2
GDL> wset,32
GDL> plot,findgen(10)

*** PLPLOT ERROR, ABORTING OPERATION ***
plvpor: Please call plinit first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plwind: Please set up viewport first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
pleop: Please call plinit first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plbop: Please call plinit first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plvpor: Please call plinit first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plwind: Please set up viewport first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plcol1: Please call plinit first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plwind: Please set up viewport first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***
plstyl: Please call plinit first, aborting operation
...
GillesDuvert commented 6 months ago

@brandy125 could you pls comment out line 227 in gdlgstream.hpp? line says plend1(); //strange. Was expected ...

brandy125 commented 6 months ago

Yes! Worked!

Thanks!

On 22. May 2024, at 18:53, Giloo @.***> wrote:

@brandy125 https://github.com/brandy125 could you pls comment out line 227 in gdlgstream.hpp? line says plend1(); //strange. Was expected ...

— Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/1835#issuecomment-2125833546, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOC5K6E6R6CW47O2SNTEWVLZDUHW3AVCNFSM6AAAAABIDSGW3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVHAZTGNJUGY. You are receiving this because you were mentioned.

GillesDuvert commented 6 months ago

regression (?? ?line was uncommented???) corrected (above) but implies an update of 1.0.5