Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-25-2021, 10:01 PM   #1
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 11,111
Karma: 109515481
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
Calibre on Fedora Linux, cannot upload books to Kobo

Hey guys. I'm running Calibre 5.16.1 on Fedora Linux 33. I've installed Kobo Utilities and Kobo Touch Extended (which is I think what is causing my issue).

I'mable to update ePubs to my Nook. But when I try sending books to my Kobo using Kobo Touch Extended, I get the below error message.

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

Failed to process Past Imperative by Dave Duncan: list index out of range

Traceback (most recent call last):
  File "calibre_plugins.kobotouch_extended.device.driver", line 272, in _modify_epub
    container.copy_file_to_container(
  File "calibre_plugins.kobotouch_extended.container", line 208, in copy_file_to_container
    item = self.generate_item(name, media_type=mt)
  File "calibre/ebooks/oeb/polish/container.py", line 962, in generate_item
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/gui2/device.py", line 89, in run
  File "calibre/gui2/device.py", line 595, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 406, in upload_books
    return super(KOBOTOUCHEXTENDED, self).upload_books(
  File "calibre/devices/kobo/driver.py", line 2134, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 302, in _modify_epub
    raise e.__class__(msg).with_traceback(tb)
  File "calibre_plugins.kobotouch_extended.device.driver", line 272, in _modify_epub
    container.copy_file_to_container(
  File "calibre_plugins.kobotouch_extended.container", line 208, in copy_file_to_container
    item = self.generate_item(name, media_type=mt)
  File "calibre/ebooks/oeb/polish/container.py", line 962, in generate_item
IndexError: Failed to process Past Imperative by Dave Duncan: list index out of range
I've tried uninstalling and reinstalling Kobo Touch extended.

I did disable the Kobo Touch plug-in.
ZodWallop is offline   Reply With Quote
Old 04-25-2021, 11:05 PM   #2
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,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ZodWallop View Post
Hey guys. I'm running Calibre 5.16.1 on Fedora Linux 33. I've installed Kobo Utilities and Kobo Touch Extended (which is I think what is causing my issue).

I'mable to update ePubs to my Nook. But when I try sending books to my Kobo using Kobo Touch Extended, I get the below error message.

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

Failed to process Past Imperative by Dave Duncan: list index out of range

Traceback (most recent call last):
  File "calibre_plugins.kobotouch_extended.device.driver", line 272, in _modify_epub
    container.copy_file_to_container(
  File "calibre_plugins.kobotouch_extended.container", line 208, in copy_file_to_container
    item = self.generate_item(name, media_type=mt)
  File "calibre/ebooks/oeb/polish/container.py", line 962, in generate_item
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/gui2/device.py", line 89, in run
  File "calibre/gui2/device.py", line 595, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 406, in upload_books
    return super(KOBOTOUCHEXTENDED, self).upload_books(
  File "calibre/devices/kobo/driver.py", line 2134, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 302, in _modify_epub
    raise e.__class__(msg).with_traceback(tb)
  File "calibre_plugins.kobotouch_extended.device.driver", line 272, in _modify_epub
    container.copy_file_to_container(
  File "calibre_plugins.kobotouch_extended.container", line 208, in copy_file_to_container
    item = self.generate_item(name, media_type=mt)
  File "calibre/ebooks/oeb/polish/container.py", line 962, in generate_item
IndexError: Failed to process Past Imperative by Dave Duncan: list index out of range
I've tried uninstalling and reinstalling Kobo Touch extended.

I did disable the Kobo Touch plug-in.
That suggests the book has errors. From the code, the extended driver is trying to add a file to the manifest and the manifest cannot be found. That suggests the book is invalid, and specifically, the OPF is wrong. I would open the book in the calibre editor and run to check tool to see what errors it produces and then fix them.
davidfor is offline   Reply With Quote
Advert
Old 04-26-2021, 07:15 PM   #3
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 11,111
Karma: 109515481
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
Well, I tried using the tool, but the error fixes were above my pay grade.

I deleted the ePub and reconverted and wound up getting the same error. What I failed to mention is after converting but before loading the book, I edited it with Sigil and I think the version of Sigil I have is causing trouble. It's version 0.9.14-7.fc33 from the official Gnome Software repo Fedora uses. But I noticed when using Sigil, it will freeze and stop responding.

I wound up using my Windows PC which got everything squared away.

In the future, I will just use Calibre's built-in ebook editor instead of Sigil and see if that helps.
ZodWallop is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre will not upload books LA_reader Calibre 5 05-28-2016 05:17 PM
Upload books to Calibre via WebUI proc Calibre 5 08-05-2014 09:26 PM
Kindle Previewer 2.3 crashes when opening files under Wine/Fedora 15 Linux amoroso Amazon Kindle 7 01-16-2012 10:37 AM
calibre can't upload books to device Tricky Calibre 4 08-13-2010 07:37 AM
calibre 0.6.17 (linux) segfaults when trying to upload books reread Calibre 7 10-18-2009 06:02 PM


All times are GMT -4. The time now is 04:06 PM.


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