[Okular-devel] [Bug 298561] okular 0.14.2 on KDE 4.8.2 fails to open chm files: No plugin for mimetype '"application/octet-stream"'

Max Lin max.lin at gmx.com
Thu May 3 03:30:58 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=298561

Max Lin <max.lin at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |max.lin at gmx.com

--- Comment #17 from Max Lin <max.lin at gmx.com> ---
I confirmed same behavior on openSUSE with KDE 4.8.2, my test result below
mlin at linux-l3xy:~ $ okular -v
Qt: 4.8.1
KDE Development Platform: 4.8.2 (4.8.2) "release 494"
Okular: 0.14.2
mlin at linux-l3xy:~ $ kmimetypefinder ~/Downloads/wul.chm 
application/vnd.ms-htmlhelp
(accuracy 20)

the interest part when I open the sample file with debug mode enable, 
mlin at linux-l3xy:~ $ okular ~/Downloads/wul.chm 
okular(11011)/kdecore (trader) KMimeTypeTrader::query: query for mimeType 
"application/vnd.ms-htmlhelp" ,  "okular/Generator"  : returning  0  offers
okular(11011)/kdecore (trader) KMimeTypeTrader::query: query for mimeType 
"application/octet-stream" ,  "okular/Generator"  : returning  0  offers
okular(11011)/okular (app) Okular::Document::openDocument: No plugin for
mimetype '"application/octet-stream"'.

and I have 
    <mime-type type="application/vnd.ms-htmlhelp"> 
with
    <glob pattern="*.chm"/>
    <alias type="application/x-chm"/>
inside of freedesktop.org.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list