07-13-2019, 09:10 PM | #1 |
Wizard
Posts: 3,982
Karma: 38840460
Join Date: Sep 2012
Location: Minneapolis
Device: PWSE, Voyage, K3, HDX, KBasic 7 & 8, Nook Glo3, Echos, Nanos
|
Kobo and Calibre
Problem I haven't had before. I can't import Kobo files into Calibre. Using Windows 10, I have deleted and redownloaded the book. Deleted and redownloaded the app and redownloaded the book (any book - I tried additional ones that I've downloaded before). This worked fine a month ago. Any ideas? I do have Adobe 2.0 installed and downloaded epub (which is likely kepub).
When I import, I get an error. Here are the details: Failed to add the file C:\Users\Steph\AppData\Local\Kobo\Kobo Desktop Edition\kepub\5b6f5657-f0b5-455f-8fab-826bc26404d3 to the book: 5b6f5657-f0b5-455f-8fab-826bc26404d3 With error: Traceback (most recent call last): File "site-packages\calibre\gui2\add.py", line 445, in add_formats File "site-packages\calibre\db\cache.py", line 1429, in add_format File "site-packages\calibre\db\cache.py", line 1394, in _do_add_format File "site-packages\calibre\db\backend.py", line 1517, in add_format File "site-packages\calibre\db\backend.py", line 1224, in construct_file_name ValueError: Extension length too long: 98 |
07-14-2019, 12:16 AM | #2 | |
Bibliophagist
Posts: 35,453
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
At a WEG, what you are doing is trying to import a kepub. Check the Obok plugin from the DeDRM package for allowing kepub imports to calibre with optional DRM removal and with human readable authors and titles. Last edited by DNSB; 07-14-2019 at 12:20 AM. |
|
Advert | |
|
07-14-2019, 01:07 AM | #3 |
Wizard
Posts: 3,982
Karma: 38840460
Join Date: Sep 2012
Location: Minneapolis
Device: PWSE, Voyage, K3, HDX, KBasic 7 & 8, Nook Glo3, Echos, Nanos
|
Obok doesn't work until you have imported the Kobo file into Calibre. I've done this repeatedly in the past and never received this error on import. I did run the Obok plugin on this file and it gives me the error listed below. The only thing that has changed in the last month is within the last two weeks, I started Calibre and all my plugins were missing and my libraries were no longer available on the main menu. Nothing was lost, I just had to put the plugins back into main menu and reinstall the libraries. So, I'm starting to think it is related to what happened to that. If it is something I crunched in Calibre, what is the best way to fix that?
calibre, version 3.44.0 ERROR: Unhandled exception: <b>IOError</b>:[Errno 2] No such file or directory: u'C:\\Users\\Steph\\AppData\\Local\\Kobo\\Kobo Desktop Edition\\kepub\\41f05e6b-56f4-477f-bf17-0086be248269' calibre 3.44 [64bit] embedded-python: True is64bit: True Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.17763') Python 2.7.15+ Windows: ('10', '10.0.17763', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 17, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 17, 1) && Quality Check (1, 9, 11) && EpubSplit (2, 7, 0) && KFX metadata reader (from KFX Input) (1, 17, 1) && KFX Input (1, 17, 1) && Find Duplicates (1, 6, 3) && EpubCheck (0, 1, 8) && Manage Series (1, 2, 8) && Fantastic Fiction (1, 3, 0) && EpubMerge (2, 5, 0) && Set KFX metadata (from KFX Output) (1, 30, 0) && KFX Output (1, 30, 0) && Read MP3 AudioBook metadata (1, 0, 79) && Obok DeDRM (6, 5, 4) && Smashwords Metadata (1, 0, 0) && Kindle Collections (1, 7, 24) && Barnes & Noble (1, 2, 15) Traceback (most recent call last): File "calibre_plugins.obok_dedrm.dialogs", line 272, in do_book_action File "calibre_plugins.obok_dedrm.action", line 219, in get_decrypted_kobo_books File "calibre_plugins.obok_dedrm.action", line 373, in decryptBook File "zipfile.py", line 779, in __init__ IOError: [Errno 2] No such file or directory: u'C:\\Users\\Steph\\AppData\\Local\\Kobo\\Kobo Desktop Edition\\kepub\\41f05e6b-56f4-477f-bf17-0086be248269' Last edited by Tarana; 07-14-2019 at 01:10 AM. |
07-14-2019, 01:18 AM | #4 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
07-14-2019, 01:46 AM | #5 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
The error, which has nothing to do with DRM, is that the file for the book is missing. The Obok plugin works from the database in the kepub book directory. That is used to connect the files with the details. I think if you tried to read that book in the Kobo desktop application, you would get an error. Or it might redownload the file. Last edited by davidfor; 07-14-2019 at 01:57 AM. |
||
Advert | |
|
07-14-2019, 10:29 AM | #6 |
Wizard
Posts: 3,982
Karma: 38840460
Join Date: Sep 2012
Location: Minneapolis
Device: PWSE, Voyage, K3, HDX, KBasic 7 & 8, Nook Glo3, Echos, Nanos
|
I opened Calibre today, ran Obok expecting the same thing and...... it worked. I changed nothing. Why did it work today and not for the last few days? No idea. But I do appreciate the explanations. It helps me understand how these things work.
|
07-14-2019, 05:29 PM | #7 |
Bibliophagist
Posts: 35,453
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Did you run the Kobo Desktop application? This might have downloaded the missing book(s) for you. Much like calibre, I prefer not to muck with the files in the Kobo desktop app's kepub folder -- database inconsistencies are not my idea of fun.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Wireless (N647) does not connect to Kobo desktop, wifi or calibre. | aloalo27 | Kobo Reader | 6 | 12-26-2020 09:00 PM |
Glo Kobo glo and calibre 1.25.0 : kobo database version not suported ? | gperrot | Kobo Reader | 2 | 07-13-2014 10:24 AM |
New Calibre Kobo Driver allows deleting of Kobo Free books | timlegge | Kobo Reader | 46 | 08-27-2011 10:16 PM |
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 | JBlyth | Kobo Reader | 11 | 08-03-2011 05:38 PM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |