Bug 424888

Summary: Invalid Mimetype
Product: [Applications] krita Reporter: david.e.gustavsson
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: halla, reportbug, tamtamy.tymona
Priority: NOR    
Version: 4.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.