Hi folks,
I am new to Lammps and pizza.py.
When I try to run test_gnu.py, I encounter the following error messages
>@run test_gnu.py
Executing file: ./test_gnu.py
Error in sys.excepthook:
Traceback (most recent call last):
File “C:\Python24\Lib\site-packages\pizza\tools\pizza.py”, line 221, in trap
execfile(fullfile, namespace)
File “./test_gnu.py”, line 18, in ?
g.plot(a,b,b,a)
File “C:\Python24\Lib\site-packages\pizza\tools\gnu.py”, line 145, in plot
Self.draw()
File “C:\Python24\Lib\site-packages\pizza\tools\gnu.py”, line 325, in draw self.call(cmd)
File “C:\Python24\Lib\site-packages\pizza\tools\gnu.py”, line 119, in__call__
Self.GNUPLOT.write(command +’\n’)
IOError: [Errno 22] Invalid argument
Original exception was:
File “”, line 1
@run test_gnu.py
Below is some information about the setting of my computer :
-
pizza.py-1Oct2006 is running with Python2.4 on windows vista;
-
gnuplot version 4.4 either for windows or ms-dos (I tried both but neither of them is working; I downloaded the binary version and just simply unzipped to a directory without installation; then “gnuplot.ext” path is added to the DEFAULTS.py file);
-
I make the following changes to “DEFAULTS.py” of the pizza.py
PIZZA_GNUPLOT = “C:\Users\taomj\gnuplot\bin\gnuplot”
PIZZA_GNUTERM = “svga”
Many thanks for your advice and help in advance!
Mingjiang