[Brains-users] Brains2: Toolbar TCL scripts

Flavio flseixas at yahoo.com.br
Sun Nov 19 10:08:10 PST 2006


Brains Users,

 

I’ve got the RedHatEnterpriseWS4 rpm pre-built package.

 

When I try loading an image through Brains2 toolbar, I’ve got a following
window error message:

 

expected floating-point number but got "0.0"

expected floating-point number but got "0.0"

    while executing

"$icons(sbar) set 0.0 0.0"

    (procedure "::ipltk::dialog::file::SetFilter" line 30)

    invoked from within

"::ipltk::dialog::file::SetFilter $w [lindex $data(-filetypes) 0]"

    (procedure "::ipltk::dialog::file::" line 106)

    invoked from within

"::ipltk::dialog::file:: Image open -filetypes {

              { { IMG Files } { .hdr } }

              { { NIFTI Files } { .nii* } }

              { { PIC Files } { ..."

    ("eval" body line 1)

    invoked from within

"eval ::ipltk::dialog::file:: $listType open $args"

    (procedure "ipltk_getOpenFile" line 2)

    invoked from within

"ipltk_getOpenFile $load_type -filetypes $types -initialdir $showInitDir
-title "Open $load_type""

    (procedure "dialog_load" line 123)

    invoked from within

"dialog_load Image"

    invoked from within

".file.menu.load invoke active"

    ("uplevel" body line 1)

    invoked from within

"uplevel #0 [list $w invoke active]"

    (procedure "tk::MenuInvoke" line 50)

    invoked from within

"tk::MenuInvoke .file.menu.load 1"

    (command bound to event)

 

I would appreciate some suggestions as to resolving this problem.

 

I have had some problems with Brains2 TCL scripts. Is there any doubt?

 

Thank,

Flávio.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/brains-users/attachments/20061119/960f6beb/attachment.html


More information about the Brains-users mailing list