Bug 1564650 - Invalid syntax in /usr/share/applications/org.gnome.font-viewer.desktop
Summary: Invalid syntax in /usr/share/applications/org.gnome.font-viewer.desktop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils
Version: 28
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1565770 (view as bug list)
Depends On:
Blocks: 1678448
TreeView+ depends on / blocked
 
Reported: 2018-04-06 19:15 UTC by Milan Zink
Modified: 2019-02-18 19:15 UTC (History)
13 users (show)

Fixed In Version: desktop-file-utils-0.23-8.fc28 desktop-file-utils-0.23-8.fc27 desktop-file-utils-0.23-8.fc26
Clone Of:
: 1678448 (view as bug list)
Environment:
Last Closed: 2018-04-15 02:36:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 105785 0 None None None 2018-04-09 21:45:22 UTC

Internal Links: 1678448

Description Milan Zink 2018-04-06 19:15:24 UTC
Description of problem:
/usr/share/applications/org.gnome.font-viewer.desktop is causing errors while updating desktop database:

sudo update-desktop-database 
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)


Version-Release number of selected component (if applicable):

gnome-font-viewer-3.28.0-1.fc28.x86_64

How reproducible:

run: sudo update-desktop-database

Steps to Reproduce:
1. install gnome-font-viewer if not present
2. run update-desktop-database (as root)

Actual results:
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)


Expected results:
No errors all desktop files should have valid syntax

Additional info:

Comment 1 Fedora Update System 2018-04-09 22:07:18 UTC
desktop-file-utils-0.23-8.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d3ff7cabfc

Comment 2 Fedora Update System 2018-04-09 22:07:32 UTC
desktop-file-utils-0.23-8.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b931933ce3

Comment 3 Fedora Update System 2018-04-09 22:07:41 UTC
desktop-file-utils-0.23-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b617c869f

Comment 4 Milan Zink 2018-04-10 15:03:09 UTC
desktop-file-utils-0.23-8 works fine

bash-4.4$ sudo update-desktop-database
bash-4.4$ 

No errors

bash-4.4$ grep MimeType /usr/share/applications/org.gnome.font-viewer.desktop
MimeType=application/x-font-ttf;application/x-font-pcf;application/x-font-type1;application/x-font-otf;font/ttf;font/otf;

Comment 5 Adam Williamson 2018-04-10 17:50:01 UTC
hadess: d'oh, dunno why I typed the wrong thing in the component box. :P thanks!

Comment 6 Rex Dieter 2018-04-10 18:22:16 UTC
*** Bug 1565770 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2018-04-10 20:49:42 UTC
desktop-file-utils-0.23-8.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b931933ce3

Comment 8 Fedora Update System 2018-04-10 21:15:09 UTC
desktop-file-utils-0.23-8.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b617c869f

Comment 9 Fedora Update System 2018-04-10 22:51:29 UTC
desktop-file-utils-0.23-8.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d3ff7cabfc

Comment 10 Fedora Update System 2018-04-15 02:36:42 UTC
desktop-file-utils-0.23-8.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2018-04-15 14:45:26 UTC
desktop-file-utils-0.23-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-04-18 01:03:34 UTC
desktop-file-utils-0.23-8.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.