Hi there,

I am trying to create a tclet from a tcl apllication I have already
developed. [ Compund --> Save as Tclet ].  I am getting the following
error message:

  Error: bad window path name ""


Stack Trace gives the following:

bad window path name ""
    while executing
"winfo class $target"
    invoked from within
"set class [winfo class $target]..."
    (procedure "vTcl:get_class" line 2)
    invoked from within
"vTcl:get_class $target"
    invoked from within
"if {[vTcl:get_class $target] != "Toplevel"} {
        vTcl:error "You must select a Toplevel\nWindow as the Tclet base"
        return
    }"
    (procedure "vTcl:create_tclet" line 3)
    invoked from within
"vTcl:create_tclet $vTcl(w,widget)"
    invoked from within
".vTcl.menu.c.m invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    invoked from within
"if {[$w type active] == "cascade"} {
        $w postcascade active
        set menu [$w entrycget active -menu]
        tkMenuFirstEntry $menu
    } elseif {[$w type activ ..."
    (procedure "tkMenuInvoke" line 14)
    invoked from within
"tkMenuInvoke .vTcl.menu.c.m 1"
    (command bound to event)


I am using vtcl version 1.10 on DEC Unix 3.2

What am I missing here?

Cheers,

Virantha

-----------------------------------------------------------------------
Virantha Mendis                                  BBSRC 
Senior UNIX Support Officer                      Computing Centre
                                                 West Common
INTERNET : [EMAIL PROTECTED]           Harpenden
T.Phone  :                                       Herts AL5 2JE 
  01582 762 271 Ext. 209  (UK)    Fax: 01582 761 710
 +44 1582 762 271 Ext. 209 (International)     

           Biotechnology & Biological Sciences Research Council

Reply via email to