On Thu, 2011-05-12 at 22:14 +1200, Hamish wrote:
> In xpbsmon if I click the [Pref..] button to change the server name from the
> default "torqueserver" to my local one, I get a tcl popup error:
>
> bad variable name "pref.top.box1(entryval,1)": upvar won't create a scalar
> variable that looks like an array element
> while executing
> "global [set [set menuName](textvariable)]"
> (procedure "menuEntry" line 50)
I think this happens since the change from Tcl/Tk 8.4 to 8.5.
Does this following patch work for you?
+++ /usr/lib/xpbsmon/entry.tk @@ -321,7 +321,6 @@
}
}
- global [set [set menuName](textvariable)]
set [set [set menuName](textvariable)] " "
set f $frame_name
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]