catfish 1.0.2 fails to update locatedb
Bug #1320777 reported by
Charles Bos
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Catfish |
Fix Released
|
Undecided
|
Unassigned | ||
catfish (Gentoo Linux) |
Fix Released
|
Medium
|
Bug Description
With catfish 1.0.2 when I tried to Update Search Index... I got the following message:
An error occurred while updating locatedb.
When I downgraded to catfish 1.0.1 the database updated successfully.
This is on Arch Linux 64 bit.
locate/updatedb is provided in Arch by mlocate which is at version 0.26
Here's the downstream bug report: https:/
description: | updated |
description: | updated |
Changed in catfish (Gentoo Linux): | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in catfish-search: | |
status: | New → Fix Committed |
milestone: | none → 1.0.3 |
status: | Fix Committed → Fix Released |
Changed in catfish (Gentoo Linux): | |
status: | New → Fix Released |
To post a comment you must log in.
The issue is line 465/466 of CatfishWindow.py. The addition of 'env={"LANG": "C"}' makes updatedb fail on Arch Linux. Reverting that addition, so that the line reads again (as in 1.0.1):
self.updatedb_ process = pexpect.spawn('sudo updatedb')
...allows it work again.
Not exactly sure why this fails on Arch but works in Xubuntu 14.04.