Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228604

Re: GTK can't load images

From Malte Marwedel <mmDebMail2020@marwedels.de>
Newsgroups linux.debian.user
Subject Re: GTK can't load images
Date 2020-11-12 23:30 +0100
Message-ID <Batgl-5sl-5@gated-at.bofh.it> (permalink)
References <Ba7zb-Qi-1@gated-at.bofh.it> <Bagj7-66M-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am 12.11.20 um 09:35 schrieb tomas@tuxteam.de:
> On Wed, Nov 11, 2020 at 11:57:08PM +0100, mmDebMail2020@marwedels.de wrote:

> I don't know (not sure I'd want to) where Gtk keeps its MIME types
> database these days. But, as a shot in the dark: have you checked
> that your /etc/mime.types is sane? What does 'grep png /etc/mime.types'
> say?
> 
> The file comes with Debian package mime-support, in case you need
> a new one.

I fixed the error.
After figuring out, that glib2.0 had no data to compare the png data to 
in cache_get_mime_type_for_data, I stepped through 
xdg_mime_init_from_directory and discovered only a few data for 
mimetypes were added from my ~/.local/share directory. Stepping through 
the same code on a different computer, most data came from 
/usr/share/mime/mime.cache, but the file was missing on my computer.
Running update-mime-database /usr/share/mime/ as root solved the 
problem. Took me ~7 hours to figure this out ;) Maybe this was the 
result of an upgrade. Because this was when the error occurred the first 
time.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: GTK can't load images mmDebMail2020@marwedels.de - 2020-11-12 00:20 +0100
  Re: GTK can't load images The Wanderer <wanderer@fastmail.fm> - 2020-11-12 01:00 +0100
    Re: GTK can't load images dmacdoug <dmacdoug@usc.edu> - 2020-11-12 05:10 +0100
  Re: GTK can't load images <tomas@tuxteam.de> - 2020-11-12 09:40 +0100
    Re: GTK can't load images Malte Marwedel <mmDebMail2020@marwedels.de> - 2020-11-12 23:30 +0100
      Re: GTK can't load images <tomas@tuxteam.de> - 2020-11-13 09:30 +0100

csiph-web