* Re: [PR PATCH] [Closed]: calibre: add missing runtime dep 'python-html2text'
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20461@inbox.vuxu.org>
@ 2020-03-30 14:23 ` xtraeme
0 siblings, 0 replies; only message in thread
From: xtraeme @ 2020-03-30 14:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]
There's a closed pull request on the void-packages repository
calibre: add missing runtime dep 'python-html2text'
https://github.com/void-linux/void-packages/pull/20461
Description:
@bra1nwave
```
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/ebooks/oeb/reader.py", line 171, in _manifest_prune_invalid
item.data
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 1043, in data
data = self._parse_xhtml(data)
File "/usr/lib/calibre/calibre/ebooks/oeb/base.py", line 960, in _parse_xhtml
filename=fname, non_html_file_tags={'ncx'})
File "/usr/lib/calibre/calibre/ebooks/oeb/parse_utils.py", line 203, in parse_html
data = preprocessor(data)
File "/usr/lib/calibre/calibre/ebooks/conversion/preprocess.py", line 602, in __call__
html = pdf_markup.markup_chapters(html, totalwords, True)
File "/usr/lib/calibre/calibre/ebooks/conversion/utils.py", line 334, in markup_chapters
html = recurse_patterns(html, False)
File "/usr/lib/calibre/calibre/ebooks/conversion/utils.py", line 329, in recurse_patterns
html = chapdetect.sub(self.chapter_head, html)
File "/usr/lib/calibre/calibre/ebooks/conversion/utils.py", line 63, in chapter_head
txt_chap = delete_quotes.sub('', delete_whitespace.sub('\\g<c>', html2text(chap)))
File "/usr/lib/calibre/calibre/utils/html2text.py", line 8, in html2text
from html2text import HTML2Text
ImportError: No module named html2text
```
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-30 14:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20461@inbox.vuxu.org>
2020-03-30 14:23 ` [PR PATCH] [Closed]: calibre: add missing runtime dep 'python-html2text' xtraeme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).