newscatcher icon indicating copy to clipboard operation
newscatcher copied to clipboard

Not compatible with Python 3.9

Open jpribyl opened this issue 4 years ago • 5 comments

Looks like the dependencies in this project need to be updated. Feedparser was patched for 3.9 but the patch hasn't made it into here yet so it throws a base64 error.

jpribyl avatar Dec 23 '20 18:12 jpribyl

Python 3.9: AttributeError: module 'base64' has no attribute 'decodestring'

eleanorcode avatar Jan 21 '21 22:01 eleanorcode

image Change base64.decodestring into base64.decodebytes on feedparser.py library will fix the problem.

@ellukian @jpribyl

rbshadow avatar Feb 17 '21 05:02 rbshadow

Fixed in feedparser : https://github.com/kurtmckee/feedparser/pull/206

tirkarthi avatar Mar 14 '21 03:03 tirkarthi

Temporary fix:

  1. Download newscatcher-0.2.0.tar.gz from newscatcher Pypl and unzip
  2. change 'feedparser>=5.2.1,<6.0.0' to 'feedparser>=6.0.0,<6.0.8' in setup.py
  3. Upgrade feedparser using pip install feedparser --upgrade
  4. change directory into the newscatcher-0.2.0 and type sudo python setup.py install

eoleedi avatar Sep 01 '21 09:09 eoleedi

Any updates ?

isaquefms avatar Oct 07 '22 13:10 isaquefms