Description of problem: Launch kwrite from a terminal and you get kwrite(17203) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype application/vnd.ms-excel.sheet.binary.macroEnabled.12 application/vnd.ms-excel.addin.macroEnabled.12 application/vnd.ms-powerpoint.slideshow.macroEnabled.12 application/vnd.ms-excel.sheet.macroEnabled.12 application/vnd.ms-powerpoint.presentation.macroEnabled.12 application/vnd.ms-word.template.macroEnabled.12 application/vnd.ms-excel.template.macroEnabled.12 application/vnd.ms-powerpoint.template.macroEnabled.12 application/vnd.ms-word.document.macroEnabled.12 application/vnd.ms-powerpoint.slide.macroEnabled.12 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: Clean install of Mageia-5-alpha2-x86_64-DVD.iso. Default runlevel: 3 Package Group Selection screen has all package groups selected except Other Graphical Desktops. non-free and tainted media are enabled. Followed with: urpmi --downloader wget --auto --auto-update urpme --auto-orphans and reboot. Desktop: KDE Theme: Oxygen Window Decorations: plastik Desktop effects are disabled. 1. click up a terminal 2. kwrite .bashrc I use xterm for my terminals. Reproducible: Steps to Reproduce:
Is this related to the mailcap update?
CC: (none) => doktor5000
(In reply to David Walser from comment #1) > Is this related to the mailcap update? Probably not, I've not got it on my box yet, and also get this output. [user1@localhost ~]$ rpm -q mailcap mailcap-2.0.4-30.mga4 [user1@localhost ~]$ kwrite .bashrc kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.addin.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.template.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.template.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.document.macroEnabled.12" kwrite(7972) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slide.macroEnabled.12" [user1@localhost ~]$ Apart from the output in terminal (which may often be pretty verbose for KDE in general) what is the impact of this? Is there any impact at all? As there is no bug, as kwrite is running just fine, I'll close this one. Please remember, if there are a lot of error/warning/info message, but no error attached to them, then they are meaningless. Workaround: run kwrite .bashrc 2>/dev/null .
Resolution: (none) => INVALIDStatus: NEW => RESOLVED
See also https://bbs.archlinux.org/viewtopic.php?id=185910 https://bugs.kde.org/show_bug.cgi?id=336388 https://bugs.mageia.org/show_bug.cgi?id=13883 In all of these such verbose messages with the exact same content can be seen. If you really want them to go away, please report that upstream at https://bugs.kde.org
(In reply to Florian Hubold from comment #2) > Apart from the output in terminal (which may often be pretty verbose for KDE > in general) That has not been my experience in the past. Then again, I have disabled all debug output with kdebugdialog --fullmode > what is the impact of this? Is there any impact at all? I thought so. It is pretty handy to see what was above the kwite command without having to scroll backup through the mime messages. I also do not have the problem on Mageia 4 or 3 > As there is no bug, as kwrite is running just fine, I'll close this one. > Please remember, if there are a lot of error/warning/info message, but no > error attached to them, then they are meaningless. I have no idea what output messages are meaningful or not. > Workaround: run > kwrite .bashrc 2>/dev/null . Thank you very much. Since I use a script to call whatever the user's default editor is on the system, that is an easy fix for me. I hope you do not mind. The bug is not an invalid so I changed it to will not fix and open a bug report at kde.org I do thank you for all your time on Mageia.
Resolution: INVALID => WONTFIX
Actually it's not wontfix but really invalid in this case, but anyway. Should probably not be reported to KDE, but to freedesktop.org, against shared-mime-info: [user1@localhost ~]$ kbuildsycoca4 --noincremental kbuildsycoca4 running... kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.addin.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.template.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.template.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.document.macroEnabled.12" kbuildsycoca4(7254) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slide.macroEnabled.12" [user1@localhost ~]$ rpm -qf /usr/share/mime/subclasses shared-mime-info-1.3-1.mga5 [user1@localhost ~]$ rpm -qi shared-mime-info-1.3-1.mga5 | grep -i url URL : http://www.freedesktop.org/wiki/Software/shared-mime-info FWIW, in cauldron KDE has always more things enabled in kdebugdialog, for released distros those should be disabled by default.
This is related to the entries in the subclasses file. The files on the file system have "macroenabled" as name, but the subclasses file has "macroEnabled". Just update the subclasses file, and you should be fine. I've already opened up a bugzilla https://bugs.freedesktop.org/show_bug.cgi?id=88004
CC: (none) => emrecio
(In reply to E Recio from comment #6) > Just update the subclasses file, and you should be fine. > I've already opened up a bugzilla > https://bugs.freedesktop.org/show_bug.cgi?id=88004 Thanks for the hint, will do :)
Assignee: bugsquad => doktor5000Resolution: WONTFIX => (none)Status: RESOLVED => REOPENED
(In reply to E Recio from comment #6) > This is related to the entries in the subclasses file. The files on the file > system have "macroenabled" as name, but the subclasses file has > "macroEnabled". Just update the subclasses file, and you should be fine. > I've already opened up a bugzilla > https://bugs.freedesktop.org/show_bug.cgi?id=88004 I'm not sure that "macroEnabled" in subclasses is wrong. According to http://technet.microsoft.com/en-us//library/ee309278%28v=office.12%29.aspx http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx .macroEnabled.12 is the valid suffix for Office 2007 macro-enabled documents.
CC: (none) => lmenut
Has been reported upstream by the Fedora/RHEL KDE master: https://bugs.kde.org/show_bug.cgi?id=343468
See Also: (none) => https://bugs.freedesktop.org/show_bug.cgi?id=88004, https://bugs.kde.org/show_bug.cgi?id=343468
Locally I've run sed -i 's/macroEnabled/macroenabled/g' on /usr/share/mime/subclasses, I know it's not the proper fix since the bug is in KDE, but it's the easiest to implement that I know of. freedesktop claims that mimetypes are case-insensitive anyway, so I guess there is no harm in making the mimetype lower-case in /usr/share/mime/subclasses for my personal usage. As for a more global bugfix, I don't know if that would be the correct approach. There hasn't been much discussion on the upstream KDE bug yet.
CC: (none) => remi
Summary: 5a2: kwrite unknown mimetype application/vnd.ms-* messages => KDE apps: unknown mimetype application/vnd.ms-* messages
Do you have some MS Office macro-enabled documents for testing? They usually end in .xlsm (at least those are the most common at work). They should also open up in recent OOo or Libreoffice versions. Question is, if there is any change in their mimetype recognition.
Hm, doesn't look too good actually. At first it was working fine, but then I rebuilt the database with "update-mime-database /usr/share/mime". Now: - my change to /usr/share/mime/subclasses got reverted - dolphin sees xlsm files as application/zip... I'll investigate more tomorrow, but I guess the workaround is not that inoffensive.
I've found that Fedora has used a bandaid workaround for this issue, to make those warnings debug output: https://bugzilla.redhat.com/show_bug.cgi?id=1184918 Should we do the same? This issue is minor, but it's still pretty annoying and upstream does not seem to care much about it judging by the bug report.
(In reply to Rémi Verschelde from comment #13) > I've found that Fedora has used a bandaid workaround for this issue, to make > those warnings debug output: > https://bugzilla.redhat.com/show_bug.cgi?id=1184918 > > Should we do the same? PLEASE, please do the same. > This issue is minor, but it's still pretty annoying Yep, I now have wrappers for gnumeric, kwrite, okular, evince to keep my terminal free of those messages.
Added the workaround from Fedora: http://svnweb.mageia.org/packages?view=revision&revision=821936 @Luc: Any objections on pushing this to mga5, or shall we better wait until after release? Maybe you have some other small KDE patches to push, as this alone is not urgent and only a minor cosmetic fix.
Assignee: doktor5000 => lmenut
Was the fix pushed in the end?
Not yet.
Whiteboard: (none) => MGA5TOO
Created attachment 6764 [details] log from console about kwrite Same issue here on a new mga5 fresh install when I open kwrite on console. Mageia release 5 (Official) for x86_64 Kernel 3.19.8-desktop-3.mga5 on a 4-processor x86_64 / \l Qt : 4.8.6 Plate-forme de développement de KDE : 4.14.5 kde4-config : 1.0
CC: (none) => geiger.david68210
CC: (none) => bittwister2
Luc what is the status for this bug? no advisory? Tested mga5_64, So I confirm that this bug is now fixed with the new update on kdelibs4-4.14.5-1.1.mga5, strange warning "unknown mimetypeapplication/vnd.ms-*macroEnabled" is gone. [david@david ~]$ kwrite [david@david ~]$
It's ready for QA, sorry for the delay. Suggested advisory: This kdelibs update removes annoying messages on standard error 'KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12" ...' . References: https://bugs.mageia.org/show_bug.cgi?id=13975 https://bugs.kde.org/show_bug.cgi?id=343468 https://bugzilla.redhat.com/show_bug.cgi?id=1184918 src.rpm: kdelibs4-4.14.5-1.1.mga5.src.rpm packages for i586: kdelibs4-core-4.14.5-1.1.mga5.i586.rpm kdelibs4-devel-4.14.5-1.1.mga5.i586.rpm kdelibs4-handbooks-4.14.5-1.1.mga5.noarch.rpm libkcmutils4-4.14.5-1.1.mga5.i586.rpm libkde3support4-4.14.5-1.1.mga5.i586.rpm libkdeclarative5-4.14.5-1.1.mga5.i586.rpm libkdecore5-4.14.5-1.1.mga5.i586.rpm libkdefakes5-4.14.5-1.1.mga5.i586.rpm libkdesu5-4.14.5-1.1.mga5.i586.rpm libkdeui5-4.14.5-1.1.mga5.i586.rpm libkdewebkit5-4.14.5-1.1.mga5.i586.rpm libkdnssd4-4.14.5-1.1.mga5.i586.rpm libkemoticons4-4.14.5-1.1.mga5.i586.rpm libkfile4-4.14.5-1.1.mga5.i586.rpm libkhtml5-4.14.5-1.1.mga5.i586.rpm libkidletime4-4.14.5-1.1.mga5.i586.rpm libkimproxy4-4.14.5-1.1.mga5.i586.rpm libkio5-4.14.5-1.1.mga5.i586.rpm libkjs4-4.14.5-1.1.mga5.i586.rpm libkjsapi4-4.14.5-1.1.mga5.i586.rpm libkjsembed4-4.14.5-1.1.mga5.i586.rpm libkmediaplayer4-4.14.5-1.1.mga5.i586.rpm libknewstuff2_4-4.14.5-1.1.mga5.i586.rpm libknewstuff3_4-4.14.5-1.1.mga5.i586.rpm libknotifyconfig4-4.14.5-1.1.mga5.i586.rpm libkntlm4-4.14.5-1.1.mga5.i586.rpm libkparts4-4.14.5-1.1.mga5.i586.rpm libkprintutils4-4.14.5-1.1.mga5.i586.rpm libkpty4-4.14.5-1.1.mga5.i586.rpm libkrosscore4-4.14.5-1.1.mga5.i586.rpm libkrossui4-4.14.5-1.1.mga5.i586.rpm libktexteditor4-4.14.5-1.1.mga5.i586.rpm libkunitconversion4-4.14.5-1.1.mga5.i586.rpm libkunittest4-4.14.5-1.1.mga5.i586.rpm libkutils4-4.14.5-1.1.mga5.i586.rpm libnepomuk4-4.14.5-1.1.mga5.i586.rpm libnepomukquery4-4.14.5-1.1.mga5.i586.rpm libnepomukutils4-4.14.5-1.1.mga5.i586.rpm libplasma3-4.14.5-1.1.mga5.i586.rpm libsolid4-4.14.5-1.1.mga5.i586.rpm libthreadweaver4-4.14.5-1.1.mga5.i586.rpm packages for x86_64: kdelibs4-core-4.14.5-1.1.mga5.x86_64.rpm kdelibs4-devel-4.14.5-1.1.mga5.x86_64.rpm kdelibs4-handbooks-4.14.5-1.1.mga5.noarch.rpm lib64kcmutils4-4.14.5-1.1.mga5.x86_64.rpm lib64kde3support4-4.14.5-1.1.mga5.x86_64.rpm lib64kdeclarative5-4.14.5-1.1.mga5.x86_64.rpm lib64kdecore5-4.14.5-1.1.mga5.x86_64.rpm lib64kdefakes5-4.14.5-1.1.mga5.x86_64.rpm lib64kdesu5-4.14.5-1.1.mga5.x86_64.rpm lib64kdeui5-4.14.5-1.1.mga5.x86_64.rpm lib64kdewebkit5-4.14.5-1.1.mga5.x86_64.rpm lib64kdnssd4-4.14.5-1.1.mga5.x86_64.rpm lib64kemoticons4-4.14.5-1.1.mga5.x86_64.rpm lib64kfile4-4.14.5-1.1.mga5.x86_64.rpm lib64khtml5-4.14.5-1.1.mga5.x86_64.rpm lib64kidletime4-4.14.5-1.1.mga5.x86_64.rpm lib64kimproxy4-4.14.5-1.1.mga5.x86_64.rpm lib64kio5-4.14.5-1.1.mga5.x86_64.rpm lib64kjs4-4.14.5-1.1.mga5.x86_64.rpm lib64kjsapi4-4.14.5-1.1.mga5.x86_64.rpm lib64kjsembed4-4.14.5-1.1.mga5.x86_64.rpm lib64kmediaplayer4-4.14.5-1.1.mga5.x86_64.rpm lib64knewstuff2_4-4.14.5-1.1.mga5.x86_64.rpm lib64knewstuff3_4-4.14.5-1.1.mga5.x86_64.rpm lib64knotifyconfig4-4.14.5-1.1.mga5.x86_64.rpm lib64kntlm4-4.14.5-1.1.mga5.x86_64.rpm lib64kparts4-4.14.5-1.1.mga5.x86_64.rpm lib64kprintutils4-4.14.5-1.1.mga5.x86_64.rpm lib64kpty4-4.14.5-1.1.mga5.x86_64.rpm lib64krosscore4-4.14.5-1.1.mga5.x86_64.rpm lib64krossui4-4.14.5-1.1.mga5.x86_64.rpm lib64ktexteditor4-4.14.5-1.1.mga5.x86_64.rpm lib64kunitconversion4-4.14.5-1.1.mga5.x86_64.rpm lib64kunittest4-4.14.5-1.1.mga5.x86_64.rpm lib64kutils4-4.14.5-1.1.mga5.x86_64.rpm lib64nepomuk4-4.14.5-1.1.mga5.x86_64.rpm lib64nepomukquery4-4.14.5-1.1.mga5.x86_64.rpm lib64nepomukutils4-4.14.5-1.1.mga5.x86_64.rpm lib64plasma3-4.14.5-1.1.mga5.x86_64.rpm lib64solid4-4.14.5-1.1.mga5.x86_64.rpm lib64threadweaver4-4.14.5-1.1.mga5.x86_64.rpm
Hardware: x86_64 => AllVersion: Cauldron => 5Assignee: lmenut => qa-bugsSource RPM: kate-4.13.97-1.mga5.src.rpm => kdelibs4-4.14.5-1.mga5.src.rpmWhiteboard: MGA5TOO => (none)
Whiteboard: (none) => MGA5-64-OK
Works fine on Mageia 5 64bit.
Keywords: (none) => validated_updateWhiteboard: MGA5-64-OK => MGA5-64-OK advisoryCC: (none) => davidwhodgins, sysadmin-bugs
As discussed on IRC, un-validating until we have heard from at least a second person that would have installed the KDE update, since this is a lot of packages.
Keywords: validated_update => (none)
Revalidating, as I have installed the update and haven't seen any regressions.
Keywords: (none) => validated_update
An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0070.html
Status: REOPENED => RESOLVEDResolution: (none) => FIXED