[2.7.1] gtk-update-icon-cache: The generated cache was invalid

Bug #786978 reported by Rion
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
elementary Icons
Expired
Undecided
Unassigned

Bug Description

just to tried to execute sudo gtk-update-icon-cache /usr/share/icons/elementary
and got a error message.
gtk-update-icon-cache works fine for other installed icons (gnome and hicolor for example)

Gentoo
gtk 2.24.3

Tags: patch
Revision history for this message
Pim Vullers (pimvullers) wrote :

Same here, also Gentoo (are we the only people who actually use gtk-update-icon-cache?), Gtk+ 2.24.6

Using 2.7.1 as well as trunk will generate the following message:
$ gtk-update-icon-cache /usr/share/icons/elementary/
gtk-update-icon-cache: The generated cache was invalid.
$

Revision history for this message
Pim Vullers (pimvullers) wrote :

Also using -f (force) or -i (index-only) options does not help, i.e. I guess there is some issue with the index file.

Revision history for this message
Pim Vullers (pimvullers) wrote :

I managed to fix it. In order to do this I removed the following folders:
./status/48/untitled folder/
./panel/48/temp

Furthermore I fixed the index.theme file to include all available folders, see attached patch.

tags: added: patch
Revision history for this message
Pim Vullers (pimvullers) wrote :

Actually, the patch is not required to fix the issue, removing the two folders will do (at least for the 2.7.1 release).

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I've applied it to trunk.

Changed in elementaryicons:
status: New → Fix Committed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Daniel reverted your removals in http://bazaar.launchpad.net/~elementarydesign/elementaryicons/trunk/revision/853.
This bug also affects Ubuntu package, by the way.

Changed in elementaryicons:
status: Fix Committed → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote :

I'll fix the folders, but for now the problem is in the icon names that the panel is using. It's making it really difficult to supply all the correct icons without having some really ugly visual inconsistencies. So, it's "In Progress"

Changed in elementaryicons:
status: Confirmed → In Progress
Revision history for this message
Cody Garver (codygarver) wrote :

Is this still an issue?

Changed in elementaryicons:
status: In Progress → Incomplete
Revision history for this message
Colin McQueen (colinamcqueen) wrote :

Yes this is still an issue because I am receiving it on Gentoo right now.

Revision history for this message
Cody Garver (codygarver) wrote :

You're trying this with the latest trunk and no older version mixed in? And your gtk-update-icon-cache is up to date? I see there's also a gtk-update-icon-cache-3.0

Changed in elementaryicons:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for elementary Icons because there has been no activity for 60 days.]

Changed in elementaryicons:
status: Incomplete → Expired
Revision history for this message
lkalev (lkalev) wrote :

This looks same or related to #962225. I don't know if it should be marked as duplicate, though.

WRT comment#6:

To fix the icon cache generation problem it is enough to delete the 'untiltled folder'.

You can keep the panel/48/temp folder if removing it causues trouble to the panel (though this is really messy and I don't see how and why the panel got to require the icons from ../48/temp, given the same icons are present in ../48/ as well).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.