Bug 29195

Summary: rss2email 3.11 doesn't work with python3-feedparser-6; fixed in version 3.13.1
Product: Mageia Reporter: Javier Díaz <javier_diaz>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: major    
Priority: Normal    
Version: 8   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/rss2email/rss2email
Whiteboard:
Source RPM: rss2email-3.11-2.mga8.src.rpm CVE:
Status comment:

Description Javier Díaz 2021-07-01 01:14:35 CEST
Description of problem:

When executing rss2email, fails with the following error:

$ r2e run 
Traceback (most recent call last):
  File "/usr/bin/r2e", line 5, in <module>
    rss2email.main.run()
  File "/usr/lib/python3.8/site-packages/rss2email/main.py", line 171, in run
    args.func(feeds=feeds, args=args)
  File "/usr/lib/python3.8/site-packages/rss2email/command.py", line 87, in run
    feed.run(send=args.send)
  File "/usr/lib/python3.8/site-packages/rss2email/feed.py", line 854, in run
    for (guid, id_, sender, message) in self._process(parsed):
  File "/usr/lib/python3.8/site-packages/rss2email/feed.py", line 365, in _process
    self._check_for_errors(parsed)
  File "/usr/lib/python3.8/site-packages/rss2email/feed.py", line 420, in _check_for_errors
    elif isinstance(exc, _feedparser.zlib.error):
AttributeError: module 'feedparser' has no attribute 'zlib'

Version-Release number of selected component (if applicable): rss2email-3.11

How reproducible:

It fails always when executing command rss2email command "r2e run".

It seems the correction was done in version 3.13.1: https://github.com/rss2email/rss2email/commit/726cf8284c8997aa196781944d8a2af9f2487779 so the solution is to update to that version.
Comment 1 Lewis Smith 2021-07-01 21:19:45 CEST
Thank you for the report, and the pointers to the fix.

 https://github.com/rss2email/rss2email/releases/tag/v3.13.1

This pkg has no registered nor constant maintainer, so assigning this bug globally.

URL: (none) => https://github.com/rss2email/rss2email
Assignee: bugsquad => pkg-bugs
Summary: rss2email 3.11 doesn't work with python3-feedparser-6 => rss2email 3.11 doesn't work with python3-feedparser-6; fixed in version 3.13.1