Grand Sorcerer
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Originally Posted by Tarana
Obok doesn't work until you have imported the Kobo file into Calibre.
|
That isn't correct. Obok gets the list of available books from the database that the Kobo desktop application uses. Then it copies the file from the directory and adds it to the calibre library.
Quote:
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'
|
I just tested Obok here for the first time in months. It added both books both with and without DRM with no problems.
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.
|