> Hi list,
>
> I am in trouble with this "configbody".
>
> I put a button in a window to call other window with the source command.
> But when I click in the button I recieve this mesage:
>
> can't import command "configbody": already exists
> while executing
> "namespace import itcl::* "
> (file "/usr/local/lesp-s/confauto/confauto.tcl" line 15)
> invoked from within
> "source /usr/local/lesp-s/confauto/confauto.tcl"
> invoked from within
> ".top18.but42 invoke"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 [list $w invoke]"
> (procedure "tkButtonUp" line 8)
> invoked from within
> "tkButtonUp .top18.but42"
> (command bound to event)
>
> I have others p'rogram using the source command without problems.
> What's goin on here?
>
> Somebody can help me?
Do you have a proc called configbody anywhere in your program?
This could cause this problem to occur. vTcl is trying to import the
itcl::configbody command, but it can't because there's another command
of that same name in the way.
You might look at your proc names or consider turning of the Itcl
libraries with the vtsetup.tcl program.
Thanks,
Damon
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user