View Single Post
Old 02-04-2010, 03:02 AM   #24
Gertjan
ex-IRX developer
Gertjan doesn't litterGertjan doesn't litterGertjan doesn't litter
 
Gertjan's Avatar
 
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
Quote:
Originally Posted by luite View Post
The method uds::PluginMgr::create_document first calls uds::PluginMgr::get_plugin_path to check this map for one of the hardcoded extensions. Unknown extensions are handled by loading all plugins and checking them to see if the format is supported.

There may be something that goes wrong there.
That would be my guess too. I haven't checked, but I think the mobipocket plugin for some reason reports it can open the djvu file. When it actually opens the file, the plugin finds that it is not a valid Mobipocket.

You might be able to work around it by renaming the Mobipocket plugin so it is probed _after_ the DJVU plugin. In that case, opening Mobipocket files will take a bit longer as UDS has to check all plugins first.
Gertjan is offline   Reply With Quote