mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:35:04 +02:00
Fix #2924 (Converting to RB format)
This commit is contained in:
commit
791ec3af5b
2 changed files with 5 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ def write_content(self, oeb_book, out_stream, metadata=None):
|
|||
out_stream.write(struct.pack('<I', total_size))
|
||||
|
||||
def _text(self, oeb_book):
|
||||
rbmlizer = RBMLizer(log, name_map=self.name_map)
|
||||
rbmlizer = RBMLizer(self.log, name_map=self.name_map)
|
||||
text = rbmlizer.extract_content(oeb_book, self.opts).encode('cp1252', 'xmlcharrefreplace')
|
||||
size = len(text)
|
||||
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@ sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.
|
|||
</pre>
|
||||
<h4>Note</h4>
|
||||
<ul>
|
||||
<li>On some linux distributions, you have to install the
|
||||
libphonon (may be called libphonon4) package for calibre
|
||||
to work.
|
||||
</li>
|
||||
<li>
|
||||
When running the command line utilities,
|
||||
they will segfault after completion. This can
|
||||
|
|
|
|||
Loading…
Reference in a new issue