Bwidget Source Code
View Ticket
Not logged in
Ticket UUID: cae373fbb3d41e091dbb9820a5ecb5eab62484b9
Title: Error "can't read "option"" when opening menu on win server
Type: Bug Version: 1.9.8
Submitter: oehhar Created on: 2014-12-04 09:16:01
Subsystem: bwidget 1.x Assigned To: oehhar
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2015-03-18 11:19:07
Resolution: Invalid Closed By: oehhar
    Closed on: 2015-03-18 11:19:07
Description: (text/x-fossil-wiki)
On windows server, the following error was observed when opening a menu item:
<verbatim>
> can't read "option": no such variable
>     while executing
> "info exists pathopt($option)"
>     (procedure "::Widget::which" line 23)
>     invoked from within
> "::Widget::which $path -option $option"
>     (procedure "Widget::varForOption" line 2)
>     invoked from within
> "Widget::varForOption $path -values"
>     (procedure "_create_popup" line 61)
>     invoked from within
> "_create_popup $path"
>     (procedure "_recreate_popup" line 27)
>     invoked from within
> "_recreate_popup $path"
>     (procedure "ComboBox::_mapliste" line 19)
>     invoked from within
> "ComboBox::_mapliste .config.n.fmain.s.f.frame.1.e"
>     ("uplevel" body line 1)
>     invoked from within
> "uplevel \#0 $cmd"
>     (procedure "ArrowButton::_release" line 17)
>     invoked from within
> "ArrowButton::_release .config.n.fmain.s.f.frame.1.e.a.c"
>     (command bound to event)
> --Traceback--
> INNER:invokeStk1 socket -server {::namespace inscope ::scmdsrv Connect} 30011
> CALL:Open
</verbatim>
User Comments: oehhar added on 2015-03-18 11:19:07:
Was already fixed in 1.9.8, typo in widget::which