[Python-apps-team] Bug#967975: rss2email 3.12-1 error

Justin Piszcz jpiszcz at lucidpixels.com
Sat Aug 8 11:56:50 BST 2020


Hello,

Yes- it is 100% reproducible:

Versions:
ii  python             2.7.17-2     amd64        interactive high-level
object-$
ii  python3-bs4        4.9.1-1      all          error-tolerant HTML parser
for$
ii  python3-feedparser 5.2.1-2      all          Universal Feed Parser for
Pyth$
ii  python3-html2text  2020.1.16-1  all          Python module for
converting H$
ii  rss2email          1:3.12.1-1     all          receive RSS feeds by
email

rss2email 3.12.1-1
$ # clear out old preferences and start fresh
$ rm -f $HOME/.rss2email/feeds.dat \
>       $HOME/.config/rss2email.cfg \
>       $HOME/.local/share/rss2email.json
$ r2e new test at localhost
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 186, in run
    args.func(feeds=feeds, args=args)
  File "/usr/lib/python3/dist-packages/rss2email/command.py", line 46, in
new
    feeds.save()
  File "/usr/lib/python3/dist-packages/rss2email/feeds.py", line 350, in
save
    self._save_feeds()
  File "/usr/lib/python3/dist-packages/rss2email/feeds.py", line 365, in
_save_feeds
    self.datafile.close()  # release the lock
AttributeError: 'NoneType' object has no attribute 'close'
$

rss2email 3.11-2
$ # clear out old preferences and start fresh
$ rm -f $HOME/.rss2email/feeds.dat \
>       $HOME/.config/rss2email.cfg \
>       $HOME/.local/share/rss2email.json
$ r2e new user at localhost
$

Regards,

Justin.

-----Original Message-----
From: gustavo panizzo <gfa at zumbi.com.ar> 
Sent: Friday, August 7, 2020 5:09 PM
To: Justin Piszcz <jpiszcz at lucidpixels.com>; 967975 at bugs.debian.org
Subject: Re: Bug#967975: rss2email 3.12-1 error


Hello Justin

I think the bug you are reporting has been reported upstream already.
https://github.com/rss2email/rss2email/issues/126

Can you provide more information about your setup?

Specifically the versions of python, python3-feedparser, python3-html2text
and python3-bs4

what operation were you doing when the error appeared? can you
reproduce the issue with a clean configuration/state?

thanks


-- 
IRC: gfa
GPG: 0x27263FA42553615F904A7EBE2A40A2ECB8DAD8D5
OLD GPG: 0x44BB1BA79F6C6333



More information about the Python-apps-team mailing list