Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-04-2022, 12:34 PM   #2791
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: 35,415
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by anacreon View Post
The last catalog I sent to the Sage was dated 13 July, so already a 6.X version of Calibre.
...
EDIT: I just sent the catalogue as an epub and it worked, so the problem seems to be with the conversion.
Assuming that you are using KoboTouchExtended 3.6.3, this might have been better posted in the KTE thread.

Possibly a kindly moderator might move it?
DNSB is online now   Reply With Quote
Old 08-04-2022, 12:56 PM   #2792
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DNSB View Post
Assuming that you are using KoboTouchExtended 3.6.3, this might have been better posted in the KTE thread.

Possibly a kindly moderator might move it?
Done
theducks is offline   Reply With Quote
Old 08-16-2022, 08:09 AM   #2793
PetBest
Member
PetBest began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2022
Device: Kobo Libra 2
Solving concurrent.futures._base.TimeoutError for large file transfer via USB

Hi All,
I get on my huge generated Catalog epub file (>24MB large exact 24.606KB) the following error after about 2 minutes and 17 seconds. I solved this by adapting the timeout parameter in python program container.py. See below how.

My environment: Windows 10, Calibre 6.3.0, KoboTouchExtended plugin 3.6.3

Solving TimeoutError
=============
Open with 7-Zip file C:\Users\<your user name>\AppData\Roaming\calibre\plugins\KoboTouchExt ended.zip
Edit file container.py at line 377 column 50 and change it:
original line: name = future.result(timeout=10)
adapted line: name = future.result(timeout=100)
Save and close 7-Zip
Restart Calibre

Probably timeout=50 or less would be fine as well. Simply try the value yourself.

Error log
======
Failed to process Mybooks by calibre:

Traceback (most recent call last):
File "calibre_plugins.kobotouch_extended.device.driver" , line 268, in _modify_epub
File "calibre_plugins.kobotouch_extended.common", line 236, in modify_epub
File "calibre_plugins.kobotouch_extended.container" , line 398, in convert
File "calibre_plugins.kobotouch_extended.container" , line 394, in __run_async_over_content
File "calibre_plugins.kobotouch_extended.container" , line 381, in __run_async
File "calibre_plugins.kobotouch_extended.container" , line 377, in __run_async
File "concurrent\futures\_base.py", line 447, in result
concurrent.futures._base.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\device.py", line 88, in run
File "calibre\gui2\device.py", line 620, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 426, in upload_books
File "calibre\devices\kobo\driver.py", line 2214, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 294, in _modify_epub
File "calibre_plugins.kobotouch_extended.device.driver" , line 268, in _modify_epub
File "calibre_plugins.kobotouch_extended.common", line 236, in modify_epub
File "calibre_plugins.kobotouch_extended.container" , line 398, in convert
File "calibre_plugins.kobotouch_extended.container" , line 394, in __run_async_over_content
File "calibre_plugins.kobotouch_extended.container" , line 381, in __run_async
File "calibre_plugins.kobotouch_extended.container" , line 377, in __run_async
File "concurrent\futures\_base.py", line 447, in result
concurrent.futures._base.TimeoutError: Failed to process Mybooks by calibre:

Last edited by PetBest; 08-16-2022 at 08:13 AM.
PetBest is offline   Reply With Quote
Old 08-30-2022, 10:51 AM   #2794
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 703
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Hi. I am trying to get a color covers screenshot of my homescreen and the output is always grayscale. I was told in the kobo forum that the kobotouch extended contrils this but when i look at the settings, the grayscale cover option is unticked while the upload covers is ticked.

Could this be a bug?

Screenshots of bookcovers within the book (reader) is color.
Deobulakenyo is offline   Reply With Quote
Old 08-31-2022, 06:16 AM   #2795
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
"series" information not updated on device

Does anyone have an idea why the "series" information on a device isn't updated even if the "Set series information" is ticked in the driver? I mean, does this require some sort of additional hands-on to make it work?

Device is a Kobo Clara HD (4.33.19759) using KoboTouchExtended (3.6.3)
--
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-08-31 at 11.57.05.png
Views:	82
Size:	85.8 KB
ID:	196185  

Last edited by Boilerplate4U; 08-31-2022 at 06:42 AM.
Boilerplate4U is offline   Reply With Quote
Old 08-31-2022, 07:19 AM   #2796
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
Quote:
Originally Posted by Boilerplate4U View Post
Does anyone have an idea why the "series" information on a device isn't updated even if the "Set series information" is ticked in the driver?
--
Answering myself: you need these settings (like auto mgmnt, etc) according to this post:

https://www.mobileread.com/forums/sh...20&postcount=4
Boilerplate4U is offline   Reply With Quote
Old 08-31-2022, 10:41 AM   #2797
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
Quote:
Originally Posted by Boilerplate4U View Post
Does this require some sort of additional hands-on to make it work?
--
Is there a way to apply metadata (like "series") to the device without reconnecting it physically?
Boilerplate4U is offline   Reply With Quote
Old 08-31-2022, 11:13 AM   #2798
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Boilerplate4U View Post
Is there a way to apply metadata (like "series") to the device without reconnecting it physically?
I do the reconnect using the 'A' type cable end at the PC. Saves the smaller device end (and the PC usually has multiple ports to spread the wear)
theducks is offline   Reply With Quote
Old 08-31-2022, 11:21 AM   #2799
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Boilerplate4U View Post
Is there a way to apply metadata (like "series") to the device without reconnecting it physically?
Yes there is. See the thread on NickelMenu. NickelMenu can reconnect to the USB without an unplug/replug.

https://www.mobileread.com/forums/sh...d.php?t=329525
JSWolf is offline   Reply With Quote
Old 08-31-2022, 11:27 AM   #2800
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: 35,415
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Boilerplate4U View Post
Is there a way to apply metadata (like "series") to the device without reconnecting it physically?
You can use NickelMenu and add a USB Connect item to the menu which will allow you to reconnect without a physical plug/unplug. Geek1011 also has a utility called NickelSeries which removes the need for the second connect, see NickelSeries: Integrated EPUB/KEPUB series metadata support for more information.

For NickelMenu, you need the following in the config file:

Code:
menu_item : <location> : USB Connect : nickel_misc : force_usb_connection
Replace <location> with main, library, etc. which will say where the menu item will show up (main is home page, library is books, etc.).
DNSB is online now   Reply With Quote
Old 08-31-2022, 11:47 AM   #2801
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
@theducks, @JSWolf and @DNSB - great tips, thank you everyone!
Boilerplate4U is offline   Reply With Quote
Old 09-01-2022, 07:39 AM   #2802
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
Transfer job gets interrupted because of content error in epub.

I had to factory reset my device and consequently reload all my books and manuals (approx 2500). However, since some of the books contains errors the transfer gets interrupted constantly with no indication of what book that was failing.

Questions:
  1. When transferring multiple books to the device, is there a way to continue the transfer despite an error for example using a setting, tweak, plugin?

  2. Is it possible to enable some kind of debug flag in the driver where you can trace the job error log what book/file that was failing? In this case the KoboTouchExtended driver.

Spoiler:
calibre, version 6.3.0
ERROR: Error: Error communicating with device

[Errno 2] No such file or directory: '/private/var/folders/cc/1j765mkn32jgznj122gwn5ydjh64wr/C/calibre_6.3.0_tmp_nm1p8nw5/13vuurm8_epub_container/OEBPS/Text/Chapter008.html'

Traceback (most recent call last):
File "calibre/gui2/device.py", line 88, in run
File "calibre/gui2/device.py", line 620, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 426, in upload_books
return super(KOBOTOUCHEXTENDED, self).upload_books(
File "calibre/devices/kobo/driver.py", line 2214, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 209, in _modify_epub
container = KEPubContainer(infile, common.log, self.clean_markup)
File "calibre_plugins.kobotouch_extended.container" , line 122, in __init__
self.__run_async_over_content(self.forced_cleanup)
File "calibre_plugins.kobotouch_extended.container" , line 394, in __run_async_over_content
self.__run_async(func, names)
File "calibre_plugins.kobotouch_extended.container" , line 381, in __run_async
raise e
File "calibre_plugins.kobotouch_extended.container" , line 377, in __run_async
name = future.result(timeout=10)
File "concurrent/futures/_base.py", line 438, in result
File "concurrent/futures/_base.py", line 390, in __get_result
File "concurrent/futures/thread.py", line 58, in run
File "calibre_plugins.kobotouch_extended.container" , line 287, in forced_cleanup
html = self.raw_data(name, decode=True, normalize_to_nfc=True)
File "calibre/ebooks/oeb/polish/container.py", line 607, in raw_data
File "calibre/ebooks/oeb/polish/container.py", line 1064, in open
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/cc/1j765mkn32jgznj122gwn5ydjh64wr/C/calibre_6.3.0_tmp_nm1p8nw5/13vuurm8_epub_container/OEBPS/Text/Chapter008.html'


Spoiler:
calibre, version 6.3.0
ERROR: Error: Error communicating with device

No META-INF/container.xml in epub

Traceback (most recent call last):
File "calibre/gui2/device.py", line 88, in run
File "calibre/gui2/device.py", line 620, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 426, in upload_books
return super(KOBOTOUCHEXTENDED, self).upload_books(
File "calibre/devices/kobo/driver.py", line 2214, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 209, in _modify_epub
container = KEPubContainer(infile, common.log, self.clean_markup)
File "calibre_plugins.kobotouch_extended.container" , line 117, in __init__
super(KEPubContainer, self).__init__(epub_path, log, *args, **kwargs)
File "calibre/ebooks/oeb/polish/container.py", line 1201, in __init__
calibre.ebooks.oeb.polish.container.InvalidEpub: No META-INF/container.xml in epub

Last edited by Boilerplate4U; 09-01-2022 at 08:27 AM.
Boilerplate4U is offline   Reply With Quote
Old 09-02-2022, 05:30 AM   #2803
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
Github feature request/enhancements..

Regarding the above, I've opened a couple of feature request/enhancements in github: github.com/jgoguen/calibre-kobo-driver.
  1. "Continue on error" for copy jobs with multiple books that fails because of content errors #150
  2. List name of failing book in the job log error message. #151

I'm willing to coorporate or implement these myself but would like some help with pointers where to begin ie what class methods to work with and a possible architectural description how Calibre interacts with the kobo driver in general.
--

Last edited by Boilerplate4U; 09-02-2022 at 10:20 AM.
Boilerplate4U is offline   Reply With Quote
Old 10-20-2022, 03:52 AM   #2804
bob.f
Connoisseur
bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!
 
Posts: 61
Karma: 99068
Join Date: Nov 2017
Device: N/A
Hi,

Very likely to be user error here, but having installed the plugin and sent several books to kobo libra 2 from calibre (wirelessly, using koreader), the result is always that an epub ends up on the device.

My understanding is that the plugin does an on the fly conversion to kepub and sends this to the device.

Is there some config I need to do?
bob.f is offline   Reply With Quote
Old 10-20-2022, 06:42 AM   #2805
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by bob.f View Post
Hi,

Very likely to be user error here, but having installed the plugin and sent several books to kobo libra 2 from calibre (wirelessly, using koreader), the result is always that an epub ends up on the device.

My understanding is that the plugin does an on the fly conversion to kepub and sends this to the device.

Is there some config I need to do?
You can't make this calibre plugin auto-convert epub to kepub unless you're actually using it to physically transfer your books to the Kobo device via a USB connection.

From what you said above you've used KoReader wireless transfer instead of calibre.

In addition, what is your purpose in wanting kepubs? If you're planning to use KoReader to read your books then a standard epub would make more sense. KoReader *can* read kepubs but there's no benefit over epubs.
jackie_w is offline   Reply With Quote
Reply

Tags
error, kobo aura one


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Device Driver Update davidfor Devices 284 05-24-2019 05:24 PM
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod cryzed Plugins 7 10-28-2012 04:58 PM
[Device Interface Plugin] Update for Nook Color Driver jmricker Plugins 0 10-22-2011 10:11 AM
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? EverC Kobo Reader 11 08-31-2011 11:47 PM
Touch Kobo Touch Extended Warranty Program SensualPoet Kobo Reader 1 07-17-2011 04:08 AM


All times are GMT -4. The time now is 07:32 PM.


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