View Single Post
Old 06-19-2025, 04:39 PM   #1013
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by RustyHill View Post
File "calibre\devices\mtp\driver.py", line 441, in prepare_addable_books
FileNotFoundError: [WinError 206] The filename or extension is too long: 'C:\\Users\\xxx\\AppData\\Local\\Temp\\calibre-ol17m72z\\3fvk151z_prepare_mtp\\o122AC\\Gobbelino London & a Menace of Mermaids_ Cats, snark, & dangerous waters - a complete funny, cozy urban fantasy series (Gobbelino London, PI Book 6)_B0C3YZN5SP.sdr'
In order to import books from newer Kindles that connect using MTP connections the multiple KFX files that make up each book are first copied by calibre from the Kindle to local storage. Apparently I didn't handle long file names properly when I contributed that code to calibre. I will look into fixing it for a future release.

In the mean time a work around would be to manually copy the main .kfx file along with all of the additional files in the associated .sdr folder to someplace on your PC, create a .zip file containing all of those files, rename the extension from .zip to .kfx-zip, and then import that into calibre.

(Or just use another source for the book as I see you have done.)
jhowell is online now   Reply With Quote