Cannot build for LRF get and error message on the command line
Here is the command line options
Quote:
"C:\Program Files\calibre\ebook-convert.exe" "Plato - Apology_PURIFIED.html" "Plato - Apology.lrf" --title="Apology" --authors="Plato" --language="english" --page-breaks-before="//*[name()='h1' or name()='h2']" --book-producer="BookCreator" --publisher="MR/PG" --tags="Philosophy" --header --header-format=""%t"" --header-format="2" --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=3 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2 --output-profile="default" --input-profile="default"
|
Here is the conversion output
Quote:
1% Converting input to HTML...
InputFormatPlugin: HTML Input running on C:\DOCUME~1\xplas\LOCALS~1\Temp\BookCreatorTemp\Pl ato - Apology\Plato - Apology_PURIFIED.html
Language not specified
Creator not specified
Building file list...
Parsing file u'Plato%20-%20Apology_PURIFIED.html' as HTML
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: INTRODUCTION.
Detected chapter: APOLOGY
Detected chapter: PROJECT GUTENBERG LICENSE
Auto generated TOC with 3 entries.
Flattening CSS and remapping font sizes...
Property: Unknown Property name. [7:2: panose-1]
Property: Unknown Property name. [10:2: panose-1]
Source base font size is 10.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating LRF Output...
67% Creating LRF Output
Traceback (most recent call last):
File "cli.py", line 225, in <module>
File "cli.py", line 217, in main
File "calibre\ebooks\conversion\plumber.pyo", line 685, in run
File "calibre\ebooks\lrf\output.pyo", line 156, in convert
File "calibre\ebooks\lrf\output.pyo", line 62, in __init__
TypeError: can't multiply sequence by non-int of type 'float'
|