Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2025, 11:24 PM   #1
giannib
Junior Member
giannib began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Android
kepubify error

since v. 8.5 the following errors stop abruply the import, leaving huge temp folders.
The exception should be handled gracefully, skipping the file or converting it with legacy method.

Also the issue of the TEMP files should be addressed, maybe processing the files in batches, at least informing that the device with no more space is the PC itself.





calibre, version 8.5.0ERRORE: Errore: Errore di comunicazione col dispositivoCould not kepubify the book Una vita per amarti (Una vita per amarti - Amy Neff_49753.epub) failed with error: [Errno 2] No such file or directory: 'C:\\Users\\gbarb\\AppData\\Local\\Temp\\calibre-jzbiuzgt\\a9c_54xu_epub_container\\OEBPS\\Text\\e9 788811019121_bm25.xhtml'Traceback (most recent call last): File "calibre\devices\kobo\driver.py", line 2368, in _kepubify File "calibre\ebooks\oeb\polish\kepubify.py", line 545, in kepubify_path File "calibre\ebooks\oeb\polish\kepubify.py", line 540, in kepubify_container File "calibre\ebooks\oeb\polish\kepubify.py", line 495, in do_work_in_parallel File "concurrent\futures\_base.py", line 449, in result File "concurrent\futures\_base.py", line 401, in __get_result File "concurrent\futures\thread.py", line 58, in run File "calibre\ebooks\oeb\polish\kepubify.py", line 475, in process_path File "calibre\ebooks\oeb\polish\kepubify.py", line 374, in kepubify_html_pathFileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\gbarb\\AppData\\Local\\Temp\\calibre-jzbiuzgt\\a9c_54xu_epub_container\\OEBPS\\Text\\e9 788811019121_bm25.xhtml'The above exception was the direct cause of the following exception:Traceback (most recent call last): File "calibre\gui2\device.py", line 111, in run File "calibre\gui2\device.py", line 662, in _upload_books File "calibre\devices\kobo\driver.py", line 2310, in upload_books File "calibre\devices\kobo\driver.py", line 2372, in _kepubifyValueError: Could not kepubify the book Una vita per amarti (Una vita per amarti - Amy Neff_49753.epub) failed with error: [Errno 2] No such file or directory: 'C:\\Users\\gbarb\\AppData\\Local\\Temp\\calibre-jzbiuzgt\\a9c_54xu_epub_container\\OEBPS\\Text\\e9 788811019121_bm25.xhtml'
giannib is offline   Reply With Quote
Old 07-06-2025, 12:04 AM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,048
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
A couple of possibilities. You may have a program likely an anti-virus/malware that is interfering with calibre's ability to create and use it's temporary files. Alternatively looking at your log is the file paths are getting too long. I believe a fix for that issue will be released with the next calibre release.

Last edited by DNSB; 07-06-2025 at 12:17 AM.
DNSB is offline   Reply With Quote
Advert
Old 07-06-2025, 12:50 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No those paths are not too long, I just made a commit about it coz this post made me look at the relevant code and I decided to make it robust against long paths while there.

The path in the OPs error message is only 111 chars long. Most likely their issue is caused by an invalid EPUB file.
kovidgoyal is offline   Reply With Quote
Old 07-11-2025, 12:51 AM   #4
giannib
Junior Member
giannib began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Android
Very thankful for your answer. I fully solve the problem. It was the temporary file. Do so big as 13 GB and field my heart disk. I got confused because the error was about to the device , But it was not the reader but my p c I was merging different libraries. So importing more than 10000 books.

Made with a speech recognition.


Quote:
Originally Posted by kovidgoyal View Post
No those paths are not too long, I just made a commit about it coz this post made me look at the relevant code and I decided to make it robust against long paths while there.

The path in the OPs error message is only 111 chars long. Most likely their issue is caused by an invalid EPUB file.
giannib is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kepubify question sirgawain Kobo Reader 5 04-30-2024 01:16 PM
Kepubify site is down lesley9 Kobo Reader 3 10-06-2023 10:50 AM
kepubify 2.0 - A standalone tool to convert ePubs to Kepubs geek1011 Kobo Reader 149 10-03-2020 04:12 PM
What is the best way to replace all my calibre kepubs with kepubify ones? lealla Kobo Reader 10 12-06-2018 12:44 AM
Help developing kepubify plugin for calibre geek1011 Development 14 11-26-2018 09:35 PM


All times are GMT -4. The time now is 10:44 AM.


MobileRead.com is a privately owned, operated and funded community.