Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling to install. #976

Open
Binocularbath opened this issue Nov 28, 2024 · 1 comment
Open

Struggling to install. #976

Binocularbath opened this issue Nov 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Binocularbath
Copy link

Binocularbath commented Nov 28, 2024

  • [ x] I am reporting a bug.
  • [x ] I am running the latest version of BDfR
  • [x ] I have read the Opening an issue

Description

I have spent most of the night trying to install BDFR. I have read documentation and am using google to try to fix things as they come up but i am struggling. Id love to use this program. Is someone able to help me with this. I know this mean the config file is corrupt but what can i do to fix it. I try forced reinstall but it doesnt change the outcome.

Any help welcome, thank you

Command

BDFR --user {REDDITUSER} --submitted -L 10

Environment (please complete the following information)

  • OS: Windows 11
  • Python version: 3.13

Logs

Paste the log output here.

C:\Users\Binocularbath>bdfr download C:\BDFR --user binocularbath--submitted -L 10
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Binocularbath\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts\bdfr.exe_main
.py", line 4, in
from bdfr.main import cli
File "C:\Users\Binocularbath\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\bdfr_main
.py", line 11, in
from bdfr.archiver import Archiver
File "C:\Users\Binocularbath\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\bdfr\archiver.py", line 21, in
from bdfr.connector import RedditConnector
File "C:\Users\Binocularbath\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\bdfr\connector.py", line 29, in
from bdfr.oauth2 import OAuth2Authenticator, OAuth2TokenManager
File "C:\Users\Binocularbath\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\bdfr\oauth2.py", line 90, in
class OAuth2TokenManager(praw.reddit.BaseTokenManager):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'praw.reddit' has no attribute 'BaseTokenManager'

Python 3.13

@Binocularbath Binocularbath added the bug Something isn't working label Nov 28, 2024
@Binocularbath
Copy link
Author

User NulledExceptions suggested a fix here

Temporary workaround
pip3 install praw==7.7.1

Worked perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant