Well, in this case (menu editor), it's easy, but there are bugs
in namespaces that prevent the stack trace from working properly
with 8.0, so this will need to be looked into.

I run into problems when enumerating procedures in namespaces
with 8.0 and this was fixed in 8.3.2. I also run into problems with
Itcl as well.

CG



|--------+------------------------------------->
|        |          Damon Courtney             |
|        |          <[EMAIL PROTECTED]> |
|        |          Sent by:                   |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                 |
|        |                                     |
|        |                                     |
|        |          04/04/2001 11:11 AM        |
|        |          Please respond to vtcl-user|
|        |                                     |
|--------+------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED]                                      
                       |
  |       cc:     [EMAIL PROTECTED]                                                  
                       |
  |       Fax to:                                                                      
                       |
  |       Subject:     Re: [vtcl-user] Menu errors                                     
                       |
  |                                                                                    
                       |
  
>-----------------------------------------------------------------------------------------------------------|




> Firts I got the error message : end-1 is a bad index, must be integer or
end.
> I edit the menus.tcl in yhe lib directory and chage the lines where
appear
>
> set menu [lindex $reference end-1]
>
> for
>
> set minha10 [llength $reference]
> set minha9 [expr $minha10 - 1]
>
> set menu [lindex $reference $minha9]
>
> Whell with it done, this first error messagem disapear, but I recieve
another
> one:
>
> unknown option "-state"
>
> I try to comment the line with the "-state" paremeter in the point
indicated by
> the Stack Trace window, but when this message stops, I recieve another
one:
>
> can't read "mtype" : no such variable
>
> Friends, I use the tk 8.0.5 and tcl 8.0.5 and I use the Vtcl to develop
an
> Configuration Tool for Named, Samba, Apache, Sendmail, DHCP and Squid
called
> LESP - Linux Easy Server Project, and the Vtcl 1.2.0 works fine with the
menu
> editor.

Well,

    The problem, in this case, is the version of Tcl that you are using.
Most of the options that the menu editor is trying to execute were not
present in the 8.0.x release.

    If you have to use this version, please, do us a favor and keep sending
us bugs like this.  With only slight modifications, we can attempt to make
vTcl 8.0 compliant.  Most of the code has been written in such a way that
it is still compatible with 8.0.  The menu editor was a newer addition
and probably not scrutinized as much.

    Thanks for the report though.  We'll see if we can't fix those little
problems and commit the changes.  Then, you should be able to update from
the repository and get the working copy.

Thanks,

Damon Courtney



_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user




_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to