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 Yesterday, 11:12 AM   #3001
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: 75,311
Karma: 133361584
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 jgoguen View Post
It already is in the first post, that's where the calibre plugin update server picks up new versions from.
Thanks. I've deleted the attachment.
JSWolf is online now   Reply With Quote
Old Today, 03:12 AM   #3002
Greyhunter
Member
Greyhunter began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2015
Device: Kobo Glo HD
It seems I still have some problems. I am trying to export some books to my 'old faithful' Kobo Glo HD. Strangely, some books did not seems to have any problems, but a few are just impossible to export.

Quote:
calibre, version 7.16.0
ERREUR : Erreur: Erreur pendant la communication avec le périphérique

Failed to process Comptine pour la Dissolution du Monde by Brian Evenson: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'

Traceback (most recent call last):
File "calibre_plugins.kobotouch_extended.device.driver" , line 187, in _modify_epub
File "calibre_plugins.kobotouch_extended.common", line 238, 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 449, in result
File "concurrent\futures\_base.py", line 401, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kobotouch_extended.container" , line 523, in add_kobo_spans
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 539, in _add_kobo_spans_to_node
File "re\__init__.py", line 176, in search
TypeError: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 646, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 342, in upload_books
File "calibre\devices\kobo\driver.py", line 2270, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 211, in _modify_epub
File "calibre_plugins.kobotouch_extended.device.driver" , line 187, in _modify_epub
File "calibre_plugins.kobotouch_extended.common", line 238, 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 449, in result
File "concurrent\futures\_base.py", line 401, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kobotouch_extended.container" , line 523, in add_kobo_spans
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 539, in _add_kobo_spans_to_node
File "re\__init__.py", line 176, in search
TypeError: Failed to process Comptine pour la Dissolution du Monde by Brian Evenson: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'
Greyhunter is offline   Reply With Quote
Old Today, 07:18 AM   #3003
New-Kobo-User
Junior Member
New-Kobo-User began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Color
Exclamation Issue with cbr/cbz since updating to 3.6.9

Since updating to 3.6.9 (previously was using 3.6.7) I've been unable to transfer .cbr and .cbz files to my Kobo Libra Color. I even tested files that were previously on my libra colour by removing them from the device and trying to re-transfer them back onto the device. I always get the following error:

Code:
calibre, version 7.16.0
ERROR: Error: Error communicating with device

Not a ZIP file

Traceback (most recent call last):
  File "calibre\ebooks\oeb\polish\container.py", line 1181, in __init__
  File "calibre\utils\zipfile.py", line 774, in __init__
  File "calibre\utils\zipfile.py", line 809, in _GetContents
  File "calibre\utils\zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 112, in run
  File "calibre\gui2\device.py", line 646, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 342, in upload_books
  File "calibre\devices\kobo\driver.py", line 2270, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 152, in _modify_epub
  File "calibre_plugins.kobotouch_extended.container", line 117, in __init__
  File "calibre\ebooks\oeb\polish\container.py", line 1188, in __init__
  File "calibre\utils\localunzip.py", line 255, in extractall
  File "calibre\utils\localunzip.py", line 242, in _extractall
ValueError: Not a ZIP file
New-Kobo-User is offline   Reply With Quote
Old Today, 09:18 AM   #3004
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: 75,311
Karma: 133361584
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 New-Kobo-User View Post
Since updating to 3.6.9 (previously was using 3.6.7) I've been unable to transfer .cbr and .cbz files to my Kobo Libra Color. I even tested files that were previously on my libra colour by removing them from the device and trying to re-transfer them back onto the device. I always get the following error:

Code:
calibre, version 7.16.0
ERROR: Error: Error communicating with device

Not a ZIP file

Traceback (most recent call last):
  File "calibre\ebooks\oeb\polish\container.py", line 1181, in __init__
  File "calibre\utils\zipfile.py", line 774, in __init__
  File "calibre\utils\zipfile.py", line 809, in _GetContents
  File "calibre\utils\zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 112, in run
  File "calibre\gui2\device.py", line 646, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 342, in upload_books
  File "calibre\devices\kobo\driver.py", line 2270, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 152, in _modify_epub
  File "calibre_plugins.kobotouch_extended.container", line 117, in __init__
  File "calibre\ebooks\oeb\polish\container.py", line 1188, in __init__
  File "calibre\utils\localunzip.py", line 255, in extractall
  File "calibre\utils\localunzip.py", line 242, in _extractall
ValueError: Not a ZIP file
Are your CBZ corrupt?

Last edited by JSWolf; Today at 09:21 AM.
JSWolf is online now   Reply With Quote
Old Today, 09:20 AM   #3005
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: 75,311
Karma: 133361584
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 Greyhunter View Post
It seems I still have some problems. I am trying to export some books to my 'old faithful' Kobo Glo HD. Strangely, some books did not seems to have any problems, but a few are just impossible to export.
Load the eBooks that are failing into the editor and use the editor error checker and eoubcheck (editor plugin) to check for errors and then once any errors are corrected and both error checks say there are no errors, try to send those eBook to your Kobo and see what happens.
JSWolf is online now   Reply With Quote
Old Today, 10:25 AM   #3006
New-Kobo-User
Junior Member
New-Kobo-User began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Color
Quote:
Originally Posted by JSWolf View Post
Are your CBZ corrupt?
I don't believe so. I can open them directly inside Calibre without any issues.
I can also take a copy of the cbr/z files, manually change the extension to rar/zip, and then open/extract/edit them that way, all without any problems.

I 100% know that the cbr/cbz files that I'd previously transferred to my libra colour weren't corrupt. But if I remove any of them from my libra colour then try to re-transfer them via calibre, I run into the same error I pasted in my initial reply to this thread. I transferred some of those files over yesterday, prior to updating the extension to 3.6.9 and they transferred without an issue.

Some additional things I've tried that also haven't worked:
- Ensured my libra colour software is up to date.
- Restarting the calibre app.
- Restarting my PC
- Restarting my kobo
- Uninstalling and reinstalling kobo-touch-extended
New-Kobo-User is offline   Reply With Quote
Old Today, 01:26 PM   #3007
New-Kobo-User
Junior Member
New-Kobo-User began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Color
Quote:
Originally Posted by JSWolf View Post
Are your CBZ corrupt?
I've been doing further testing my files. I used the test feature in winRAR to test if the files were corrupted. All files came back fine. All files are openable directly in calibre to read, I can also interact with all of the files in windows explorer (unzip, edits, etc.).

Out of curiosity, I unzipped one of the .rar files and rezipped it as a .zip file (and renamed to .cbr and .cbz). I wanted to test if I had a .cbr and .cbz of the same ebook, would I receive different errors when trying to import it to kobo. Turns out I do. I can still open both the .cbr and .cbz in calibre, but when I import, the .cbr gives me the "not a zip file" error I posted previously. But the .cbz file now gives the following error:

Code:
calibre, version 7.16.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 112, in run
  File "calibre\gui2\device.py", line 646, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 342, in upload_books
  File "calibre\devices\kobo\driver.py", line 2270, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 152, in _modify_epub
  File "calibre_plugins.kobotouch_extended.container", line 117, in __init__
  File "calibre\ebooks\oeb\polish\container.py", line 1205, in __init__
calibre.ebooks.oeb.polish.container.InvalidEpub: No META-INF/container.xml in epub
Not sure if this confirms there's something wrong with the underlying file for importing to kobo? Although, the file is just a folder with some jpg files in it so not sure why it would be?
New-Kobo-User is offline   Reply With Quote
Old Today, 02:15 PM   #3008
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: 30,168
Karma: 57532198
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The top line says it is not a proper EPUB
I wonder if someone tried just changing the extension? (and mucked up the works)
theducks is online now   Reply With Quote
Old Today, 03:46 PM   #3009
New-Kobo-User
Junior Member
New-Kobo-User began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra Color
Not sure if @theducks reply was in response to me or @greyhunter. If it was me, I'm not sure why my second error even mentions epub at all as the error occurs when trying to import a .cbz file. The .cbz file in question is a comic and the underlying zip file only contains 23 jpg files and nothing else.

As for my general issue of not being able to import .cbr/.cbz files, I'm fairly confident it has something to do with my recently updating kobo-touch-extended from 3.6.7 to 3.6.9.
Up until yesterday, I was still using 3.6.7 and had no issues transferring .cbr/.cbz files. Since updating to 3.6.9 this morning I'm unable to transfer any .cbr/.cbz files - even files that had previously been put on my kobo successfully.

As a last-ditch attempt to confirm the problem isn't with my files; I manually added the .cbr/.cbz files to my kobo via windows explorer instead of through calibre. All of them transferred fine and functioned correctly on my kobo. So the issue seems to have something to do with calibre and its plugins. As I seem to be the only one commenting in this thread about issues transferring .cbr/.cbz files, I don't want to say that the issue lies solely with kobo-touch-extended. It may be something went wrong in calibre when I performed the update to it. I'm not entirely sure.

Tomorrow I might try uninstalling calibre completely and doing a fresh install to see if the problem persists, but I'm hoping there'll be a solution that can help me avoid having to do that
New-Kobo-User is offline   Reply With Quote
Old Today, 04:33 PM   #3010
Anyssia
Member
Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.Anyssia has met Morla.
 
Anyssia's Avatar
 
Posts: 21
Karma: 19112
Join Date: Aug 2012
Device: Kobo Libra2
hi!
I get the same error as Greyhunter since today (calibre is 7.16 and KTE is 3.6.9)

If I understood JSWolf right, you meant use Calibre's edit book feature and hit the check book button, right? I tried that, but it came out clear and transferring epubs to my Kobo (Libra2) still failed. Any idea please?
(reverted to 3.6.7 in the mean time, and sending to Kobo worked perfectly)

Quote:
calibre, version 7.16.0
ERROR: Error: Error communicating with device

Failed to process Supreme Chancellor Obi-Wan Kenobi by stonefreeak: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'

Traceback (most recent call last):
File "calibre_plugins.kobotouch_extended.device.driver" , line 187, in _modify_epub
File "calibre_plugins.kobotouch_extended.common", line 238, 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 449, in result
File "concurrent\futures\_base.py", line 401, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kobotouch_extended.container" , line 523, in add_kobo_spans
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 539, in _add_kobo_spans_to_node
File "re\__init__.py", line 176, in search
TypeError: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 646, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 342, in upload_books
File "calibre\devices\kobo\driver.py", line 2270, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 211, in _modify_epub
File "calibre_plugins.kobotouch_extended.device.driver" , line 187, in _modify_epub
File "calibre_plugins.kobotouch_extended.common", line 238, 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 449, in result
File "concurrent\futures\_base.py", line 401, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kobotouch_extended.container" , line 523, in add_kobo_spans
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kobotouch_extended.container" , line 539, in _add_kobo_spans_to_node
File "re\__init__.py", line 176, in search
TypeError: Failed to process Supreme Chancellor Obi-Wan Kenobi by stonefreeak: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'

Last edited by Anyssia; Today at 04:49 PM.
Anyssia is offline   Reply With Quote
Old Today, 04:44 PM   #3011
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: 30,168
Karma: 57532198
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That appears to be a Plugin error. No need to reinstall Calibre. Just wait for a new PI to be released
theducks is online now   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 05:55 PM.


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