Author Topic: Error parsing search results with long lines  (Read 998 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Error parsing search results with long lines
« on: January 05, 2022, 04:38:34 PM »
I have a search result that found a line in a log file that is very long. I don't have soft wrap enabled. Since the line is long it gets broken up and its 2nd portion is in the next line in the search results window, but with same line number, this is expected.

But when I click on the search result on one of the continuation lines it doesn't go there and the status bar says:

"Error Parsing Search Results"

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Error parsing search results with long lines
« Reply #1 on: January 05, 2022, 05:50:25 PM »
Please post a picture of the left side of the search results window (left most parts of long lines and prefix text). That way I can better understand what’s going on. If you can’t post your log info just make up a similar test case.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: Error parsing search results with long lines
« Reply #2 on: January 05, 2022, 07:45:48 PM »
On support look for search_result_error.tar.gz.

There is a README file, screenshot, user.cfg.xml, logfile and instructions.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Error parsing search results with long lines
« Reply #3 on: January 05, 2022, 07:59:04 PM »
Thanks for posting your user.cfg.xml. I didn't realize you could set the Maximum search result line length to 0. Not surprised that's causing problems. Should be pretty easy to fix.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: Error parsing search results with long lines
« Reply #4 on: January 05, 2022, 08:05:04 PM »
I have it set to 0 based on this thread:

https://community.slickedit.com/index.php/topic,16822

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Error parsing search results with long lines
« Reply #5 on: January 05, 2022, 08:24:51 PM »
Hotfix added for this