View Single Post
Old 07-14-2019, 01:18 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
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 View Post
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
That error is because the file you are adding doesn't have an extension. That is the way that the Kobo desktop application downloads the file. Adding ".epub" or ".kepub" as the extension to the file will allow the book to be added. Assuming that it doesn't have DRM. If it does, then you need to use Obok.
davidfor is offline   Reply With Quote