Thanks Eric,

It was the path.  IDLE's default dir is '/'.  
Issuing the following made things work.
Gnuplot.GnuplotOpts.gnuplot_command = '/usr/local/bin/gnuplot'

Thanks again.

On Feb 9, 2006, at 12:19 PM, Eric Pettersen wrote:

Hi John,
Where did you install gnuplot (the program, not the module)?  The execution path (os.environ['PATH']) is considerably different in standalone Python than in Chimera's IDLE shell.  I suspect that the gnuplot executable is not on IDLE's PATH (the Gnuplot module by default tries to run gnuplot simply as 'gnuplot').  If the problem is with PATH, your options include modifying os.environ['PATH'] before importing Gnuplot, or changing the Gnuplot module's options like so:

        import Gnuplot
        Gnuplot.GnuplotOpts.gnuplot_command = '/bin/mygnuplot'

--Eric

                        Eric Pettersen
                        UCSF Computer Graphics Lab
                        pett@cgl.ucsf.edu
                        http://www.cgl.ucsf.edu


On Feb 8, 2006, at 6:01 PM, John Robinson wrote:

Dear chimera power-users:

I can use the gnuplot.py library from the python command line without  
issue.  However, when I try to do the same in IDLE under chimera, I  
get a broken pipe error.

  Any suggestions?

--John

--------------------------------------------
John M. Robinson, M.D., Ph.D.



_______________________________________________
Chimera-users mailing list


--------------------------------------------
John M. Robinson, M.D., Ph.D.
mailto:johnmrobinson@mac.com