From: Michael H. <mh...@al...> - 2005-10-30 21:31:29
|
Titi Anggono wrote: > [...] > here I got the message > > ============================ > Traceback (most recent call last): > [...] > File > "C:\Python23\Lib\site-packages\Gnuplot\gp_win32.py", > line 125, in __call__ > self.write(s + '\n') > IOError: [Errno 22] Invalid argument > ====================================== > > FYI, I use python2.3,Gnuplot-py-1.7 and winXP. Any > problems with my code ?? I don't use windows, but I believe that this problem usually indicates that gnuplot (i.e., the program, not the Python interface) didn't start up correctly. It could be a PATH problem, for example. If you search the mailing list archives you will see several similar questions and responses. [Including the above paragraph :-) ] I just added this question to the FAQ. Windows users are encouraged to submit a patch to produce a better error message for this situation. It would help new users a lot. (Just remember that it has to work for all windows versions.) Michael |