Hi, I just encountered a weird error message while searching for something using the Lister.
To reproduce it, open any text file (even an empty one) in Lister and search for a text with length of 256 characters or more. You will get an error message like this:
---------------------------
<Error!> (L=256>255)
---------------------------
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
---------------------------
OK
---------------------------
The content of the error message is the searched string while the title says that its length is larger than expected 255, I guess.
2ghisler(Author)
Could you please increase the search string limit to be the same as line limit? Also, the error message seems like a triggered assert in code. Could please you create a more descriptive error message?
Reproduced on TC 9.20b1 and 9.12, both x32 and x64.
[9.20b1] Cryptic error in Lister
Moderators: white, Hacker, petermad, Stefan2
[9.20b1] Cryptic error in Lister
Windows 7 Pro x64, Windows 10 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It's not strange. The error message is
L=256 > 255
Thge length 256 is larger than the supported maximum of 255.
L=256 > 255
Thge length 256 is larger than the supported maximum of 255.
Sorry, I can't. I'm using a highly optimized assembler Boyer-Moore search which uses most processor registers. The lengths are handled via ah/al registers, which are 1 byte (0..255), resulting in this length limit.Could you please increase the search string limit to be the same as line limit?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com