Serene-Arc / bulk-downloader-for-reddit

Downloads and archives content from reddit
https://pypi.org/project/bdfr
GNU General Public License v3.0
2.3k stars 211 forks source link

[BUG] No module named bdfr #919

Open Zireael07 opened 1 year ago

Zireael07 commented 1 year ago

Description

After Manjaro upgrade on Friday, trying to run bdfr exits with "No module named bdfr"

Command

Literally any bdfr command causes this

Environment (please complete the following information)

Logs

Doesn't seem like it gets far enough to actually create logs for this

Soulsuck24 commented 1 year ago

After Manjaro upgrade

Python version: 3.11.3

Was the version of Manjaro you were upgrading from use Python 3.11 as well? If not it's not likely installed for version 3.11 and you'll need to reinstall it. Your config files should still be there as they are stored outside the package it self.

Zireael07 commented 1 year ago

Hm, you may be right (I will double check later)

I installed bdfr from AUR - how would I reinstall?

Serene-Arc commented 1 year ago

Reinstalling the package from the AUR should be fine. Rebuild it to be certain, tell me how it goes.

Zireael07 commented 1 year ago

Pacman was stupid, didn't see the bdfr at all, so I decided to manually reinstall. python3 -m pip resulted in a controlled environment error, so I installed pipx and then manually fixed the symlinks.

I've got bdfr downloading again as I type it, so case closed.

... Except maybe provide a better error message somehow, that tells the user to try reinstalling and/or installing system-wide (as I assume pipx does)

Zireael07 commented 3 months ago

Problem reoccurred upon another Manjaro upgrade. This time pipx broke too so I have no way to fix it.