Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2014, 10:11 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Question wierd doubling effect with extended touchdriver dir

in one specific book, I am seeing a most strange effect. I appreciate that teh authro of the relevant plugin which tweaks epub iunto kepub is not longer actively involced here. but I am hoping shomeone else can shed some light

what i see on AuraHD is that each h tag chapter header is printed twice.
when I intcept the converted-to-kepub code, then sure enought it is in there - see below, but it is not in the epub source,
so something in how this header line is constructed must be causing the plug-in to glitch. I have not seen it do this with any other book

kepub code ( plug in configured to save a copy to PC, as it send to device )
Code:
<h1 class="h"><span class="koboSpan" id="kobo.6.1"><img alt="002" class="imgepub" src="../Images/stro_9781101081983_oeb_002_r1.gif" />BOMB SCARE</span><span class="koboSpan" id="kobo.6.1">BOMB SCARE</span></h1>
epub (my calibre library file ]
Code:
<h1 class="h"><img alt="002" class="imgepub" src="../Images/stro_9781101081983_oeb_002_r1.gif" />BOMB SCARE</h1>
is it's not going to happen to any other books then I can live with it, i would guess that the <img bit is what triggers the glitch, and that if I stripped that out of the source file, then the doubling effect would go away.
PS the gif is just a little circle thingie, it's not anything meaningful or important.

so I what I should see for that snippet is (centered) BOMB SCARE

what I actually see on Aura HD is (centered) BOMB SCAREBOMB SCARE

and the same throughout the book, for each similarly constructed header

Last edited by cybmole; 08-12-2014 at 10:15 AM.
cybmole is offline   Reply With Quote
Old 08-12-2014, 02:53 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,504
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Regardless of whether or not the author is still actively supporting this, you SHOULD still post in the appropriato plugin thread to at least ensure that all issues are kept in one location (and that someone might investigate).

Additionally, why not supply a test ePub that demonstrates the issue; maybe use ePub split to split out a chapter or two, and then edit the the book to leave just headings and maybe some place holder text.
PeterT is offline   Reply With Quote
Advert
Old 08-12-2014, 03:27 PM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
I posted here really to ask if anyone had ever seem anything similar- I was not really asking for a fix, as I know the plug-in is frozen as-is unless someone takes over its development.

I don't want to double post ( that' s against rules I think) - but I'd be happy for a mod to move the thread

as for a test book, I see no point.
Rather then me try to guess how much of an extract is allowed to be uploaded within copyright rules here... it is clearly an issue with that header code , so just paste that given line into sigil to make a "book". There are 50+ occurrences of that within the book I reckon - different words, same doubling of text in the kepub conversion. I can provide the relevent gif & any class definitions if needed.

Or anyone contacting my via PM can have a copy of the whole epub book for testing.

The Book is "Wireless" by Charles Stross.

I'll happily to & fro with extracts etc for anyone working on replicating/ debugging, but I will wait to be contacted. For now I'll just finish reading it on a tablet instead, as epub.
I checked the original also in ADE on PC & it displays correctly.
cybmole is offline   Reply With Quote
Old 08-12-2014, 03:31 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,504
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
FFS. If you want people to try to FIX the issue YOU NEED to take a bif of effort to provide a test case; one that can be used.

So much for my thinking I'd take a look at it for you.
PeterT is offline   Reply With Quote
Old 08-12-2014, 03:44 PM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
why are we arguing. I 'm not expecting anyone to fix it for me. I can keep deleting bits of the original chapter header code until the problem goes away, if I so wish.

I reported a bug & asked if anyone else was aware of it
you are correctly saying the report would be better in a different location
I am leaving that for a mod to handle - I can't move posts!
I'm offering you or anyone what want it, the whole book via PM
I would have PMd the developer but he's quit, so it's not his problem, now!

Sheesh - I'm off to lurk on the Rumble in the Jungle (Hitch V Kovid thread) in the other forum- that's far more entertaining !

My money is on "removing the <img bit will sort it" ( & Kovid to win by a TKO before the night is over )

PPS I'm dunno what FFS means but maybe I don't want to know. Byeeee.... ( the last word is yours for the taking - I'm outa here)

Last edited by cybmole; 08-12-2014 at 03:47 PM.
cybmole is offline   Reply With Quote
Advert
Old 08-12-2014, 09:16 PM   #6
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
cybmole: Anyone who is willing to look at this to fix it, doesn't want the complete book. They want as small a sample as possible that demonstrates the problem. The code lines you posted above are probably enough to do it. But, before someone can work on the problem, they need to construct a epub, put those lines in, find a suitable image, check that the epub works. Then they can start looking at the code in the plugin. Or they need to contact you for a copy of the book. Then they are working with a sample that is much larger than needed.

If you create the test sample. post it to the plugins thread, with a reference to here and the original book, the chances of someone looking at it go way up.
davidfor is offline   Reply With Quote
Old 08-12-2014, 11:26 PM   #7
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,504
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Test eBook and post added to the main thread.
PeterT is offline   Reply With Quote
Old 08-13-2014, 01:10 AM   #8
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
thanks both,

the quick fix for this book is as I surmised.
just remove the gifs, which I did not care for anyway

de-cluttered and converted header is fine now:
source
<h1 class="h">BOMB SCARE</h1>
converts to
<h1 class="h"><span class="koboSpan" id="kobo.6.1">BOMB SCARE</span></h1>

if ever anyone picks up plug-in development and wants to delve deeper into why it glitched, then I'll be happy to help.
cybmole is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre doubling content sergo Conversion 3 03-10-2013 03:19 AM
How to stop images from doubling size? bfollowell Amazon Kindle 2 10-12-2010 09:55 PM
eBook doubling on Kobobooks? Squirsier General Discussions 8 10-06-2010 09:16 PM
PRS-505 Text doubling revfish Sony Reader 4 07-04-2010 09:41 PM
Books doubling up with Sync. Help please nwinter Sony Reader 11 12-16-2008 07:58 PM


All times are GMT -4. The time now is 10:56 PM.


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