Menu

#57 Error when using "Find In Files"

3.x
closed
None
2018-11-22
2018-11-21
No

After entering a search pattern (e.g. "test"), a location (e.g. "/tmp"), and hitting "enter", a Tcl error is displayed in the console:

char map list unbalanced
    while executing
"string map {* \\* ? \\? . \\. { \\{ } \\} ( \\( ) \\) ^ \\^ - \\- + \\+} $rsp(find)"
    (procedure "search::fif_start" line 35)
    invoked from within
"search::fif_start"
    invoked from within
".#menubar.#menubar#find 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 .#menubar.#menubar#find 1"
    (command bound to event)

This is a fresh install on Ubuntu 18.10 using tke-3.5.tgz from sourceforge .

Discussion

  • Trevor Williams

    Trevor Williams - 2018-11-21

    I will get this issue fixed soon.

    If you want to work around this problem in the meantime, go to the "Find / Find" menu item and in the search input at the bottom of the window, change the "Exact" search method to "Regexp", close the search field (you don't need to actually perform the search) and then use the "Find in Files" feature. I realize that this isn't an ideal way to handle the problem, but it should at least keep you going until the problem is fixed.

     
  • Trevor Williams

    Trevor Williams - 2018-11-21
    • status: open --> accepted
    • assigned_to: Trevor Williams
     
  • Trevor Williams

    Trevor Williams - 2018-11-22

    This bug has been fixed and is available in the new 3.5.2 stable release. I have also added a new button to the Find in Files panel that will allow you to change the search method (regular expression, glob, and exact) along with a preference option in the Find panel that will allow you to specify the default search method to use after the application is launched.

     
  • Trevor Williams

    Trevor Williams - 2018-11-22
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB