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 10-01-2011, 01:10 PM   #271
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@drMerry - see my post at the end of the previous page, theducks mentioned the same thing. Currently there is an "assumption" that you have sorted your duplicates out using the menu item right next to this one. However that is perhaps not the most user friendly of approaches, and I didn't realise it would result in your example above of reporting a gap where there isn't one. I'll sort it in the next release, thanks.
kiwidude is offline   Reply With Quote
Old 10-02-2011, 08:54 AM   #272
drMerry
Addict
drMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmos
 
drMerry's Avatar
 
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
I have a series 1-7
I have it duplicated.
The reaction is that I do have 5 gaps in 1 series:

Series: XXX - Author: YYY - Last: #7
Missing#: 2,3,4,5,6

(So I do have: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7)

At the other hand, I think completely ignore the series could cause problems too.

E.g. if two series do have the same name, but are written by different authors.
A common case are the 'best of'. If it is Best of AUTHOR, you can add author to the series and there is no problem (assuming there is only one collection best of for this author, and the name of the author is unique). But for series like Best of SF.... there is a problem...
drMerry is offline   Reply With Quote
Advert
Old 10-16-2011, 06:57 AM   #273
sengian
Zealot
sengian doesn't littersengian doesn't litter
 
sengian's Avatar
 
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
Hello,

do you think you could add an epub check for the number of pages in an ebook? I don't know if it is possible but it could help with some of my conversions where there are 2 files and one (the summary) is wrongly picked.
sengian is offline   Reply With Quote
Old 10-16-2011, 08:33 AM   #274
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Hi Sengian. I am not sure exactly what you are asking for? There is a plugin called "Count Pages" which allows you to have the number of pages and/or words displayed in custom columns for epub or MOBI files. I don't understand what you mean by "summary" etc?
kiwidude is offline   Reply With Quote
Old 10-16-2011, 11:51 AM   #275
sengian
Zealot
sengian doesn't littersengian doesn't litter
 
sengian's Avatar
 
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
I wasn't aware of the plugin.
It will fit my needs I think.
My problem is i have html books in rar form with a folder and a summary.txt files.
Thoses files are converted by calibre without error but the text is the content of the summary file, so the easiest way to check this is to see if the page number is greater than say 5 for example.
Thanks for your time.
sengian is offline   Reply With Quote
Advert
Old 10-19-2011, 02:06 PM   #276
SoulStyle
Enthusiast
SoulStyle began at the beginning.
 
Posts: 26
Karma: 22
Join Date: May 2011
Device: Kindle 3
When scanning my book selection for "non dc metadata" I get following traces in the log:

Spoiler:
ERROR parsing book: E:\07_eBooks\01_Sammlung\Thrainn Bertelsson\Hollenengel (1740)\Hollenengel - Thrainn Bertelsson.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\William Harrington\Columbo_ Die Letzte Show (2599)\Columbo_ Die Letzte Show - William Harrington.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Viktor Arnar Ingolfsson\Das Ratsel Von Flatey (2763)\Das Ratsel Von Flatey - Viktor Arnar Ingolfsson.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Unni Lindell\Spurlos in Der Nacht (3077)\Spurlos in Der Nacht - Unni Lindell.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Norbert Niemann\Willkommen Neue Traume_ Roman (3407)\Willkommen Neue Traume_ Roman - Norbert Niemann.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Entity 'copy' not defined, line 9, column 24

ERROR parsing book: E:\07_eBooks\01_Sammlung\Lawrence Sanders\Die Dritte Todsunde (3745)\Die Dritte Todsunde - Lawrence Sanders.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Lawrence Sanders\Die Erste Todsunde (3747)\Die Erste Todsunde - Lawrence Sanders.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Lawrence Sanders\Die Zweite Todsunde_ Roman (3746)\Die Zweite Todsunde_ Roman - Lawrence Sanders.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\John Sandford\Blinder Hass_ Thriller (3752)\Blinder Hass_ Thriller - John Sandford.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Entity 'copy' not defined, line 10, column 24

ERROR parsing book: E:\07_eBooks\01_Sammlung\Norbert Schmitz\Mord Im Rathaus (3822)\Mord Im Rathaus - Norbert Schmitz.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Nicole Schuhmacher\Sturmpfade_ Roman (3847)\Sturmpfade_ Roman - Nicole Schuhmacher.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Entity 'copy' not defined, line 10, column 24

ERROR parsing book: E:\07_eBooks\01_Sammlung\Yrsa Sigurdardottir\Das Gluhende Grab_ Island-Krimi (3918)\Das Gluhende Grab_ Island-Krimi - Yrsa Sigurdardottir.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Antal Szerb\Reise Im Mondlicht_ Roman (4058)\Reise Im Mondlicht_ Roman - Antal Szerb.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlParseEntityRef: no name, line 4, column 38

ERROR parsing book: E:\07_eBooks\01_Sammlung\Anthony Horowitz\Stormbreaker (2735)\Stormbreaker - Anthony Horowitz.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Entity 'copy' not defined, line 9, column 24

ERROR parsing book: E:\07_eBooks\01_Sammlung\Lawrence Sanders\23 Uhr, York Avenue_ Roman (3748)\23 Uhr, York Avenue_ Roman - Lawrence Sanders.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

ERROR parsing book: E:\07_eBooks\01_Sammlung\Yrsa Sigurdardottir\Die Eisblaue Spur. Island-Krimi (3917)\Die Eisblaue Spur. Island-Krimi - Yrsa Sigurdardottir.epub
Traceback (most recent call last):
File "calibre_plugins.quality_check.check_epub", line 436, in evaluate_book
File "calibre_plugins.quality_check.check_epub", line 700, in _get_opf_tree
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlns:eBook-CreatorNet: 'keine Definition' is not a valid URI, line 1, column 144

Invalid epub: E:\07_eBooks\01_Sammlung\Rick Riordan\Diebe Im Olymp (3632)\Diebe Im Olymp - Rick Riordan.epub
Invalid epub: E:\07_eBooks\01_Sammlung\Rick Riordan\Im Bann Des Zyklopen (3633)\Im Bann Des Zyklopen - Rick Riordan.epub
SoulStyle is offline   Reply With Quote
Old 10-22-2011, 12:39 PM   #277
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
v1.6.3 Released

Changes in this release:
  • Add ePub checks for various types of body/@page margins (Idolse)
  • Add ePub check for having <address> smart-tags within their content
  • For the Series gap check, fix the handling of duplicates

Thanks to Idolse for providing the margin checks, which act as companions for the Modify ePub plugin which I have also released officially today.

@DrMerry - this should fix the duplicate issue you reported, thanks for that.

The other new check is for so-called "smart tags" which irritate me greatly. When I looked into these a while ago I think it is Word that is the source of these, and for people who edit books without unticking the "save smart tags" box.

The net result is in the html for your book you end up with something like this around anything that looks like a possible street or road name:

Code:
<p class="xxx">He walked down</p>
<address class="xxx">
   Main St.
</address>
<p> to see something...</p>
It screws up the readability of your book in appearance and alignment and just is generally a really stupid thing to have to put up with when reading a book. The check I have added searches your ePubs for </address>, so you can manually edit them out using Sigil or your desired ePub editor.
kiwidude is offline   Reply With Quote
Old 11-02-2011, 05:28 AM   #278
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
Title Case

I don't know if this has been mentioned before but running Check Title Case it flags Leon Uris' QBVII.

It probably shouldn't as it is an acronym of Queens Bench Courtroom Number Seven and my guess is that it is written correctly - that's how the author wrote it anyway.

Otherwise, all my book titles have now the correct title case thanks to the Quality Check. Great job, kiwidude

Last edited by paulfiera; 11-02-2011 at 07:07 AM.
paulfiera is offline   Reply With Quote
Old 11-02-2011, 09:23 AM   #279
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
Quote:
Originally Posted by paulfiera View Post
I don't know if this has been mentioned before but running Check Title Case it flags Leon Uris' QBVII.
That's why computers haven't replaced people (yet)

Anyway, this plugin just checks to see if the title is consistent with Calibre's built-in titlecase function -- so this is really a Calibre issue not a Quality Check issue

More seriously, the only way to tell if the title is capitalized the way the author intended would be to analyze the text of the document and see how the title phrases/words are capitalized in the document. There's really no way to identify what is or isn't an acronym, or what unusual capitalization the author prefers, etc. without contextual analysis -- which I think you would agree is way too much work for very little benefit.

Last edited by capnm; 11-02-2011 at 12:50 PM. Reason: I just couldn't leave that misplaced apostrophe there ...
capnm is offline   Reply With Quote
Old 11-02-2011, 10:46 AM   #280
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
Quote:
Originally Posted by capnm View Post
That's why computer's haven't replaced people (yet) .
Agree.

Quote:
Originally Posted by capnm View Post
More seriously, the only way to tell if the title is capitalized the way the author intended would be to analyze the text of the document and see how the title phrases/words are capitalized in the document. There's really no way to identify what is or isn't an acronym, or what unusual capitalization the author prefers, etc. without contextual analysis -- which I think you would agree is way too much work for very little benefit.
Well, the title consists only of 5 capitalized letters, the way the author intended it to be. It's like say CIA, Black Ops. How would calibre do a proper title case? Cia, Black Ops?

Calibre has probably a built-in safe acronyms list - CIA, FBI, NATO, UN...

[EDIT] The plot thickens...

If I change the title to QBVII, Queens Bench Courtroom Number Seven, calibre accepts the capitalized QBVII, but not if the title consists only of QBVII.

CIA, Black Ops is also accepted, but a title like CIA will be converted to Cia.

Last edited by paulfiera; 11-02-2011 at 11:02 AM.
paulfiera is offline   Reply With Quote
Old 11-02-2011, 12:01 PM   #281
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
An acronym list would be pretty much unmaintainable.

One of the neat tricks the titlecase algorithm uses, which can be confusing, is that it checks for internal logic in the title presented to it -- if the words are all lowercase or all uppercase, it assumes no existing titlecase, and does it's best. But if there is a word in all uppercase in a string of titlecase/lowercase words it assumes that was intentional (perhaps an acronym!), and preserves the word in uppercase.

Hence the results you observed.
capnm is offline   Reply With Quote
Old 11-02-2011, 12:16 PM   #282
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
Quote:
Originally Posted by capnm View Post
An acronym list would be pretty much unmaintainable.

One of the neat tricks the titlecase algorithm uses, which can be confusing, is that it checks for internal logic in the title presented to it -- if the words are all lowercase or all uppercase, it assumes no existing titlecase, and does it's best. But if there is a word in all uppercase in a string of titlecase/lowercase words it assumes that was intentional (perhaps an acronym!), and preserves the word in uppercase.

Hence the results you observed.
Great explanation. Makes sense.
paulfiera is offline   Reply With Quote
Old 11-02-2011, 03:14 PM   #283
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
capnm has it all spot on in his responses, thanks for helping out. The key point being that QualityCheck just uses the Calibre titlecase functionality and nothing this plugin controls at all.

Just as a related aside, a feature request I created for myself from when I wrote the Find Duplicates plugin was the ability to create exclusions for Quality Check functions. So for checks like this one you would not have to keep getting the same special case exemptions appearing each time. I'll get to it "one day", but this check is a great example of one it would be tailor made for.
kiwidude is offline   Reply With Quote
Old 11-08-2011, 07:17 AM   #284
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
@kiwidude, Thanks for all your plugins...

I am using this one to tidy up my library with books that need proper TOC's...

Used Add epub check for TOC with < 3 entries...

When I get the returned answer I then get the option to view log, copy to clipboard, as I like to copy this list to a notepad file for future reference can I just get it to copy Author & Title and not path/folder name/file name or is there an option to do this that I have missed...

Cheers
Jay
JayLaFunk is offline   Reply With Quote
Old 11-08-2011, 02:24 PM   #285
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Hi Jay,

I guess the question is why you copy this all off for "future reference". When the quality check is completed, it "marks" the books that need attention, displayed using this search:
marked:epub_toc_too_small

So if you intend to edit the books to fix them, you can do so right from the search results window in calibre.

If instead you want to process them at a later date - well either just run the QualityCheck again at that time (since it is fairly quick). Or select all those books and via the bulk metadata dialog add a tag or set some custom column for you to search that way. However I would always just run the QC again.

Is there some particular reason why the above approaches do not work for you? I see what you mean about the log, the reason it is like that is just code laziness on my part (I would have to write a little extra to read the actual title/authors from the database and pump out to the log). If its a showstopper I can add it for a future release, but I'm curious as to why you feel using the log and manually typing in searches from it rather than just using the search results is better for you?
kiwidude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 10:05 PM
[GUI Plugin] Search the Internet kiwidude Plugins 433 04-01-2024 05:48 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 12:02 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 09:31 PM.


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