Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 710138

Summary: net-mail/rss2email-2.71-r1 does not work with dev-python/html2text-2019.8.11
Product: Gentoo Linux Reporter: Brand Huntsman <bgo-7187AEA9-brand>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, till2.schaefer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brand Huntsman 2020-02-19 08:00:13 UTC
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/main.py", line 688, in run
    name = h2t.unescape(getName(r, entry))
AttributeError: 'module' object has no attribute 'unescape'

The unescape function was removed in https://github.com/Alir3z4/html2text/releases/tag/2019.8.11.

Link to redhat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1753808

html2text needs a patch to re-add the function (redhat has one somewhere), or rss2email needs to depend on html2text-2018.1.9, or rss2email needs a bump to the 3.x fork.
Comment 1 Sebastian Pipping gentoo-dev 2020-03-03 19:21:10 UTC
Thanks for the report!
Comment 2 Larry the Git Cow gentoo-dev 2020-03-03 19:24:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e03d42f4791814dc8a014770c425281ff822cb

commit 34e03d42f4791814dc8a014770c425281ff822cb
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-03-03 19:21:28 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-03-03 19:21:45 +0000

    net-mail/rss2email: Fix html2text dependency
    
    Closes: https://bugs.gentoo.org/710138
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.20

 .../rss2email/{rss2email-2.71-r1.ebuild => rss2email-2.71-r2.ebuild}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)