Bug 424888 - Invalid Mimetype
Summary: Invalid Mimetype
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.3.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-01 10:49 UTC by david.e.gustavsson
Modified: 2021-02-06 01:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david.e.gustavsson 2020-08-01 10:49:57 UTC
SUMMARY
`jpeg/jfif" is not a valid MIME type.

STEPS TO REPRODUCE
    $ update-desktop-database

OBSERVED RESULT
    Error in file "/usr/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type)

EXPECTED RESULT
No error.

SOFTWARE/OS VERSIONS
Krita 4.3.0 on up-to-date Arch.

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2020-08-01 16:24:20 UTC
Was already fixed in fb772e6e5ac8c659f1bcf912292f02352a29d575
Comment 2 Teddy 2021-02-04 18:58:45 UTC
I'm having this issue on this system:
Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-41-generic
OS Type: 64-bit

When installing FreeFileSync:

$ ./FreeFileSync_11.6_\[Donation_Edition\]_Install.run 
Please log in as superuser in order to install FreeFileSync:
[sudo] password for Adam: 

Accept the FreeFileSync license terms? (Enter 's' to show them) [y/n/s] y
Install FreeFileSync into /opt/FreeFileSync? [Y/n] Y

-> Installing to: /opt/FreeFileSync
-> New console command: freefilesync
-> Registering file extensions: *.ffs_gui, *.ffs_batch, *.ffs_real
Error in file "/usr/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type)

All done!
      _   _
     (_)_(_)
 .-.  (^ ^)
    \ =\o/=
     )/   \ 
    (/\):(/\ 
     \_   _/
      "" ""

Thank you, Adam, for your donation and support! <3
Comment 3 Tiar 2021-02-06 01:30:48 UTC
Try to open '/usr/share/applications/krita_jpeg.desktop' in your text editor and remove ",jpeg/jfif" from it. Then it should go away.

There is no more bug in Krita afaik, since it really was fixed in that commit: https://invent.kde.org/graphics/krita/-/commit/fb772e6e5ac8c659f1bcf912292f02352a29d575 so what you've got is like a leftover from the bug that was in Krita when you installed it.