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 05-18-2014, 08:15 AM   #1021
Lofwyr23
Poker of bits and books
Lofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterLofwyr23 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 71
Karma: 12662
Join Date: Sep 2013
Device: Kobo Glo HD, Tolino Shine 2, Tolino Vision 5, Tolino Vision color
Quote:
Originally Posted by jgoguen View Post
Same answer, same reasons But I can give you more detail with that info.

When you click "Send to Device", a DeviceJob is queued up. That DeviceJob calls a specific function that all drivers are required to implement which handles sending the book(s) to the connected device. The extended Kobo driver hooks into this method of the mainline Kobo driver (if you know some object-oriented coding, technically KoboTouchExtended extends KoboTouch, implements the appropriate method, and calls the superclass method) and so only one send-to-device conversion may run at any time.

What you may consider is using the KePub Output plugin. It allows you to convert books in your calibre library to KePub format, and multiple conversions can be done at once that way. The KoboTouchExtended driver is aware of this and will skip the conversion process for .kepub books in calibre. Just make sure you enable kepub as a format in the extended driver options (the big list at the too of the settings window) and that kepub is higher than epub in the list.
Ah, crud, oh well, I can live with the extra time then, if it spares me another step in my book transfer flow :F
Lofwyr23 is offline   Reply With Quote
Old 05-30-2014, 03:57 AM   #1022
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
I noticed a small difference between what the plugin does to "kepub"ize an epub, and what a native kepub looks like. I've got two versions of the same book: one version originally with Adobe DRM, and the other version originally with Kobo DRM.

I was originally trying to see why the images at the start of each chapter didn't display immediately. Going forward a page and then backwards showed the image... I haven't worked out why yet, but I did notice a difference in the markup.

Essentially, a div which just contains an image gets wrapped in the kepub with a koboSpan; a kepubized epub does not.

Native decrypted kepub:

Quote:
<body><div id="book-columns"><div id="book-inner">
<h2 class="chapter_head"><a id="pg335"/><span class="koboSpan" id="kobo.1.1">C</span><span class="small"><span class="koboSpan" id="kobo.2.1">HAPTER</span></span><span class="koboSpan" id="kobo.3.1"> 22</span></h2>

<div class="centered_image"><span class="koboSpan" id="kobo.4.1"><img alt="image" height="128" src="../Images/chapter22.jpg" width="133"/></span></div>
Kepubized (grabbed from the .kepub.epub file on my Aura):

Quote:
<body>
<h2 class="chapter_head"><a id="pg335"></a><span class="koboSpan" id="kobo.1.1">C</span><span class="small"><span class="koboSpan" id="kobo.2.1">HAPTER</span></span><span class="koboSpan" id="kobo.2.2"> 22</span></h2>

<div class="centered_image"><img src="../Images/chapter22.jpg" alt="image" width="133" height="128"/></div>

Last edited by chrisridd; 05-30-2014 at 04:53 AM. Reason: Added markup from chapter start, which is also a bit different
chrisridd is offline   Reply With Quote
Advert
Old 05-30-2014, 07:13 AM   #1023
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
Please submit a Launchpad bug report for this? The directions ask for a book demonstrating the issue, but that won't be needed for this report. Just make sure to include the two HTML snippets you put here.
jgoguen is offline   Reply With Quote
Old 05-30-2014, 07:31 AM   #1024
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
Done! Launchpad Bug
chrisridd is offline   Reply With Quote
Old 05-30-2014, 09:20 PM   #1025
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
New version posted. KoboTouchExtended 2.2.16 fixes bug 1324884, requiring that image tags be wrapped in koboSpan tags and allowing other tags requiring this same special treatment to also be processed more easily in the future.
jgoguen is offline   Reply With Quote
Advert
Old 06-02-2014, 04:30 AM   #1026
jugaor
Enthusiast
jugaor began at the beginning.
 
jugaor's Avatar
 
Posts: 33
Karma: 10
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
Hi, Joel. Thank you very much for your awesome plugin!

I detected an undesired effect with the 2.2.16 version: <span> duplication.
Original: <p class="tlogo"><span><img alt="" src="../Images/logo.png" width="100%" /></span></p>
Previous: <p class="tlogo"><span><img src="../Images/logo.png" alt="" width="100%"/></span></p>
Current: <p class="tlogo"><span><span class="koboSpan" id="kobo.1.1"><img alt="" src="../Images/logo.png" width="100%"/></span></span></p>

At CSS:
.tlogo { margin:0 0.25em; text-align:center; text-indent:0; }
.tlogo span { margin:3em 0 2.5em; display:inline-block; width:8em; }


Thus the double <spans> add double space.

It would be possible to detect this situation and add the class="koboSpan" id="kobo.x.x" to the precedent empty <span>, please?


TIA (and sorry for my terrible English)
jugaor


PS: It's impossible to change epubs' code/css, bc it's a fixed template for collaborative work. And this ugly way is the only working solution to ensure compatibility with iBooks.
jugaor is offline   Reply With Quote
Old 06-02-2014, 06:11 AM   #1027
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
Submit a bug report please. For the book attachment, please give me a sample book using the template that has a chapter header, an image, and two paragraphs of text. Use a Lorem Ipsum generator if you want a quick two paragraphs.
jgoguen is offline   Reply With Quote
Old 06-04-2014, 09:32 AM   #1028
allochi
Connoisseur
allochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animals
 
Posts: 88
Karma: 6770
Join Date: Jun 2014
Device: Kobo Aura
Kobo Aura 3.3.0

Ok, I have tried to find an answer for my question on this thread, but I couldn't. So sorry if it's a repeated question.

I installed the conversion and the extended plugin in Calibre. Converted my books to Kepub and many thanks, it solved a lot of characters encoding problems that I had, beside I like the way Kobo books look with the top and bottom margins (boo to me ).

I do get the remaining pages indicator at the footer, which is GREAT!!!! thanks! but I don't get "reading stats", is it working in Kobo Aura + Framework 3.3.0?

I'm not sure if the sample book I had on my Kobo is DRM free (for reference.kepub.epub), could this be the problem?

Thanks a lot for this wonderful plugin!
allochi is offline   Reply With Quote
Old 06-04-2014, 09:49 AM   #1029
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
allochi: The in-book stats were removed by Kobo for sideloaded kepubs last year. From memory, it was firmware version 2.9.0. Which also means that the Aura never displayed them. This was discussed a lot at the time both in this thread and the Kobo sub-forum. A practical and safe workaround was not found.
davidfor is offline   Reply With Quote
Old 06-04-2014, 10:45 AM   #1030
allochi
Connoisseur
allochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animalsallochi is kind to children and small, furry animals
 
Posts: 88
Karma: 6770
Join Date: Jun 2014
Device: Kobo Aura
Quote:
Originally Posted by davidfor View Post
The in-book stats were removed by Kobo for sideloaded kepubs last year... This was discussed a lot at the time both in this thread and the Kobo sub-forum.
Thanks a lot, this save me time, I read as much as I can from this thread, but I was confused as if it's doable or not.

I hope we find a way to do it, it's a really nice feature to have specially when you are reading textbooks, I have bought some math books from Kobo store and I like how stats keep me motivated.

Thanks again for the answer, and I still love the format fix and the chapter remaining pages indicator with the kepub converter
allochi is offline   Reply With Quote
Old 06-12-2014, 03:34 PM   #1031
ayram88
Member
ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.ayram88 shines like a glazed doughnut.
 
Posts: 14
Karma: 8518
Join Date: Dec 2012
Device: Kobo touch
Hello, I used the plugin but I realize that I don't like the header at the top and the chapter division in epubs. How do I make them behave like before?
ayram88 is offline   Reply With Quote
Old 06-12-2014, 03:49 PM   #1032
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
Remove the book from your device, disable the extended plugin, enable the main KoboTouch driver, restart calibre, and send the book back to your device.
jgoguen is offline   Reply With Quote
Old 06-20-2014, 03:43 PM   #1033
yevgeny.bezman
Junior Member
yevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcoveryevgeny.bezman exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 7
Karma: 16196
Join Date: Jun 2014
Device: Kobo Aura HD
Error when trying to use the kobo extended driver

Hi.
I'm using calibre 1.4.0 with a Kobo Aura HD running firmware 3.3.0

I get the following error when trying to copy a file to my device:

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

Failed to parse 'Song of Fire & Ice 01 - A Game of Thrones' by 'George R.R. Martin' with error: 'OEBPS/Mart_9780553897845_epub_toc_r1.htm' (file: calibre_plugins.kobotouch_extended.container, line: 172)

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 86, in run
File "site-packages\calibre\gui2\device.py", line 571, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 276, in upload_books
File "site-packages\calibre\devices\kobo\driver.py", line 1899, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 220, in _modify_epub
InvalidEPub: Failed to parse 'Song of Fire & Ice 01 - A Game of Thrones' by 'George R.R. Martin' with error: 'OEBPS/Mart_9780553897845_epub_toc_r1.htm' (file: calibre_plugins.kobotouch_extended.container, line: 172)


Any ideas what might be the issue?
yevgeny.bezman is offline   Reply With Quote
Old 06-20-2014, 04:00 PM   #1034
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
File a bug report and give me all the requested information. My access is sporadic at the moment, and will likely continue to be sporadic for the next few weeks, but I'll see what I can do.

In the meantime (and AFTER you file a bug and give me all the information I need) you may be able to resolve this by using the Modify Epub plugin. Specifically, if this is caused by what I think it is, you want these modifications:
  • Removing missing file entries from the .opf manifest
  • Add unmanifested files to manifest
The first one is the important one, the second is a precaution but I recommend doing both at once.

If you obtained this book from an online retailer, I would recommend also going back to the store you purchased it from and telling them that the book has errors in the ePub TOC data, possibly also the ePub spine data.
jgoguen is offline   Reply With Quote
Old 07-01-2014, 03:57 AM   #1035
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,965
Karma: 147448039
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
If you obtained this book from an online retailer, I would recommend also going back to the store you purchased it from and telling them that the book has errors in the ePub TOC data, possibly also the ePub spine data.
There is nothing wrong with a true retail version of A Game of Thrones. If there is a ToC issue (such as the XML ToC is missing and not take out of the OPF), then it's not retail and no help should be given.
JSWolf 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 04:00 PM.


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