trying to get the info from an oval in the whiteboard throws exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Committed
|
Low
|
buzzdee |
Bug Description
I get this exception when I double click on an oval in the whiteboard where I actually excpected to get the information about the oval instead:
invalid character "]"
in expression "...ength $args}] % 2 == 1]"
invalid character "]"
in expression "...ength $args}] % 2 == 1]"
(parsing expression "[expr {[llength $args}...")
invoked from within
"if {[expr {[llength $args}] % 2 == 1]} {
return -code "args must have an even number of elements"
}"
(procedure "ttk::optionmenuex" line 7)
invoked from within
"ttk::optionmenuex $wmb $token\($op) none None dotted Dotted dash-dotted Dash-dotted dashed Dashed"
("eval" body line 1)
invoked from within
"eval {
ttk:
} $menuOptsEx(
(procedure "Build" line 309)
invoked from within
"Build $wcan $id -usewingeom 0 -jid <email address hidden>
("eval" body line 1)
invoked from within
"eval {Build $wcan $id} [array get opts]"
(procedure "::ItemInspecto
invoked from within
"::ItemInspecto
(command bound to event)
and fixed with svn revision 2864. Bug was probably introduced when doing the expr raid, adding the {}. the closing part was in the wrong place...