You are not logged in.

#1 2024-10-06 16:14:18

michael8rown
Member
Registered: 2021-08-25
Posts: 25

[SOLVED] localsearch-extractor-3: Tracker-WARNING No such file or dire

Good morning,

I noticed my fans were running very high this morning and investigated, found that localsearch-extractor-3 was running constantly with the following two errors:

Oct 06 10:10:13 durango localsearch-3[2334]: (localsearch-extractor-3:2334): Tracker-WARNING **: 10:10:13.020: Task for 'file:///home/michael/KAUS.txt' finished with error: Error when getting information for file “/home/michael/KAUS.txt”: No such file or directory
Oct 06 10:10:13 durango localsearch-3[2334]: (localsearch-extractor-3:2334): Tracker-WARNING **: 10:10:13.021: Could not get mimetype, Error when getting information for file “/home/michael/KAUS.txt”: No such file or directory

The file called KAUS.txt is a temporary file that gets created every morning by a script I wrote and run to get yesterday's hourly weather. It's primarily created as a means of extracting the high temp, and then once the data is added to the final file KAUS.txt gets deleted. Another file gets created in exactly the same way called KABQ.txt, but there aren't any tracker errors on that file.

It seems to be something happening with Gnome's localsearch-extractor, but I'm not sure how to solve it. I've been running this script in exactly this same way for several years and have never had a problem like this.

The log for the last 5 hours is about 1.6G, so here is a snippet of the journal since the weather script ran this morning until the errors really started heating up: http://0x0.st/XEp5.txt

And for comparison, here is the journal since I rebooted yesterday: http://0x0.st/XEpg.txt

I've killed localsearch and extractor so now my machine has calmed down, but that's not really a solution. Any ideas?

[EDIT]: These tracker errors started today.

Last edited by michael8rown (2024-10-07 11:08:20)

Offline

#2 2024-10-06 20:01:38

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,486

Re: [SOLVED] localsearch-extractor-3: Tracker-WARNING No such file or dire

It would be interesting, if "file KAUS.txt" outputs something else than "ASCII text", because localsearch has an open issue for misidentified file types.
You can reset the specific index info with

localsearch reset --file=KAUS.txt

and see whether the error returns. If it does, excluding the home base directory via Gnome settings is a work-around.

Offline

#3 2024-10-07 11:07:31

michael8rown
Member
Registered: 2021-08-25
Posts: 25

Re: [SOLVED] localsearch-extractor-3: Tracker-WARNING No such file or dire

Thanks, it seems to be okay this morning. I ran the reset command you recommended, and I disabled "Home" as a search location. So far, there have been no Tracker-WARNING messages this morning.

The KAUS.txt file is the output of a curl command that retrieves an hourly html weather log. Perhaps yesterday's file contained non-ASCII characters.

And as additional information on my original problem, between 5:10am and 11:30am yesterday, localsearch filled my logs with 6,708,606 Tracker-WARNING messages regarding KAUS.txt. It seemed to be filling it at a rate of about 1,200 errors per second. But again, no warnings this morning, so I believe the problem is solved. Thanks again.

Last edited by michael8rown (2024-10-07 11:09:30)

Offline

Board footer

Powered by FluxBB