Closed gwstorm closed 4 years ago
I'm not sure if this is really maintained anymore, but I fixed this on Arch by upgrading shreddit: pip install shreddit --upgrade
I just mindlessly without reading the error messages, but it looks like you actually just need to reinstall since shreddit likely lived in the python3.7 directory before.
I also had to change lines 33 & 34 of /usr/lib/python3.8/site-packages/shreddit/shredder.py to: self._recent_cutoff = arrow.now().shift(hours=-self._hours) self._nuke_cutoff = arrow.now().shift(hours=-self._nuke_hours)
You put me on the right path. Thanks! I use the python-shreddit-git AUR package simply because I've had issues with pip and system upgrade conflicts... Even though python-pip is a make depend. Either way, you're suggestions got me there.
I had already tried upgrading and I had also tried symlinking to the python3.8 folder, but ultimately, I just had to remove the package and do a clean build and It was reinstalled properly in the 3.8 folder.
Arch Linux recently upgraded to Python 3.8 and after that, the following error is produced -