mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2924 (Converting to RB format)
This commit is contained in:
commit
791ec3af5b
@ -101,7 +101,7 @@ class RBWriter(object):
|
||||
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…
x
Reference in New Issue
Block a user