lua-users home
lua-l archive

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


On 4 February 2012 22:51, Francesco Abbate <francesco.bbt@gmail.com> wrote:
> I'm glad to announce the release of GSL Shell 2.1.

Are the examples updated for 2.1? Out of all the examples, only few
seem to work, with others failing on various errors like "attempt to
call field 'rng' (a nil value)" and "attempt to call global 'vector'
(a nil value)". A full log is included in attachment...
$ for e in examples/*lua; do echo "========== $e ========="; echo 'if demo1 then demo1() end' | ./gsl-shell -i $e >/dev/null; done
========== examples/cspline-example.lua =========
./gsl-shell: examples/cspline-example.lua:36: attempt to call global 'ilist' (a nil value)
stack traceback:
	examples/cspline-example.lua:36: in main chunk
	[C]: ?
========== examples/eigensystems.lua =========
examples/eigensystems.lua:9: attempt to call global 'new' (a nil value)
stack traceback:
	examples/eigensystems.lua:9: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/fractals.lua =========
examples/fractals.lua:21: attempt to perform arithmetic on a nil value
stack traceback:
	examples/fractals.lua:21: in function '(for generator)'
	./graph-init.lua:30: in function 'ipath'
	examples/fractals.lua:50: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/interp.lua =========
examples/interp.lua:13: attempt to call global 'interp' (a nil value)
stack traceback:
	examples/interp.lua:13: in function 'interp_plot'
	examples/interp.lua:24: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/minimize.lua =========
examples/minimize.lua:65: attempt to call global 'vector' (a nil value)
stack traceback:
	examples/minimize.lua:65: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/optical-disp.lua =========
./gsl-shell: examples/optical-disp.lua:2: module 'disp' not found:
	no field package.preload['disp']
	no file './disp.lua'
	no file './templates/disp.lua.in'
	no file '/usr/local/share/luajit-2.0.0-beta9/disp.lua'
	no file '/usr/local/share/gsl-shell/2.1/disp.lua'
	no file '/usr/local/share/gsl-shell/2.1/disp/init.lua'
	no file '/usr/local/share/gsl-shell/2.1/templates/disp.lua.in'
	no file './disp.so'
	no file '/usr/local/lib/gsl-shell/2.1/disp.so'
	no file '/usr/local/lib/gsl-shell/2.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	examples/optical-disp.lua:2: in main chunk
	[C]: ?
========== examples/qr-lssolve.lua =========
examples/qr-lssolve.lua:7: attempt to call global 'rng' (a table value)
stack traceback:
	examples/qr-lssolve.lua:7: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/randist.lua =========
examples/randist.lua:9: attempt to call global 'plot' (a nil value)
stack traceback:
	examples/randist.lua:9: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/sige.lua =========
./gsl-shell: examples/sige.lua:9: attempt to call global 'matrix' (a table value)
stack traceback:
	examples/sige.lua:9: in function 'read_data'
	examples/sige.lua:39: in main chunk
	[C]: ?
========== examples/vandermonde.lua =========
examples/vandermonde.lua:4: attempt to call field 'rng' (a nil value)
stack traceback:
	examples/vandermonde.lua:4: in function 'demo1'
	stdin:1: in main chunk
	[C]: ?
========== examples/zernike.lua =========
./gsl-shell: examples/zernike.lua:33: attempt to call global 'ilist' (a nil value)
stack traceback:
	examples/zernike.lua:33: in main chunk
	[C]: ?