View Single Post
Old 11-21-2013, 04:59 AM   #6
mightymouse2045
Enthusiast
mightymouse2045 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: May 2011
Device: xoom
Talking Worked it out

Ok I've worked out what it is.

Kovid can you see if you can work this one out. In the split_002.html file this line is causing it to crash the reader.

Code:
<p class="calibre12"><span class="calibre11"><span class="bold"><span class="calibre5">Corgi&nbsp;Books&nbsp;are&nbsp;published&nbsp;by&nbsp;Transworld&nbsp;Publishers&nbsp;Ltd.,&nbsp;61-63&nbsp;Uxbridge&nbsp;Road,&nbsp;Ealing,&nbsp;London&nbsp;W5&nbsp;5SA,&nbsp;in&nbsp;Australia&nbsp;by&nbsp;Transworld&nbsp;Publishers&nbsp;(Australia)&nbsp;Pty.&nbsp;Ltd.,&nbsp;15-23&nbsp;Helles&nbsp;Avenue,&nbsp;Moorebank,&nbsp;NSW&nbsp;2170,&nbsp;and&nbsp;in&nbsp;New&nbsp;Zealand&nbsp;by&nbsp;Transworld&nbsp;Publishers&nbsp;(N.Z.)&nbsp;Ltd.,&nbsp;Cnr.&nbsp;Moselle&nbsp;and&nbsp;Waipareira&nbsp;Avenues,&nbsp;Henderson,&nbsp;Auckland.</span></span></span></p>
If I delete from Corgi to the beginning of 5SA it still crashes it.

So the following still crashes it:

Code:
<p class="calibre12"><span class="calibre11"><span class="bold"><span class="calibre5">5SA,&nbsp;in&nbsp;Australia&nbsp;by&nbsp;Transworld&nbsp;Publishers&nbsp;(Australia)&nbsp;Pty.&nbsp;Ltd.,&nbsp;15-23&nbsp;Helles&nbsp;Avenue,&nbsp;Moorebank,&nbsp;NSW&nbsp;2170,&nbsp;and&nbsp;in&nbsp;New&nbsp;Zealand&nbsp;by&nbsp;Transworld&nbsp;Publishers&nbsp;(N.Z.)&nbsp;Ltd.,&nbsp;Cnr.&nbsp;Moselle&nbsp;and&nbsp;Waipareira&nbsp;Avenues,&nbsp;Henderson,&nbsp;Auckland.</span></span></span></p>
If I have from (Australia) to (N.Z) it doesn't crash, and if I have from 5SA to Auckland minus the part from (Australia) to (N.Z) it doesn't crash.

So I'm sort of not understanding what part of the above code is causing it. However of the 3 or 4 ePUBS that are causing the reader to crash all of them have the exact same code in them.

As I said if I remove the <dc:language>en</dc:language> from content.opf it works, but of course when getting epub files from the web interface of Calibre that tag gets reinserted. If I remove the whole line from ...split_002.html and leave the dc:language tages in place it fixes it and won't break when getting them from calibre, which is the obvious solution, but could you perhaps see what from the above code is causing the crash in the first place?

I know it's not calibre causing the crash now, but thought you might be able to help out?
mightymouse2045 is offline   Reply With Quote