After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 540811 - Directory listing broken
Directory listing broken
Status: RESOLVED INVALID
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Linux
: Normal major
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2008-06-29 21:14 UTC by Pascal Terjan
Modified: 2008-11-07 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pascal Terjan 2008-06-29 21:14:23 UTC
On my machine, gthumb 2.10.8 tells that all directories are empty. If I point it to a single image, it is displayed fine.

This was confirmed by another Mandriva Cooker user and it looks like someone has this on Gentoo too https://bugs.gentoo.org/show_bug.cgi?id=229027

Any idea where this could come from and how to debug it ? The bug appeared recently while gthumb has not been updated for a while, but I have no idea of the culprit.
Comment 1 Michael Chudobiak 2008-06-30 12:45:37 UTC
Perhaps your mime-type database is messed up.

Try playing with Edit > Prefs > Browser > Determine image type from content.

Just a thought.

- Mike
Comment 2 Pascal Terjan 2008-06-30 12:54:09 UTC
When activating this option, it spends more time before saying that there is no image in the directory
Comment 3 Pascal Terjan 2008-07-01 15:28:30 UTC
indeed it's an issue with the mime database

rm -rf ~/.local/share/mime/ fixed the issue
Comment 4 Pascal Terjan 2008-07-01 16:29:16 UTC
So if I understood everything correctly, the format of mime cache changed, and anyone with some local mime types installed (/usr/local or ~/.local) will have this kind of breakage...
Comment 5 Pascal Terjan 2008-07-01 22:24:11 UTC
Just to be sure, I got a backup and tried "update-mime-database ~/.local/share/mime/" instead of rm, it fixes the issue too.
Comment 6 Michael Chudobiak 2008-07-02 00:55:58 UTC
Closing bug, then...

- Mike
Comment 7 Michael Chudobiak 2008-07-09 13:22:02 UTC
Similar mime database problem reported here:

https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/246505

"update-mime-database /usr/share/mime rebuilt the database but file
permissions were 600 so no user could access the database. Also it looks
like the system had to be restarted before database rebuild has been
propagated. Now it works. Also evince was broken, no pdf file could be
displayed."
Comment 8 Michael Chudobiak 2008-11-07 19:20:08 UTC
Extra note: It seems google-earth messes up the mime database. Blame them.