Thread: Error in LRf
View Single Post
Old 10-16-2014, 02:37 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,270
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Using the GUI, it seemed to convert without error, but I get an error when trying to view the LRF.

Code:
calibre, version 2.5.0
ERROR: Unhandled exception: <b>AttributeError</b>:'TextStyle' object has no attribute 'baselineskip'

calibre 2.5  isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Modify ePub && KindleUnpack - The Plugin && Manage Series && Find Duplicates && Quality Check && EpubSplit && Favourites Menu && Hyphenate This! && Count Pages && Obok DeDRM
Traceback (most recent call last):
  File "site-packages\calibre\gui2\lrf_renderer\main.py", line 182, in parsed
  File "site-packages\calibre\gui2\lrf_renderer\document.py", line 460, in render
  File "site-packages\calibre\gui2\lrf_renderer\document.py", line 432, in render_chapter
  File "site-packages\calibre\gui2\lrf_renderer\document.py", line 63, in object_factory
  File "site-packages\calibre\gui2\lrf_renderer\text.py", line 186, in __init__
  File "site-packages\calibre\gui2\lrf_renderer\text.py", line 237, in populate
  File "site-packages\calibre\gui2\lrf_renderer\text.py", line 278, in end_line
AttributeError: 'TextStyle' object has no attribute 'baselineskip'
It does view properly when I use ebook-viewer from the command line. It's something with laying out the eBook from the GUI that's broken.
JSWolf is offline   Reply With Quote