problem with gnuplot under windows

14 views
Skip to first unread message

mhecht

unread,
Mar 19, 2010, 7:49:24 AM3/19/10
to scitools
This error was reported earlier but I couln't reply, so I open a new
topic.

Using Gnuplot as frontend under windows results in the following
error, after the figure was shortly shown:

scitools.easyviz backend is gnuplot
<Gnuplot._Gnuplot.Gnuplot instance at 0x00FBC878>

Exception exceptions.AttributeError: "'NoneType' object has no
attribute 'unlink'" in <bound method _NewFileItem.__del__ of
<Gnuplot.PlotItems._NewFileItem instance at 0x01076238>> ignored
Exception exceptions.AttributeError: "'NoneType' object has no
attribute 'unlink'" in <bound method _NewFileItem.__del__ of
<Gnuplot.PlotItems._NewFileItem instance at 0x01076030>> ignored


In the old topic here was the solution to install a scitools version
from svn, but I can only use the binary installer. I did all that was
proposed, i.e. installing gnuplot 4.2.x and setting the appropriate
path, downloading the newest version of gnuplot.py but the error
remains.

What can I do?

Hans Petter Langtangen

unread,
Mar 20, 2010, 4:53:05 AM3/20/10
to scit...@googlegroups.com

Let the program halt after the plot, i.e., insert

raw_input('Return: ')

at the end of the program. Does the error message appear after the
printout of 'Return'? The raw_input statement also makes the plot stay
on the screen until you hit the Return key.

Hans Petter

mhecht

unread,
Mar 20, 2010, 2:39:32 PM3/20/10
to scitools
Hello Hans Petter,

I tried this and it works, i.e. the figures are shown. I tried
additionally the animation example and it seems that I get an error
for every figure. All errors are shown at the end of the sript. So it
is no error which avoids working with the gnuplot backend.
Nevertheless it is an error which should be fixed (in future).

By the way: The reason that I try to get the scitools work is, that I
bought recently your books (yes both, no. 3 and no. 6 even if only one
was necessary, but from Amazon text it was not clear ;-) ). So I think
its quite funny, that you work in this group.

Reply all
Reply to author
Forward
0 new messages