Some pdfs and possibly other formats fail conversion and won't open in ebook-viewer with the following error: >... > File "/usr/lib64/calibre/calibre/utils/html2text.py", line 8, in html2text > from html2text import HTML2Text >ImportError: No module named html2text >... Debian had the same issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932044 The latest version =html2text-2019.9.26 doesn't support Python 2.7, but installing =dev-python/html2text-2018.1.9 solves this issue. The last version to support Python 2.7 is 2019.8.11, but is currently unavailable in the official repo: https://github.com/Alir3z4/html2text/releases/tag/2019.8.11
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ea8fdcf5a415b280427c0513613147ada81708 commit c5ea8fdcf5a415b280427c0513613147ada81708 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-11-11 00:12:29 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-11-11 00:27:22 +0000 dev-python/html2text: Bump to version 2019.8.11 Reported-by: majlo <milo000@o2.pl> Bug: https://bugs.gentoo.org/699628 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-python/html2text/Manifest | 1 + dev-python/html2text/html2text-2019.8.11.ebuild | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd900b031fef35ee240f5f7151060debec7c8459 commit cd900b031fef35ee240f5f7151060debec7c8459 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-11-11 00:49:47 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-11-11 01:00:31 +0000 app-text/calibre: 4.3.0-r1 revbump Reported-by: majlo <milo000@o2.pl> Closes: https://bugs.gentoo.org/699628 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-text/calibre/{calibre-4.3.0.ebuild => calibre-4.3.0-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f86e863cbbfb301d846d63d42ebee1de5193700 commit 0f86e863cbbfb301d846d63d42ebee1de5193700 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-11-11 00:52:10 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-11-11 01:00:30 +0000 dev-python/html2text: keyword ~arm (new calibre dep) Bug: https://bugs.gentoo.org/699628 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-python/html2text/html2text-2019.8.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks!