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 06-26-2021, 02:30 PM   #1
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Exclamation Elipsa: Not accepting converted Kepubs

Update: Started over with a factory reset. With the problem below cleared up, I was able to send a kepub to device, but it does not appear. The file is indeed on the Elipsa (checked folder) but apparently converted/sideloaded kepubs are not recognized. Any ideas?


After converting several epubs => kepubs, either on-the-fly or before, the same error message appears when attempting to send to device. Any chance this can be resolved in the future?

calibre, version 5.22.1
ERROR: Error: Error communicating with device

'utf-8' codec can't decode bytes in position 14-15: invalid continuation byte

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 388, in upload_books
File "configparser.py", line 697, in read
File "configparser.py", line 1017, in _read
File "codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 14-15: invalid continuation byte

Last edited by Skydog; 06-26-2021 at 06:19 PM. Reason: Update
Skydog is offline   Reply With Quote
Old 06-26-2021, 06:18 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,379
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
This looks like an issue with either the file name or on of the internal files inside the Epub / kepub being sent.

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Advert
Old 06-26-2021, 06:22 PM   #3
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by PeterT View Post
This looks like an issue with either the file name or on of the internal files inside the Epub / kepub being sent.

Sent from my Pixel 4a using Tapatalk
I was just composing an update to my post above when you replied. Performed factory reset, successfully sent kepub BUT... Elipsa does not recognize it, does not appear. (confirmed it is on the device)
Skydog is offline   Reply With Quote
Old 06-26-2021, 07:30 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,379
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
What location on the Kobo are you sending books to?

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 06-26-2021, 10:31 PM   #5
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Skydog View Post
Update: Started over with a factory reset. With the problem below cleared up, I was able to send a kepub to device, but it does not appear. The file is indeed on the Elipsa (checked folder) but apparently converted/sideloaded kepubs are not recognized. Any ideas?


After converting several epubs => kepubs, either on-the-fly or before, the same error message appears when attempting to send to device. Any chance this can be resolved in the future?

calibre, version 5.22.1
ERROR: Error: Error communicating with device

'utf-8' codec can't decode bytes in position 14-15: invalid continuation byte

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 388, in upload_books
File "configparser.py", line 697, in read
File "configparser.py", line 1017, in _read
File "codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 14-15: invalid continuation byte
That error is from the driver reading the config file on the device. There was string somewhere in the file that the library being used to read the file does not like. The reset of the device cleared this, but, it could appear again.

There is no error handling for that section of the code. I will look at adding that. Also, it is setting the hidden option for full-book page numbering. That hasn't been valid for a while, so I might add some handling of that. Or just remove it completely. Anyone remember what firmware that was added in and then removed?
davidfor is offline   Reply With Quote
Advert
Old 06-26-2021, 10:42 PM   #6
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Thank you for the explanation.

Referencing my update to the post, do you have any idea why the kepub (converted via extended driver)transferred successfully but is not seen on the device?
Skydog is offline   Reply With Quote
Old 06-26-2021, 10:56 PM   #7
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by PeterT View Post
What location on the Kobo are you sending books to?

Sent from my Pixel 4a using Tapatalk
Presumably, the default assigned by Calibre when "Send to Device" is selected, the root directory of KOBOeReader/. I have not done anything differently from four other Kobo devices and never had a problem. There must be something unique going on in my case since I read one other post from another new Elipsa owner who has converted, sent and read kepubs via the driver.
Skydog is offline   Reply With Quote
Old 06-26-2021, 11:16 PM   #8
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Skydog View Post
Thank you for the explanation.

Referencing my update to the post, do you have any idea why the kepub (converted via extended driver)transferred successfully but is not seen on the device?
Does the importing message show when you eject the device?

My understanding is that there are no differences for the existing function in the Elipsa firmware. And I think someone has mentioned sideloaded kepubs with reference to annotations via the pen. I think that was @Cootey. I am putting it on one of my devices to test. That should be close enough, but, there could be something specific to the new device.
davidfor is offline   Reply With Quote
Old 06-26-2021, 11:31 PM   #9
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by davidfor View Post
Does the importing message show when you eject the device?

My understanding is that there are no differences for the existing function in the Elipsa firmware. And I think someone has mentioned sideloaded kepubs with reference to annotations via the pen. I think that was @Cootey. I am putting it on one of my devices to test. That should be close enough, but, there could be something specific to the new device.
Ah... I just noticed that now when trying another book. No importing message with the progress bar - it acted like a reset, i.e. blank, then the three black progressive dots.

P.S. I thought @Cootey was working with Kobo kepubs as he mentioned syncing. But I've read so many posts I may be confused. ;-)

It appears I am an isolated case. From someone's post yesterday: I noticed though that the stylus's markup functionality doesn't seem to work for any kepubs converted by the Kobo Touch Extended driver (or kepubify). Works fine for original epubs though. Does anyone have ideas for a workaround there? I'd be sad to go back to regular epubs on the Elipsa.

Last edited by Skydog; 06-26-2021 at 11:47 PM. Reason: P.S.
Skydog is offline   Reply With Quote
Old 06-26-2021, 11:53 PM   #10
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Skydog View Post
Ah... I just noticed that now when trying another book. No importing message with the progress bar - it acted like a reset, i.e. blank, then the three black progressive dots.
I just put several kepubs on my Glo HD with firmware version 4.28.17826 on it. They were all imported and I was able to open them.

That sounds like the device was rebooted. Which could be a problem with a book. I would recommend removing all the books that have not been imported and trying the in smaller groups or singly. I would check any suspect books in the calibre editor to make sure that shows no errors.
davidfor is offline   Reply With Quote
Old 06-27-2021, 12:39 AM   #11
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: 45,398
Karma: 168808725
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Skydog View Post
Presumably, the default assigned by Calibre when "Send to Device" is selected, the root directory of KOBOeReader/. I have not done anything differently from four other Kobo devices and never had a problem. There must be something unique going on in my case since I read one other post from another new Elipsa owner who has converted, sent and read kepubs via the driver.
I would suggest not using the root directory to place your ebooks. Create a directory called Books or whatever name you prefer and use that instead.
DNSB is offline   Reply With Quote
Old 06-27-2021, 01:15 AM   #12
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by davidfor View Post
I just put several kepubs on my Glo HD with firmware version 4.28.17826 on it. They were all imported and I was able to open them.

That sounds like the device was rebooted. Which could be a problem with a book. I would recommend removing all the books that have not been imported and trying the in smaller groups or singly. I would check any suspect books in the calibre editor to make sure that shows no errors.
That is precisely what I have been doing. I've only sideloaded a total of six books until I resolve the problem. They were all removed, one factory reset was performed and I have attempted to resend/convert a different, single book one at a time all with the same result. I will check all those that have failed but it seems odd that every single one would have errors.

I haven't sideloaded converted kepubs to my other Kobos since the 5.xx upgrade. Guess I should test those too.
Skydog is offline   Reply With Quote
Old 06-27-2021, 01:16 AM   #13
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by DNSB View Post
I would suggest not using the root directory to place your ebooks. Create a directory called Books or whatever name you prefer and use that instead.
Good idea. Which begs a question.

Without realizing Calibre's capabilities many years ago, my earlier Kobo readers had their books dumped in the default root folder. Ironically, it's not how I manage my computers. That said, is it possible to create a new folder, move books to that folder, edit the template for that device, without sc***ing up the entire library, database and communication with Calibre? What would the best method (least risky) to accomplish the task?

Last edited by Skydog; 06-27-2021 at 04:04 AM. Reason: Added text.
Skydog is offline   Reply With Quote
Old 06-27-2021, 02:57 AM   #14
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
I've checked five random books for errors, none reported. Sent to device via KTE driver, only one book each time. Same result, they are physically on the device but do not import or appear in My Books. I have also tried converting prior to sending. Same thing converting from azw3 or epub to kepub.

Also, I've tested with the Forma with the same result and suspect it will be no different with the Libra. The last successful conversion and importing was in v4.23.

After spending four hours fiddling with this I'm burned out.
Skydog is offline   Reply With Quote
Old 06-27-2021, 07:52 AM   #15
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,820
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I've Sony PRS350, Sony 4.3" Android 4.x phone (Aldiko Basic), Palm Z1 PDA, Alcatel 6" phone Android, Android 6.x 7" tablet, Android 10" 8.x tablet (Lithium), Kindles DGX, KK3, PW3, Kobo Original Aura 6.8" H2O, Kobo Libra and Boyue Likebook Mars. All work Calibre 5.21 on Linux. Also had an iRiver Cover Story, Kobo Touch and Nook Simple touch and various LCD Binatone ereaders. ALL worked at the time. Been using Calibre since XP and with an old Kindle Basic.

I did have trouble with the MTP driver especially with the Likebook Mars. On the other Android MTP devices simply ejecting the phone/tablet and then starting Calibre worked.
The universal solution for Linux Mint with Mate is to "stop" (not kill) "gvfs-mtp-volume-monitor and only "continue" it if file browser access is needed. On Cinnamon disabling automount works for MTP

But all the Kobos and Kindles I've seen, and the Sony PRS-350, use USB Mass storage. If you can see the files in Explorer/File-managers then Calibre can. Maybe you have the required device plug in disabled? Or your Kobo Touch or Kobo Touch Extended is out of date and/or hasn't got "try to work with newer firmware" ticked, which is usually OK unless the plugin is prehistoric.

Perhaps you didn't update plugins after 4.23?
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Kobo Elipsa ereader DNSB News 175 05-17-2022 03:34 PM
The Elipsa has shipped Skydog Kobo Reader 51 07-01-2021 08:08 AM
Kobo Elipsa astoriedsoul Kobo Reader 6 05-20-2021 10:57 AM
Text truncated on right side when converted to Kepubs by KoboTouchExtended HYPE Kobo Reader 35 10-29-2017 11:56 PM
[Kobo Glo] kepubs and series (or: some kepubs invisible for Calibre) beedaddy Devices 3 01-14-2013 02:05 AM


All times are GMT -4. The time now is 12:01 AM.


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