You are not logged in.

#1 2014-10-06 08:03:22

rasr11
Member
Registered: 2012-03-26
Posts: 39

[Solved] Annoying message in catfish using Thunar

I installed catfish and mlocate both packages and setup my search command as "catfish %f" in Thunar. After that whenever I use the seach functionality I see the annoying mesage in catfish window :

"The search database is more than 7 days old. update now?" It shows it's going to update /var/lib/locate/locate.db

After I update the database as prompted, it shows "Search database updated successfully & updated date shows as 01 Jan, 1970.

Next time I use the seach fuctionality it shows again "The search database is more than 7 days old. update now?" It never goes away. I don't know what's happening.

In terminal if I write catfish, catfish opens and following is shown in the terminal:

$ catfish

** (catfish.py:1668): CRITICAL **: atk_object_set_description: assertion 'ATK_IS_OBJECT (accessible)' failed

Last edited by rasr11 (2015-04-12 01:51:38)

Offline

#2 2014-10-07 18:05:53

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Annoying message in catfish using Thunar

The "updatedb" command needs to be run as root. Have you tried running it (at least once) as root?

As for the command line message, that just looks to me like the silly GTK messages that I ignore. hmm

Offline

#3 2014-10-08 06:01:04

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] Annoying message in catfish using Thunar

I can confirm this issue. I ran "updatedb"as root but the issue persists.

On start - regardless of "catfish", "gksu catfish", "gksudo catfish" - it says:

"The search database is more than 7 days old. Update now"

Clicking on "Update" I am asked to enter my root password to unlock the database.

Screenshot: http://i.imgur.com/eoZAv1m.jpg

Then it tells that the update process successfully succeeded.

Screenshot: http://i.imgur.com/Yzsm508.jpg

However, the timestamp of the update dates back to 01.01.1970. And on restart of Catfish it will show me the same update notification again.

Offline

#4 2014-10-08 08:22:37

rasr11
Member
Registered: 2012-03-26
Posts: 39

Re: [Solved] Annoying message in catfish using Thunar

I am experiencing same result as orschiro. I also tried to find if there is any file  /var/lib/locate/locate.db created after successful updation by catfish and found that there is no file named locate.db in the mentioned location. So I created the file manually by :
# updatedb -o /var/lib/locate/locate.db

But still the message appears.

Offline

#5 2014-10-12 11:29:52

plp
Member
Registered: 2013-01-24
Posts: 46

Re: [Solved] Annoying message in catfish using Thunar

I've written a patch that fixes this on my system. Can someone please check it out and let me know?

Here: https://bugs.archlinux.org/task/42341

Offline

#6 2014-10-13 22:05:00

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] Annoying message in catfish using Thunar

@plp

Thanks!

I can confirm that the patch resolves the issue and allows for proper updating of the search index database.

Offline

#7 2023-01-10 22:57:42

Capitalmind
Member
Registered: 2023-01-10
Posts: 1

Re: [Solved] Annoying message in catfish using Thunar

plp wrote:

I've written a patch that fixes this on my system. Can someone please check it out and let me know?

Here: https://bugs.archlinux.org/task/42341

Forgive me, but how do I apply the patch?

Offline

#8 2023-01-11 00:26:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,751

Re: [Solved] Annoying message in catfish using Thunar

Please pay attention to the dates, you are replying to a 9 year old thread asking for a patch thas has long since been applied, it's incredibly unlikely you have the same issue

Closing this old thread.

Offline

Board footer

Powered by FluxBB