[Python-modules-team] Bug#935800: rss2email: AttributeError: module 'html2text' has no attribute 'unescape'
Jakub Wilk
jwilk at jwilk.net
Mon Aug 26 11:47:04 BST 2019
Package: rss2email
Version: 1:3.9-4.1
Severity: grave
rss2email no longer works:
$ r2e run
Traceback (most recent call last):
File "/usr/bin/r2e", line 5, in <module>
rss2email.main.run()
File "/usr/lib/python3/dist-packages/rss2email/main.py", line 163, in run
args.func(feeds=feeds, args=args)
File "/usr/lib/python3/dist-packages/rss2email/command.py", line 64, in run
feed.run(send=args.send)
File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 842, in run
for (guid, id_, sender, message) in self._process(parsed):
File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 357, in _process
processed = self._process_entry(parsed=parsed, entry=entry)
File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 462, in _process_entry
sender = self._get_entry_email(parsed=parsed, entry=entry)
File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 652, in _get_entry_email
name = self._get_entry_name(parsed=parsed, entry=entry)
File "/usr/lib/python3/dist-packages/rss2email/feed.py", line 602, in _get_entry_name
return _html2text.unescape(name)
AttributeError: module 'html2text' has no attribute 'unescape'
-- System Information:
Architecture: i386
Versions of packages rss2email depends on:
ii python3-feedparser 5.2.1-1
ii python3-html2text 2019.8.11-1
ii python3 3.7.3-1
Versions of packages rss2email recommends:
ii python3-bs4 4.8.0-1
Versions of packages rss2email suggests:
ii esmtp 1.2-17
--
Jakub Wilk
More information about the Python-modules-team
mailing list