View Single Post
Old 06-03-2009, 01:12 PM   #3
WayneD
Enthusiast
WayneD began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Sep 2007
Device: Android phone + PRS-505
Thanks. I completely missed that. That's a great way to go.

FYI, I got this error when creating a lit file from an oeb *.opf file:
Code:
Traceback (most recent call last):
  File "/home/wayne/bin/ebook-convert", line 8, in <module>
    load_entry_point('calibre==0.6.0b1', 'console_scripts', 'ebook-convert')()
  File "/home/wayne/src/calibre/src/calibre/ebooks/conversion/cli.py", line 217, in main
    plumber.run()
  File "/home/wayne/src/calibre/src/calibre/ebooks/conversion/plumber.py", line 685, in run
    self.opts, self.log)
  File "/home/wayne/src/calibre/src/calibre/ebooks/lit/output.py", line 30, in convert
    split = Split(not self.opts.dont_split_on_page_breaks,
AttributeError: 'OptionValues' object has no attribute 'dont_split_on_page_breaks'
For the moment I just commented out the split code, and then it worked fine.

Last edited by WayneD; 06-03-2009 at 01:19 PM.
WayneD is offline   Reply With Quote