kioclient KMimeTypeRepository::parents:“/usr/share/mime/subclasses”指的是未知的 mimetype“application/vnd.ms-excel...”

kioclient KMimeTypeRepository::parents:“/usr/share/mime/subclasses”指的是未知的 mimetype“application/vnd.ms-excel...”

每当我在新安装的 OpenSUSE 13.2 中使用 xdg-open 打开某些内容时,我都会收到一系列警告,例如

$ xdg-open ./flask.wsgi
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
kioclient(10634) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12" 

无论我使用 xdg-open 打开什么文件/类型,都会发生这种情况。这是一个很大的麻烦,因为在我的一些程序中,这些警告会呈现在屏幕上。我的 Fedora KDE 设置中从未出现过该错误。我该如何解决这些警告?缺什么?

答案1

这是一个已知的错误:https://bugs.kde.org/show_bug.cgi?id=343468
您可以使用#3 中描述的解决方法
sudo sed -i 's:macroEnabled:macroenabled:g' /usr/share/mime/subclasses

相关内容