close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 19 years ago

#411 closed defect (fixed)

Replce doesn't work in the Eval tab

Reported by: Francisco Muñoz Owned by: jgarcia
Priority: normal Milestone:
Component: Kernel Version: head
Severity: minor Keywords:
Cc:

Description

When you try to use replace (from the right-click menu) in the Eval tab you get
the following error.

Error: can't read "data(find,dir)":no such element in array

If you select details the message show futher information:
can't read "data(find,dir)": no such element in array
can't read "data(find,dir)": no such element in array

while executing

"string equal $data(find,dir) "forward""

(procedure "FindPosText" line 8)
invoked from within

"FindPosText $Instance"

(procedure "FindNext" line 10)
invoked from within

"FindNext $Instance"

(procedure "::BayesText::ReplaceNext" line 20)
invoked from within

"::BayesText::ReplaceNext ::BayesText::Replace.main.mdi.slave1.work.pw.f1.fra
me.ts.f.sw1.eval"

("uplevel" body line 1)
invoked from within

"uplevel \#0 $cmd"

(procedure "Button::_release" line 19)
invoked from within

"Button::_release .main.mdi.slave1.work.pw.f1.frame.ts.f.sw1.eval.tReplace.frame
.replaceNext"

(command bound to event)

Attachments (1)

pantalla.JPG (190.9 KB) - added by Francisco Muñoz 19 years ago.
Error message shown

Download all attachments as: .zip

Change History (3)

Changed 19 years ago by Francisco Muñoz

Attachment: pantalla.JPG added

Error message shown

comment:1 Changed 19 years ago by jgarcia

Status: newassigned

comment:2 Changed 19 years ago by jgarcia

Resolution: fixed
Status: assignedclosed

It was an error with variables names.

To fix the problem wait to "last night" versión or download bystext.tcl file from
tolbase/lib/toltk

Note: See TracTickets for help on using tickets.