noDRM / DeDRM_tools

DeDRM tools for ebooks
7.09k stars 318 forks source link

Kobo Library Not Found/Kobo Books Not DeDRM'ng #201

Closed BucketListMod closed 1 year ago

BucketListMod commented 1 year ago

Question / bug report

I manually set the Kobo library and no dice (and there IS a book in there, as shown by the manual log) All I can think is the "Kobo Devices Serials" but I don't know what that means or how to find it (I am DEEPLY code-illiterate)

Which version of Calibre are you running?

6.7.1

Which version of the DeDRM plugin are you running?

v10.0.3

If applicable, which version of the Kindle software are you running?

No response

Log output

Manual:

ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 6.7.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 49, 0) && Barnes & Noble (1, 4, 0) && Clean Comments (0, 2, 1) && Embed Comic Metadata (1, 6, 4) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Obok DeDRM (10, 0, 3) && Reading List (1, 14, 0)
calibre 6.7.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 49, 0) && Barnes & Noble (1, 4, 0) && Clean Comments (0, 2, 1) && Embed Comic Metadata (1, 6, 4) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Obok DeDRM (10, 0, 3) && Reading List (1, 14, 0)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.41395348837209 x 113.70777202072539
[0.00] Starting up...
[0.00] Showing splash screen...
[0.17] splash screen shown
[0.17] Initializing db...
[0.17] db initialized
[0.17] Constructing main UI...
DEBUG:    0.0 Clean Comments::config.py - loading translations
DEBUG:    0.0 CleanComment::action.py - loading translations
DEBUG:    0.0 obok::utilities.py - loading translations
DEBUG:    0.0 obok::dialogs.py - loading translations
DEBUG:    0.0 obok::config.py - loading translations
DEBUG:    0.0 obok::action_err.py - loading translations
Key '' for shortcut Book list header menu is already used by Manage categories, ignoring
Key '' for shortcut Book list header menu is already used by Manage categories, ignoring
[1.39] main UI initialized...
[1.39] Hiding splash screen
Starting QuickView
[7.30] splash screen hidden
[7.30] Started up in 7.30 seconds with 0 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'P\x16\xeaa@\xf8K\xe0\nV\xd3\x03\xa6|/\xee\xde\xf5\xb3\xfd\xf2\x0f\xbc\xfd\th\x17N\xc7\xc5\xa2\x01', b'C:\\Users\\Bekah\\AppData\\Local\\Kobo\\Kobo Desktop Edition\\kepub\\3c552d8d-e04c-480b-b0f5-4f07b2a7aa92']
Added 3c552d8d-e04c-480b-b0f5-4f07b2a7aa92 to db in: 0.1
Added 1 books in 0.6 seconds

Obok:

ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 6.7.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 49, 0) && Barnes & Noble (1, 4, 0) && Clean Comments (0, 2, 1) && Embed Comic Metadata (1, 6, 4) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Obok DeDRM (10, 0, 3) && Reading List (1, 14, 0)
calibre 6.7.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 49, 0) && Barnes & Noble (1, 4, 0) && Clean Comments (0, 2, 1) && Embed Comic Metadata (1, 6, 4) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Obok DeDRM (10, 0, 3) && Reading List (1, 14, 0)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.41395348837209 x 113.70777202072539
[0.00] Starting up...
[0.00] Showing splash screen...
[0.17] splash screen shown
[0.17] Initializing db...
[0.17] db initialized
[0.17] Constructing main UI...
DEBUG:    0.0 Clean Comments::config.py - loading translations
DEBUG:    0.0 CleanComment::action.py - loading translations
DEBUG:    0.0 obok::utilities.py - loading translations
DEBUG:    0.0 obok::dialogs.py - loading translations
DEBUG:    0.0 obok::config.py - loading translations
DEBUG:    0.1 obok::action_err.py - loading translations
Key '' for shortcut Book list header menu is already used by Manage categories, ignoring
Key '' for shortcut Book list header menu is already used by Manage categories, ignoring
[1.38] main UI initialized...
[1.38] Hiding splash screen
Starting QuickView
ElleKayEm commented 1 year ago

Doesn't look like you added a book with the Obok plugin at all in either log.

BucketListMod commented 1 year ago

Doesn't look like you added a book with the Obok plugin at all in either log.

Well, yeah, because it... Couldn't find anything, so it didn't let me. The first one I tried to just "Add books from a single folder" and it didn't DeDRM, the second one was me trying Obok specifically and I got this:

calibre, version 6.7.1 ERROR: Obok DeDRM v10.0.3:

Could not find Kobo Library

Windows/Mac: do you have Kobo Desktop installed?

Windows/Mac/Linux: In case you have an Kobo eInk device, connect the device.

ElleKayEm commented 1 year ago

Adding a book to calibre in the usual way and using the DeDRM plugin only works for the Adobe DRM epubs, not the Kobo Desktop and Kobo ereader kepubs. You have to add those with the Obok plugin. No idea why it isn't finding your Kobo library -- looks like it is right where Obok should expect it to be. You can read the book in the Kobo Desktop app? Is it a borrowed book?

BucketListMod commented 1 year ago

I purchased the book the day I tried to import it, and it reads fine in Kobo Desktop. It's... DEEPLY confusing.

ElleKayEm commented 1 year ago

As a workaround, you could download the Adobe DRM epub via Adobe Digital Editions and use DeDRM. Be sure to authorize ADE with an Adobe ID before opening the ACSM file downloaded from Kobo's website.

BucketListMod commented 1 year ago

Finally got around to doing this; thank you for the help!