I'm having an issue with Find. I think there is a bug. I'm trying to search a relatively large file (8 MB). Nothing fancy, just columns of numbers.
I'm just trying to do a search for a literal string of digits, but it always fails even though the number exists. I get two dialog boxes. One says the regular expression is too complex (I'm not even using regex), and the 2nd says the literal string isn't found. The data is sorted, so I can easily search manually and find the number.
I am using version 8.20.2.
If anyone cares, I'm trying to search IMDb's "title.episode.tsv" dataset file.
DrX
Edit: I just tried version 9.6.1 and I have the same issue.
Edit 2: sorry, I misread the status line (was looking at the # of lines). The actual file size is: 227,944,723 bytes.
Edit 3: added dialog boxes and grep
grep search:
grep -n tt3317822 title.episode.tsv
6163322:tt3317822 tt0780429 \N \N
Edit 4: Find dialog:
Find Issue
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Find Issue
Last edited by Drxenos on Sun Dec 29, 2024 4:51 pm, edited 3 times in total.
Re: Find Issue
As with every dialog window: please press Ctrl+C to copy its content to the clipboard - then you can paste the exact text here as quote. However, I guess seeing their exact texts won't matter in this case.
I downloaded https://datasets.imdbws.com/title.episode.tsv.gz which sizes unpacked 217 MiB. In there I use the "Find" dialog (F5) with the following settings:
- Find what: 5136220
- Conditions: Text
- (no further checkbox ticked)
- Direction: Down
- (no further checkbox ticked)
- Did you try "Mark All" to see what happens with that?
- Is your text file encoding "UTF-8" and the line ending "UNIX", too? (press Alt+Enter, tab "Document") I ask because your filesize differs drastically, so you must have either a previous version or got it from elsewhere.
- Is it reproducible if you cut the file to 10 lines? Then you could also attach that file to your reply post here for us (or, using a larger version, still zip it into a ZIP file (not 7z)).
- Which particular search term did you use?
- Are your search settings the same as mine?
Re: Find Issue
I can reproduce this so we'll look into the cause.
In the meantime, the incremental finder does match that text. Don't know why yet, as it uses the same regular expression search engine which can be configured to match literal text!
In the meantime, the incremental finder does match that text. Don't know why yet, as it uses the same regular expression search engine which can be configured to match literal text!
Re: Find Issue
This is fixed in 9.7.0 and 8.21.0.