gnumed-bugs
[Top][All Lists]
Advanced

[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: Jim Busser
Subject: Re: [Gnumed-bugs] Error attempting Gnuplot on Kirk's measurement 0.9.3
Date: Sun, 01 May 2011 18:50:35 -0700

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

and the last line in my log file is

        2011-05-01 18:15:15 DEBUG gm.forms 
(/Users/djb/Downloads/gnumed-client.0.9.3/Gnumed/business/gmForms.py::generate_output()
 #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']
 

BUT

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

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) ??
        
-- Jim

On 2011-05-01, at 6:40 PM, Jim Busser wrote:

> On 2011-05-01, at 3:08 AM, Karsten Hilbert wrote:
> 
>>> MacPorts offers gnuplot 4.4.3_0
>> 
> 
> Is it fine to keep posting in -bugs or do you want these back at -devel?
> 
> When I install the MacPorts 'gnuplot' package, it installs two binaries 
> gnuplot and gnuplot_x11 …
> 
> On account of prior limitations with python26 not respecting the MacPorts 
> build_arch flag (therefore ignoring any dependents which can only be compiled 
> in 32 bit) and wxwidget limitations when I built my MacPorts, I am using 
> GNUmed in X11 and so I expect my GNUmed should try to call gnuplot_x11?
> 
> The installed-binaries locations are
> 
>       /opt/local/var/macports/software/gnuplot/4.4.3_0/opt/local/bin/gnuplot
>       /opt/local/libexec/gnuplot/4.4/gnuplot_x11 
> 
> and a plain text settings file for the x11 version gets installed in
> 
>       /opt/local/share/gnuplot/4.4/app-defaults/Gnuplot
> 
> So my questions are:
> 
> 1) should I add to my PATH
> 
>       /opt/local/libexec/gnuplot/4.4/
> 
> 2) is there anything about the default settings (see below) which looks like 
> any problem?
> 
> 3) do you think GNUmed should have any adjustment for this gnuplot_x11 or in 
> place of adjusting gnumed should I create a symlink
> 
>       gnuplot --> gnuplot_x11
> 
> somewhere in my PATH? (I am assuming this will let GNUmed try to "call" 
> gnuplot without having to know the call will be routed to gnuplot_x11?)
> 
> -- Jim



reply via email to

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