![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
KeyError: u'MimeType'
I get this error when trying to open a DjVu or PDF file in Calibre (by typing "o"):
Code:
calibre, version 2.78.0 ERROR: Unhandled exception: <b>KeyError</b>:u'MimeType' calibre 2.78 embedded-python: True is64bit: True Linux-4.4.38-x86_64-with-slackware-14.2 Linux ('64bit', 'ELF') ('Linux', '4.4.38', '#2 SMP Sun Dec 11 16:11:02 CST 2016') Python 2.7.9 Linux: ('Slackware ', '14.2', '') Traceback (most recent call last): File "site-packages/calibre/gui2/dialogs/choose_format.py", line 76, in choose_open_with File "site-packages/calibre/gui2/open_with.py", line 313, in choose_program File "site-packages/calibre/gui2/open_with.py", line 220, in finalize_entry KeyError: u'MimeType' Update: I just discovered it was an associations issue on my end. Last edited by Geremia; 01-28-2017 at 04:24 PM. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm confused, at least with default keybindings, typing O opens the folder that contains the book file. Have you re-mapped o to something else?
|
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
I got the same problem when typing "v" to open it in a viewer and when typing "o" to open the containing folder. For some reason, my system's file associations caused "v" to open the book in my web browser and "o" to open the containing folder also in my web browser. But correcting my system's file associations fixed the Calibre error.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KeyError: u'kind' | senhal | Calibre | 2 | 06-19-2016 03:37 PM |
KeyError:u'set_to_default' | phossler | Editor | 8 | 11-28-2014 09:43 PM |
RE: Zipping/Mimetype/? | Hitch | Sigil | 31 | 08-02-2013 05:15 PM |
KeyError when changing libraries | macnab69 | Library Management | 5 | 06-29-2013 11:18 AM |
epub et mimetype | merlinetmoi | E-Books | 4 | 09-10-2010 01:20 AM |