-
slayoo committed patchset 1006 of module gdl to the GDL - GNU Data Language CVS repository, changing 3 files.
2009-11-17 00:11:35 UTC in GDL - GNU Data Language
-
Hello,
The problem seem to be caused by the "incompleteness" of the plplot installation - it lacks the xwin driver.
On Ubuntu, for example, it's neccesarry to install the plplot9-driver-xwin package to enable plplot to work with X-windows.
Anyhow, I've changed the way GDL reacts to such situation (CVS version):
GDL> plot, sin(findgen(100))
% PLOT: plPlot installation lacks...
2009-11-16 23:54:52 UTC in GDL - GNU Data Language
-
slayoo committed patchset 1005 of module gdl to the GDL - GNU Data Language CVS repository, changing 13 files.
2009-11-16 23:52:10 UTC in GDL - GNU Data Language
-
Thanks for reporting it.
Here's a backtrace (I've reproduced the situation with an empty startup file)
Program received signal SIGSEGV, Segmentation fault.
AddLineOffset (lineOffset=0, astR={ref = 0x7fff14928a30}) at dnode.hpp:163
163 if( lineNumber != 0 || BaseAST::getFirstChild() == NULL)
(gdb) bt
#0 AddLineOffset (lineOffset=0, astR={ref = 0x7fff14928a30}) at dnode.hpp:163...
2009-11-12 12:56:28 UTC in GDL - GNU Data Language
-
Hello,
I've tried the code on the current CVS version on Linux and OSX, and in both cases the result was consistent with IDL:
GDL> $echo blabla > testfile.txt
GDL> line=''
GDL> openr,gfile,'testfile.txt',/get_lun
GDL> readf, gfile, line
GDL> PRINT, EOF(gfile)
1
If possible, please provide some more details concerning your platform and GDL version.
Regards,
Sylwester.
2009-11-11 19:58:40 UTC in GDL - GNU Data Language
-
Thanks for reporting it.
It's now fixed in the CVS version:
GDL> streg="([a-z]+://)?([^/\:?]+\.[^/\:?]+)?(:[0-9]+)?(/?[^#?]+)?(\?[^#]+)?(#.+)?"
GDL> PRINT, STREGEX("bla.vla",streg,/SUB, /EXTRA)
bla.vla bla.vla
Regards,
Sylwester.
2009-11-11 18:58:38 UTC in GDL - GNU Data Language
-
slayoo committed patchset 1003 of module gdl to the GDL - GNU Data Language CVS repository, changing 1 files.
2009-11-11 18:42:58 UTC in GDL - GNU Data Language
-
Thanks for reporting it and for the testfile.
Quoting authors of the gzstream wrapper the is used to implement /COMPRESS keyword (http://www.cs.unc.edu/Research/compgeom/gzstream/):
... What's Missing: - Seek. The zlib library provides the necessary functionality, but we have not realized that in the wrapper (yet? ;-)...
So, that would probably be the starting point to fix it...
2009-11-11 13:37:43 UTC in GDL - GNU Data Language
-
Hello,
In case you're compiling using gcc 4.4 this might help:
http://gnudatalanguage.cvs.sourceforge.net/viewvc/gnudatalanguage/gdl/src/antlr/CharScanner.hpp?r1=1.2&r2=1.3
(ie. try adding #include in the CharScanner.hpp file)
Sylwester.
2009-11-11 13:08:17 UTC in GDL - GNU Data Language
-
slayoo committed patchset 1002 of module gdl to the GDL - GNU Data Language CVS repository, changing 1 files.
2009-11-11 12:24:40 UTC in GDL - GNU Data Language