Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2013, 12:56 PM   #1
onegreenballoon
Junior Member
onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.
 
Posts: 3
Karma: 7776
Join Date: Feb 2013
Device: Samsung Infuse running Aldiko app
Error appears in specific book file; how to fix?

I've recently acquired a copy of Roald Dahl's The Giraffe and the Pelly and Me. However, the file has a repeating error:



The line and column numbers in these errors change, but the line is always in the teens and the column number is always one-sixty-something. The whole book is wrecked - it'll render to the first error, like it says, but there are so many errors that much of the book isn't shown.

I went in to Tweak, and the lack of order in the coding made my eyes cross. I have no idea where to even start to look for line 11 at column 165.

Can anyone give me a clue as to how I might fix this? It also occurs in The BFG, Matilda, and Boy...
onegreenballoon is offline   Reply With Quote
Old 02-04-2013, 01:38 PM   #2
gbm
Guru
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 692
Karma: 1282942
Join Date: Jun 2010
Device: Hisence Sero 7 Pro, Nook STR, jetbook lite
Quote:
Originally Posted by onegreenballoon View Post
I've recently acquired a copy of Roald Dahl's The Giraffe and the Pelly and Me. However, the file has a repeating error:



The line and column numbers in these errors change, but the line is always in the teens and the column number is always one-sixty-something. The whole book is wrecked - it'll render to the first error, like it says, but there are so many errors that much of the book isn't shown.

I went in to Tweak, and the lack of order in the coding made my eyes cross. I have no idea where to even start to look for line 11 at column 165.

Can anyone give me a clue as to how I might fix this? It also occurs in The BFG, Matilda, and Boy...
Open your epub with Sigil. Html tidy is part of Sigil and will clean up the html.

bernie
gbm is offline   Reply With Quote
 
Enthusiast
Old 02-04-2013, 08:52 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,863
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Line 11 is almost always in the boilerplate (before the <body> tag)
Your source is putting out some really poor HTML

Also note Tag case should match:
if it opens with (eg): <p>
then it must close with a lower case </p>
theducks is offline   Reply With Quote
Old 02-05-2013, 11:25 AM   #4
onegreenballoon
Junior Member
onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.
 
Posts: 3
Karma: 7776
Join Date: Feb 2013
Device: Samsung Infuse running Aldiko app
Quote:
Originally Posted by theducks View Post
Your source is putting out some really poor HTML
Yeah, can't argue with you there. :P
onegreenballoon is offline   Reply With Quote
Old 02-05-2013, 11:27 AM   #5
onegreenballoon
Junior Member
onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.onegreenballoon knows the square root of minus one.
 
Posts: 3
Karma: 7776
Join Date: Feb 2013
Device: Samsung Infuse running Aldiko app
Quote:
Originally Posted by gbm View Post
Open your epub with Sigil. Html tidy is part of Sigil and will clean up the html.

bernie
Wow, worked like a charm! Thanks so much for your help.
onegreenballoon is offline   Reply With Quote
Old 02-05-2013, 11:32 AM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,863
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by onegreenballoon View Post
Wow, worked like a charm! Thanks so much for your help.
Just a slight warning

Tidy can go both ways:
It can help with bad code
And it can sometimes do the inverse with clean code
IMHO leave it OFF unless you determine it is needed IN A PARTICULAR case
theducks is offline   Reply With Quote
Reply

Tags
code, column, epub, error, line

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete/suppress Calibre-specific metadata in .opf file? Doitsu Calibre 1 10-30-2012 06:31 AM
Error message appears after updating to Calibre ver 0.7.59 Synful Calibre 6 05-05-2011 07:33 AM
how to fix this error? themayfairwitch ePub 2 01-22-2011 03:11 PM
UK Reader looking for an eReader with specific file support ragados Which one should I buy? 10 12-30-2010 05:48 AM
What does this error mean and how do I fix it? compmom Calibre 4 10-23-2010 03:08 PM


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


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