Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710138 - net-mail/rss2email-2.71-r1 does not work with dev-python/html2text-2019.8.11
Summary: net-mail/rss2email-2.71-r1 does not work with dev-python/html2text-2019.8.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 08:00 UTC by Brand Huntsman
Modified: 2020-03-03 19:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)