Converting "The Robe" by Lloyd C. Douglas, sourced from Project Gutenberg Australia:
Quote:
Job: **Convert book: The Robe**
**tuple**: ('TypeError', u"can't multiply sequence by non-int of type 'float'")
**Traceback**:
Traceback (most recent call last):
File "/home/kovid/work/calibre/src/calibre/parallel.py", line 958, in worker
File "/home/kovid/work/calibre/src/calibre/parallel.py", line 916, in work
File "/home/kovid/work/calibre/src/calibre/ebooks/mobi/from_any.py", line 56, in any2mobi
File "/home/kovid/work/calibre/src/calibre/ebooks/mobi/writer.py", line 610, in oeb2mobi
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 108, in transform
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 275, in flatten_spine
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 235, in flatten_node
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 192, in flatten_node
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/stylizer.py", line 318, in __getitem__
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/stylizer.py", line 356, in _unit_convert
TypeError: can't multiply sequence by non-int of type 'float'
**Log**:
Found OPF file in archive
Creating EPUB file...
[INFO] Parsing calibre_0.5.10_dIz1t9_any2epub1/content/The Robe.xhtml
[INFO] Detected chapter: CHAPTER
[INFO] Detected chapter: Chapter I
[INFO] Detected chapter: Chapter II
[INFO] Detected chapter: Chapter III
[INFO] Detected chapter: Chapter IV
[INFO] Detected chapter: Chapter V
[INFO] Detected chapter: Chapter VI
[INFO] Detected chapter: Chapter VII
[INFO] Detected chapter: Chapter VIII
[INFO] Detected chapter: Chapter IX
[INFO] Detected chapter: Chapter X
[INFO] Detected chapter: Chapter XI
[INFO] Detected chapter: Chapter XII
[INFO] Detected chapter: Chapter XIII
[INFO] Detected chapter: Chapter XIV
[INFO] Detected chapter: Chapter XV
[INFO] Detected chapter: Chapter XVI
[INFO] Detected chapter: Chapter XVII
[INFO] Detected chapter: Chapter XVIII
[INFO] Detected chapter: Chapter XIX
[INFO] Detected chapter: Chapter XX
[INFO] Detected chapter: Chapter XXI
[INFO] Detected chapter: Chapter XXII
[INFO] Detected chapter: Chapter XXIII
[INFO] Detected chapter: Chapter XXIV
[INFO] Detected chapter: Chapter XXV
[ERROR] CSSStyleRule: No start { of style declaration found: u'<' [2:4: ;]
[ERROR] Selector: Unexpected CHAR. [2:1: &]
[ERROR] SelectorList: Invalid Selector: <
[ERROR] CSSStyleRule: No style declaration or "}" found: u'<'
[ERROR] Selector: Unexpected CHAR. [2:5: !]
[ERROR] Selector: Unexpected CHAR. [2:6: -]
[ERROR] Selector: Unexpected CHAR. [2:7: -]
[ERROR] SelectorList: Invalid Selector: !--
body
[ERROR] Property: Invalid value for "CSS Color Module Level 3/CSS Level 2.1" property: color: brown
[ERROR] Property: Invalid value for "CSS Level 2.1" property: font-size: "12pt"
[ERROR] Property: Invalid value for "CSS Level 2.1" property: font-size: "14pt"
[ERROR] Property: Invalid value for "CSS Level 2.1" property: font-size: "14pt"
[ERROR] CSSStyleRule: No start { of style declaration found: u'-->' [8:6: ;]
[ERROR] Selector: Unexpected CHAR. [8:1: -]
[ERROR] Selector: Unexpected CHAR. [8:2: -]
[ERROR] Selector: Unexpected CHAR. [8:3: &]
[ERROR] SelectorList: Invalid Selector: -->
[ERROR] CSSStyleRule: No style declaration or "}" found: u'-->'
[DEBUG] Saving stylesheets...
[INFO] Splitting The Robe.xhtml (1256 KB)
[INFO] Checking files for bad links...
[INFO] Creating Mobipocket file from EPUB...
[INFO] Generating in-line TOC...
[INFO] Applying case-transforming CSS...
[ERROR] Property: Invalid value for "CSS Color Module Level 3/CSS Level 2.1" property: color: brown
[ERROR] Property: Invalid value for "CSS Level 2.1" property: font-size: "12pt"
[ERROR] Property: Invalid value for "CSS Level 2.1" property: font-size: "14pt"
[ERROR] Property: Invalid value for "CSS Level 2.1" property: font-size: "14pt"
[INFO] Flattening CSS and remapping font sizes...
[INFO] Source base font size is 12.00000pt
('TypeError', u"can't multiply sequence by non-int of type 'float'")
Traceback (most recent call last):
File "/home/kovid/work/calibre/src/calibre/parallel.py", line 958, in worker
File "/home/kovid/work/calibre/src/calibre/parallel.py", line 916, in work
File "/home/kovid/work/calibre/src/calibre/ebooks/mobi/from_any.py", line 56, in any2mobi
File "/home/kovid/work/calibre/src/calibre/ebooks/mobi/writer.py", line 610, in oeb2mobi
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 108, in transform
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 275, in flatten_spine
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 235, in flatten_node
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/transforms/flatcss.py", line 192, in flatten_node
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/stylizer.py", line 318, in __getitem__
File "/home/kovid/work/calibre/src/calibre/ebooks/oeb/stylizer.py", line 356, in _unit_convert
TypeError: can't multiply sequence by non-int of type 'float'
|