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 11-02-2015, 01:44 PM   #1426
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,535
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
My feelings are it would make sense to use other plugins to massage content to your liking, and leave the output plugin to do just the one job; creating the kEpub. In fact I'd even suggest that some of the options currently in the plugin should be removed; items like hyphenation, punctuation, clean up epub markup to my mind more logically belong in an ePub cleanup tool, not a device interface.
PeterT is offline   Reply With Quote
Old 11-02-2015, 02:41 PM   #1427
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Yea, sorry, I thought this was a KePub problem. I'm not adding ePub-only things; what's there now is mostly geared at simplifying processing for the bulk of the code, or it's things that help and don't need any additional effort to make work when not converting to KePub files.
jgoguen is offline   Reply With Quote
Old 11-02-2015, 02:42 PM   #1428
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
And PeterT's right, a lot of what's there now isn't really device interface plugin material, but that's no reason to continue the bloat
jgoguen is offline   Reply With Quote
Old 11-02-2015, 05:15 PM   #1429
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by PeterT View Post
My feelings are it would make sense to use other plugins to massage content to your liking, and leave the output plugin to do just the one job; creating the kEpub. In fact I'd even suggest that some of the options currently in the plugin should be removed; items like hyphenation, punctuation, clean up epub markup to my mind more logically belong in an ePub cleanup tool, not a device interface.
I don't know,as long as you can put off the options,it will not harm putting it into a plugin, the things like in this plugin is that due to time, i forgot a lot of options, and by setting them,they will be done in the background.
It is not a problem to run a special epub program,as long as you don't forget to do it.
It happens so much that when i am not near the computer and open a book, just to see that i forgot to edit this or that out.
They invented the word macro for it, it is not that i am to lazy just to push those 3 buttons more but it happens often that I got a call, I have to leave in a hurry, transfer quickly some books before I go and then discover that I forgot to change things.. it depends from person to person, i just love the idea that as a backup,no matter what,I can be sure that when i unplug the reader I know for sure that things are done, like the extra .css
The options put in now, must be there on request so people are wanting them i suppose.
Switch something off is a lot more easy then try to get something in,that isn't there, so your "problem" with it is much more easy to solve then mine

Quote:
Originally Posted by jgoguen View Post
Yea, sorry, I thought this was a KePub problem. I'm not adding ePub-only things; what's there now is mostly geared at simplifying processing for the bulk of the code, or it's things that help and don't need any additional effort to make work when not converting to KePub files.
Sorry for the misunderstanding, i didn't knew it was only epub related, if I knew I would not ask it.
Like I said.. it is so easy to forgot that the e-reader is not just one reader that can read so many file types but that there are really 2 different readers inside and that an extra file like the xpgt will be totally ignored by one,and totally ruin (like some really do) lay-outs in the other.. The latest book with it just take off 1,5 cm on left, 1,5 cm on right and the same in bottom and top, leaving less then 5 inch to read.
Thank you for your effords, I hope tomorrow this message will look as clear as it is now, just out of the hospital,head is killing me but wanted to thank u both as soon as possible.. off to bed,without reading today..i smell my pillow..zzzzz

Last edited by Nick_1964; 11-02-2015 at 05:21 PM. Reason: about 20 typo's already..
Nick_1964 is offline   Reply With Quote
Old 11-04-2015, 10:14 AM   #1430
incumbent
Opinionator
incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.
 
Posts: 50
Karma: 395950
Join Date: Nov 2014
Location: United States
Device: Kobo Aura HD / iPad Mini Retina • iBooks (macOS, iOS) & Marvin
Quote:
Originally Posted by jgoguen View Post
That's nothing to do with this driver, but if you can post a debug log perhaps someone can point you in the right direction. Directions for restarting calibre in debug mode are in the first post, what you want to do is disconnect your Aura HD, restart in debug mode, wait for calibre to come up, then connect the reader. Once you see the error, just click OK and then close calibre. You should see the debug log come up in a new window. Paste that here between QUOTE tags, like this:

Code:
calibre, version 2.42.0
ERROR: Unhandled exception: <b>OSError</b>:[Errno 2] No such file or directory: '/Volumes/KOBO16 1/.kobo/KoboReader.sqlite'

calibre 2.42  isfrozen: True is64bit: True
Darwin-15.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.0.0', 'Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.11.1', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Marvin XD && Quality Check && Annotations && Find Duplicates && Kobo Utilities && Embed Comic Metadata && iOS reader applications && KoboTouchExtended && Goodreads Sync && KoboBooks && Goodreads
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 1440, in vacuum_device_database
  File "lib/python2.7/genericpath.py", line 49, in getsize
OSError: [Errno 2] No such file or directory: '/Volumes/KOBO16 1/.kobo/KoboReader.sqlite'
Not going to find the database there, since it'll be on `KOBOeReader` anyway, not `KOBO16` or the current mount point in `/Volumes` of `/Volumes/KOBO16\ 1`.

Last edited by PeterT; 11-04-2015 at 11:33 AM.
incumbent is offline   Reply With Quote
Old 11-04-2015, 01:10 PM   #1431
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Does it work properly if you remove the SD card?
jgoguen is offline   Reply With Quote
Old 11-04-2015, 06:35 PM   #1432
incumbent
Opinionator
incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.
 
Posts: 50
Karma: 395950
Join Date: Nov 2014
Location: United States
Device: Kobo Aura HD / iPad Mini Retina • iBooks (macOS, iOS) & Marvin
Untested. When I can reproduce the error I'll try.

(I'm usually wary of doing so because it takes a considerable amount of time for the Kobo to sift through the 16GB card.)
incumbent is offline   Reply With Quote
Old 11-05-2015, 03:23 AM   #1433
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 incumbent View Post
Code:
calibre, version 2.42.0
ERROR: Unhandled exception: <b>OSError</b>:[Errno 2] No such file or directory: '/Volumes/KOBO16 1/.kobo/KoboReader.sqlite'

calibre 2.42  isfrozen: True is64bit: True
Darwin-15.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.0.0', 'Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.11.1', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Marvin XD && Quality Check && Annotations && Find Duplicates && Kobo Utilities && Embed Comic Metadata && iOS reader applications && KoboTouchExtended && Goodreads Sync && KoboBooks && Goodreads
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 1440, in vacuum_device_database
  File "lib/python2.7/genericpath.py", line 49, in getsize
OSError: [Errno 2] No such file or directory: '/Volumes/KOBO16 1/.kobo/KoboReader.sqlite'
Not going to find the database there, since it'll be on `KOBOeReader` anyway, not `KOBO16` or the current mount point in `/Volumes` of `/Volumes/KOBO16\ 1`.
That is in the Kobo Utilities plugin when doing compress. And it is using the wrong path. Was there an earlier error? Does calibre show books on the device or the card? The utilities plugin is getting the path to the device from calibre. If it is wrong at this point, it should have been wrong earlier.

I had a quick look at the code getting the paths. At the moment, I cannot see a way that this could happen. I'll have to have better look and hopefully see it.

Quote:
Originally Posted by incumbent View Post
Untested. When I can reproduce the error I'll try.

(I'm usually wary of doing so because it takes a considerable amount of time for the Kobo to sift through the 16GB card.)
How long? Unless you change the books on the card, it should be fairly quick. The first time the device sees the card, it will take a long time, but after that it should be only a few seconds. With 1100 books on a card, reinserting it in my Touch takes less than ten seconds. I would expect it to take more time with a lot more books, but, it should only be a couple of minutes.
davidfor is offline   Reply With Quote
Old 11-10-2015, 10:05 PM   #1434
incumbent
Opinionator
incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.
 
Posts: 50
Karma: 395950
Join Date: Nov 2014
Location: United States
Device: Kobo Aura HD / iPad Mini Retina • iBooks (macOS, iOS) & Marvin
Quote:
Originally Posted by davidfor View Post
That is in the Kobo Utilities plugin when doing compress. And it is using the wrong path. Was there an earlier error? Does calibre show books on the device or the card? The utilities plugin is getting the path to the device from calibre. If it is wrong at this point, it should have been wrong earlier.
Yeah there is —*but it's not descriptive.

Just says there was a problem reading the device information or what-have-you and then show details doesn't give any real identification of an issue other than can't find a database — it doesn't tell me where it looked.

That's why I use the Database Compress or some other action that will give a more verbose error message.

Quote:
Originally Posted by davidfor View Post
I had a quick look at the code getting the paths. At the moment, I cannot see a way that this could happen. I'll have to have better look and hopefully see it.
Boo. Question —*do you or anyone know what calibre-related files ought to be on the SD card? The reason I ask is that my SD card has, aside from books and PDFs and comics:

Code:
koboExtStorage/
metadata.calibre
driveinfo.calibre
`driveinfo.calibre` contains

Code:
{"location_code": "main", "device_name": "Kobo Aura HD", "calibre_version": "2.43.0", "device_store_uuid": "(obfuscated)", "last_library_uuid": null, "date_last_connected": "2015-11-11T02:39:48.500774+00:00", "prefix": "/Volumes/KOBO16/"}

Quote:
Originally Posted by davidfor View Post
How long? Unless you change the books on the card, it should be fairly quick. The first time the device sees the card, it will take a long time, but after that it should be only a few seconds. With 1100 books on a card, reinserting it in my Touch takes less than ten seconds. I would expect it to take more time with a lot more books, but, it should only be a couple of minutes.
I don't know. I often change the books on the card. I also shove a lot of PDFs and CBR/CBZ graphic novels on there, and I do a daily Pocket digest and some other feeds as well —*current contents are ~11.5GB of files, visual representation is like:
_Volumes_KOBO16_-_20_55_45, on Flickr

`find . -type f | wc -l` says I've got 2546 files on the card. I don't know what is normal or abnormal for processing the files on a card but I'll time it for science right now.
incumbent is offline   Reply With Quote
Old 11-10-2015, 10:35 PM   #1435
incumbent
Opinionator
incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.incumbent ought to be getting tired of karma fortunes by now.
 
Posts: 50
Karma: 395950
Join Date: Nov 2014
Location: United States
Device: Kobo Aura HD / iPad Mini Retina • iBooks (macOS, iOS) & Marvin
Pulled the SD card after ejecting volumes, plugged it back in, Calibre was fine. Didn't whine about the database or anything. I just don't keep books there really except some news feeds that I didn't clean up yet. (I hate when the database blows up and I have to reinitialize the device so I made that as painless as I could by putting all my books and stuff on the SD card so I don't have to copy it all back.)

Eject successful, Kobo comes back up to Nickle or whatever, and I insert the card with no new books on it since the last time I managed it successfully.

Time to complete: About 60 seconds. Fumbled with the card a bit so give or take 5 seconds.

Plugged it back in for Calibre and… crickets:

ERROR__Error, on Flickr

Same drill. If I attempt a database operation it's def trying to hit the card and not the internal storage.
incumbent is offline   Reply With Quote
Old 11-11-2015, 12:38 AM   #1436
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 incumbent View Post
Yeah there is —*but it's not descriptive.

Just says there was a problem reading the device information or what-have-you and then show details doesn't give any real identification of an issue other than can't find a database — it doesn't tell me where it looked.

That's why I use the Database Compress or some other action that will give a more verbose error message.
But, any earlier can error invalidate anything that happens later. It is possible that the reason it is trying to access the SD card here is because something broke earlier that confused things.
Quote:
Boo. Question —*do you or anyone know what calibre-related files ought to be on the SD card? The reason I ask is that my SD card has, aside from books and PDFs and comics:

Code:
koboExtStorage/
metadata.calibre
driveinfo.calibre
The "koboExtStorage" directory is put there by the firmware. The others are put there by calibre. These two files should also be in the main memory of the device. Are they?
Quote:
`driveinfo.calibre` contains

Code:
{"location_code": "main", "device_name": "Kobo Aura HD", "calibre_version": "2.43.0", "device_store_uuid": "(obfuscated)", "last_library_uuid": null, "date_last_connected": "2015-11-11T02:39:48.500774+00:00", "prefix": "/Volumes/KOBO16/"}
That's wrong. But, whether that is the cause or a symptom, I cannot tell. Is it possible you copied this file there from the devices main memory? If so, that might cause it. In any case, delete both the "metadata.calibre" and "driveinfo.calibre" and see if calibre is happier.

Quote:
`find . -type f | wc -l` says I've got 2546 files on the card. I don't know what is normal or abnormal for processing the files on a card but I'll time it for science right now.
Quote:
Originally Posted by incumbent View Post
Pulled the SD card after ejecting volumes, plugged it back in, Calibre was fine. Didn't whine about the database or anything. I just don't keep books there really except some news feeds that I didn't clean up yet. (I hate when the database blows up and I have to reinitialize the device so I made that as painless as I could by putting all my books and stuff on the SD card so I don't have to copy it all back.)


Eject successful, Kobo comes back up to Nickle or whatever, and I insert the card with no new books on it since the last time I managed it successfully.

Time to complete: About 60 seconds. Fumbled with the card a bit so give or take 5 seconds.
That's sort of what I expected. It would be better if it was faster, but it's not slow enough that it would bug me.
Quote:

Plugged it back in for Calibre and… crickets:

ERROR__Error, on Flickr

Same drill. If I attempt a database operation it's def trying to hit the card and not the internal storage.
OK, that is from the initial connect and is the first time the database is accessed. Anything later is uninteresting at this point as this is what has to be fixed.

Unfortunately, it doesn't tell me much. As jgoguen suggested a few posts ago, a debug log is needed to see what is happening. Restart calibre in debug mode, connect the device and let the connection jobs run. When the error happens, close calibre and post the complete log. From that, I can get a better idea of what is happening.

And just to be clear, this is not a problem with the extended driver. This is in the underlying KoboTouch driver or the calibre code to handle devices. Or it could be something strange about the device or the way the OS (Mac?) is presenting the device. And it is the first time I have heard of a problem like this.
davidfor is offline   Reply With Quote
Old 11-11-2015, 02:40 AM   #1437
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: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
incumbent, you need to change your Flickr from private to public. When we click on these thumbnails, we cannot see the full size images as you have your Flickr set to private.
JSWolf is offline   Reply With Quote
Old 11-11-2015, 02:57 PM   #1438
ilicitanosoy
Junior Member
ilicitanosoy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2015
Device: Kobo Glo
My English is very bad and I apologize for that . Your pluggin is incredible, but a few days ago I'm having some problems that drive me crazy with calibre. I can send books that are already converted to Kepub however does not make me the rest. I get this error !!!

calibre, version 2.43.0
ERROR: Error: Error en la comunicación con el dispositivo

Failed to parse 'Apartamento 16' by 'Adam Nevill' with error: 'All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters' (file: calibre_plugins.kobotouch_extended.container, line: 158)

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 584, in _upload_books
File "calibre_plugins.kobotouch_extended.device.dri ver" , line 294, in upload_books
File "site-packages\calibre\devices\kobo\driver.py", line 1918, in upload_books
File "calibre_plugins.kobotouch_extended.device.dri ver" , line 231, in _modify_epub
InvalidEPub: Failed to parse 'Apartamento 16' by 'Adam Nevill' with error: 'All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters' (file: calibre_plugins.kobotouch_extended.container, line: 158)
ilicitanosoy is offline   Reply With Quote
Old 11-11-2015, 03:04 PM   #1439
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Does this happen with all books that aren't already KePubs or just this one book or just some books? The line indicated by the error is common to both the extended driver and the conversion plugin; if you try to convert this book to KePub first does that also fail?
jgoguen is offline   Reply With Quote
Old 11-11-2015, 05:18 PM   #1440
ilicitanosoy
Junior Member
ilicitanosoy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2015
Device: Kobo Glo
That always happens to me with books that are not kepub . I tried it with other books already converted and no problem to pass .

If I use "calibre" gives me the following error.

Spoiler:

calibre, version 2.43.0 (win32, isfrozen: True)
Error de conversión: Fallo: Convertido el libro 1 de 1 (100 Puertas)

Convertido el libro 1 de 1 (100 Puertas)
C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Resolved conversion options
calibre version: 2.43.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\JESS~1\\AppData\\Local\\Temp\\calibre _hw_bzp\\cr7lb2.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': ,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_replace_lang': True,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': ,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\JESS~1\\AppData\\Local\\Temp\\calibre _hw_bzp\\zmh3yd.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\JESS~1\AppData\Local\Temp\calibre_hw_bzp\ kz4_dx.epub
Found HTML cover OEBPS/Text/cubierta.xhtml
Parsing all content...
Parsing OEBPS/Text/dedicatoria.xhtml ...
Parsing OEBPS/Text/Section0004.xhtml ...
Parsing OEBPS/Text/Section0018.xhtml ...
Parsing OEBPS/Text/Section0005.xhtml ...
Parsing OEBPS/Text/Section0012.xhtml ...
Parsing OEBPS/Text/sinopsis.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/Section0006.xhtml ...
Parsing OEBPS/Text/Section0013.xhtml ...
Parsing OEBPS/Text/info.xhtml ...
Parsing OEBPS/Text/Section0007.xhtml ...
Parsing OEBPS/Text/titulo.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/Section0014.xhtml ...
Parsing OEBPS/Text/autor.xhtml ...
Parsing OEBPS/Text/Section0003.xhtml ...
Parsing OEBPS/Styles/style.css ...
Parsing OEBPS/Text/Section0015.xhtml ...
Parsing OEBPS/Text/Section0010.xhtml ...
Parsing OEBPS/Text/notas.xhtml ...
Parsing OEBPS/Text/Section0008.xhtml ...
Parsing OEBPS/Text/Khariel.htm ...
Parsing OEBPS/Text/Section0016.xhtml ...
Parsing OEBPS/Text/Section0017.xhtml ...
Parsing OEBPS/Text/cubierta.xhtml ...
Parsing OEBPS/Text/Section0009.xhtml ...
Parsing OEBPS/Text/Section0011.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 90 items of level: p_2
Found 2502 items of level: p_1
Found 38 items of level: div_1
p_2 left margin stats: Counter({u'0': 90})
p_2 right margin stats: Counter({u'0': 90})
p_1 left margin stats: Counter({u'0': 2501, u'1.5em': 1})
p_1 right margin stats: Counter({u'0': 2501, u'1.5em': 1})
div_1 left margin stats: Counter({u'1.5em': 5, u'': 1, u'0.5em': 1, u'2em': 1})
div_1 right margin stats: Counter({u'1.5em': 5, u'': 1, u'0.5em': 1, u'2em': 1})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/Images/EPL_logo.png' from manifest
Trimming u'OEBPS/Text/cubierta.xhtml' from manifest
Creating KePub Output...
Rescaling image from 1087x1600 to 805x1186 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/Text/dedicatoria.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0004.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0018.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0005.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0012.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/sinopsis.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0001.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0006.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0013.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/info.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0007.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/titulo.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0002.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0014.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/autor.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0003.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0015.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0010.xhtml...
No large trees found
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Splitting on page-break at id=calibre_pb_2
Splitting on page-break at id=calibre_pb_3
Splitting on page-break at id=calibre_pb_4
Splitting on page-break at id=calibre_pb_5
Splitting on page-break at id=calibre_pb_6
Looking for large trees in OEBPS/Text/notas.xhtml...
No large trees found
Split into 8 parts
Looking for large trees in OEBPS/Text/Section0008.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Khariel.htm...
No large trees found
Looking for large trees in OEBPS/Text/Section0016.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0017.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0009.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0011.xhtml...
No large trees found
Copying file 'C:\Users\JESS~1\AppData\Local\Temp\calibre_hw_bzp \4yajod_KePubOutputPluginInfo' to 'C:\Users\JESS~1\AppData\Local\Temp\calibre_hw_bzp \csux3l_epub_container' as 'plugininfo.kte'
{'clean_markup': True, 'extended_kepub_features': True, 'smarten_punctuation': False, 'no-hyphens': False, 'replace_lang': True, 'hyphenate': True}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file OEBPS/Text/Khariel.htm
Forcing cleanup for file OEBPS/Text/Section0001.xhtml
Forcing cleanup for file OEBPS/Text/Section0002.xhtml
Forcing cleanup for file OEBPS/Text/Section0003.xhtml
Forcing cleanup for file OEBPS/Text/Section0004.xhtml
Forcing cleanup for file OEBPS/Text/Section0005.xhtml
Forcing cleanup for file OEBPS/Text/Section0006.xhtml
Forcing cleanup for file OEBPS/Text/Section0007.xhtml
Forcing cleanup for file OEBPS/Text/Section0008.xhtml
Forcing cleanup for file OEBPS/Text/Section0009.xhtml
Forcing cleanup for file OEBPS/Text/Section0010.xhtml
Forcing cleanup for file OEBPS/Text/Section0011.xhtml
Forcing cleanup for file OEBPS/Text/Section0012.xhtml
Forcing cleanup for file OEBPS/Text/Section0013.xhtml
Forcing cleanup for file OEBPS/Text/Section0014.xhtml
Forcing cleanup for file OEBPS/Text/Section0015.xhtml
Forcing cleanup for file OEBPS/Text/Section0016.xhtml
Forcing cleanup for file OEBPS/Text/Section0017.xhtml
Forcing cleanup for file OEBPS/Text/Section0018.xhtml
Forcing cleanup for file OEBPS/Text/autor.xhtml
Forcing cleanup for file OEBPS/Text/dedicatoria.xhtml
Forcing cleanup for file OEBPS/Text/info.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_000.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_001.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_002.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_003.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_004.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_005.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_006.xhtml
Forcing cleanup for file OEBPS/Text/notas_split_007.xhtml
Forcing cleanup for file OEBPS/Text/sinopsis.xhtml
Forcing cleanup for file OEBPS/Text/titulo.xhtml
Forcing cleanup for file titlepage.xhtml
Cleaning markup for file OEBPS/Text/Khariel.htm
Cleaning markup for file OEBPS/Text/Section0001.xhtml
Cleaning markup for file OEBPS/Text/Section0002.xhtml
Cleaning markup for file OEBPS/Text/Section0003.xhtml
Cleaning markup for file OEBPS/Text/Section0004.xhtml
Cleaning markup for file OEBPS/Text/Section0005.xhtml
Cleaning markup for file OEBPS/Text/Section0006.xhtml
Cleaning markup for file OEBPS/Text/Section0007.xhtml
Cleaning markup for file OEBPS/Text/Section0008.xhtml
Cleaning markup for file OEBPS/Text/Section0009.xhtml
Cleaning markup for file OEBPS/Text/Section0010.xhtml
Cleaning markup for file OEBPS/Text/Section0011.xhtml
Cleaning markup for file OEBPS/Text/Section0012.xhtml
Cleaning markup for file OEBPS/Text/Section0013.xhtml
Cleaning markup for file OEBPS/Text/Section0014.xhtml
Cleaning markup for file OEBPS/Text/Section0015.xhtml
Cleaning markup for file OEBPS/Text/Section0016.xhtml
Cleaning markup for file OEBPS/Text/Section0017.xhtml
Cleaning markup for file OEBPS/Text/Section0018.xhtml
Cleaning markup for file OEBPS/Text/autor.xhtml
Cleaning markup for file OEBPS/Text/dedicatoria.xhtml
Cleaning markup for file OEBPS/Text/info.xhtml
Cleaning markup for file OEBPS/Text/notas_split_000.xhtml
Cleaning markup for file OEBPS/Text/notas_split_001.xhtml
Cleaning markup for file OEBPS/Text/notas_split_002.xhtml
Cleaning markup for file OEBPS/Text/notas_split_003.xhtml
Cleaning markup for file OEBPS/Text/notas_split_004.xhtml
Cleaning markup for file OEBPS/Text/notas_split_005.xhtml
Cleaning markup for file OEBPS/Text/notas_split_006.xhtml
Cleaning markup for file OEBPS/Text/notas_split_007.xhtml
Cleaning markup for file OEBPS/Text/sinopsis.xhtml
Cleaning markup for file OEBPS/Text/titulo.xhtml
Cleaning markup for file titlepage.xhtml
Copying file 'C:\Users\JESS~1\AppData\Local\Temp\calibre_hw_bzp \kepub_hs3wly_hyphenate' to 'C:\Users\JESS~1\AppData\Local\Temp\calibre_hw_bzp \csux3l_epub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file OEBPS/Text/Khariel.htm
C:\Program Files\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 193, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1207, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 100, in convert
File "calibre_plugins.kepubout.common", line 82, in modify_epub
File "calibre_plugins.kepubout.container", line 158, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

Last edited by PeterT; 11-11-2015 at 07:52 PM.
ilicitanosoy 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 09:56 AM.


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