[Top][All Lists]

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

Re: [Gnumed-bugs] Error attempting Gnuplot on Kirk's measurement 0.9.3

From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] Error attempting Gnuplot on Kirk's measurement 0.9.3
Date: Mon, 2 May 2011 11:16:12 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, May 01, 2011 at 06:50:35PM -0700, Jim Busser wrote:

> Actually (on account of Mac excluding root files from searches, I think) I 
> missed the existence of the binary
>       /opt/local/bin/gnuplot (there is no gnuplot_x11)
> which was maybe what was called by GNUmed because post-installation I got a 
> different status line result
>       18:15 Cannot save result. Invalid or missing essential input

That must have resulted from some earlier action.

>       2011-05-01 18:15:15 DEBUG gm.forms 
> (/Users/djb/Downloads/gnumed-client.0.9.3/Gnumed/business/
>  #818): plotting args: ['gnuplot', '-p', 
> u'/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-w1Xwv4/gm2gpl-YlfykE.conf',
> u'/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-w1Xwv4/gm-G-Template-wKpASj.scr']

What do those files contain ?  One should contain a pointer
to the file actually containing the data while the other one
is a script file telling gnuplot what to do.

> 1) I did only have a single value selected in the Measurements tableā€¦ would 
> *that* have caused the "Invalid or missing essential input"?

No. You can plot a single value just fine.

> 2) if not, and if all we need to do is to help GNUmed call the proper binary, 
> shall I simply overwrite
>       /opt/local/bin/gnuplot
> with a copy of gnuplot_x11 (but calling it gnuplot) ??

Look at those gnuplot* files. What are they ?  Symlinks ? 
Binaries ?  Shell scripts ?  What does each do ?  Where in
the PATH do they show up relative to each other ?

What you want to achieve is that the first "gnuplot"
executable to be found in the PATH can plot data files and
display them in an X11 window on screen.

I would not replace/overwrite existing files. I would
suggest pointing to the one you want to run with a symlink
from somewhere "earlier" in PATH.

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]