[Users] [Bug 3644] Fancy renders blank page for most html emails when using shared-mime-info 1.6

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Jun 14 06:36:18 CEST 2016


--- Comment #5 from Martin Schwenke <martin at meltin.net> ---
I understand that this is closed, but people come here looking for
answers to this and I just found one, so I figure it is worth
documenting what I found to try and help others...  :-)

When using the Fancy plugin files like this are created:


Note the ".html" extension.

By bisecting my configuration, I found I had a file called:



  <?xml version="1.0" encoding="UTF-8"?>
  <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
   <mime-type type="application/x-extension-html">
    <comment>html document</comment>
    <glob pattern="*.html"/>

This looks like it maps files with extension .html to MIME type

Removing this file and running:

  update-mime-database ~/.local/share/mime

stopped the problem with the Fancy plugin occurring.

Note that running the above command makes other changes to
~/.local/share/mime/ so you might want to backup this directory when

If I re-add the file and run the above command again the problem

Another thing that works around the problem is removing the changes to
/usr/share/mime/packages/freedesktop.org.xml mentioned at
https://bbs.archlinux.org/viewtopic.php?pid=1623743#p1623743, which
seems to explain why downgrading shared-mime-info helps.

I'm not sure what created
~/.local/share/mime/packages/user-extension-html.xml.  However,
neither it nor most of the other contents of ~/.local/share/mime/ had
changed for over a year (probably since I installed this new laptop
and started using it).  However, when I upgraded shared-mime-info to
1.6 back in early May, this triggered a bug somewhere in combination
with the existence of this file.  I wish I understood more...

You are receiving this mail because:
You are the assignee for the bug.

More information about the Users mailing list