Skip to content

[BUG] Exception not allowing to even authenticate #995

@mcDandy

Description

@mcDandy
  • I am reporting a bug.
  • I am running the latest version of BDfR
  • I have read the Opening an issue

Description

I am getting oauth error while I did not even set it to authenticate. This is my first run so I would expect a link to show up. It did not.

Command

bdfr clone ./aang --user usernamehere

Environment (please complete the following information)

  • OS: Windows 11
  • Python version: 3.12

Logs

I looked in both paths but log file does not exitst.

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\danda\AppData\Local\Programs\Python\Python312\Scripts\bdfr.exe\__main__.py", line 2, in <module>
  File "C:\Users\danda\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\__main__.py", line 11, in <module>
    from bdfr.archiver import Archiver
  File "C:\Users\danda\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\archiver.py", line 21, in <module>
    from bdfr.connector import RedditConnector
  File "C:\Users\danda\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\connector.py", line 29, in <module>
    from bdfr.oauth2 import OAuth2Authenticator, OAuth2TokenManager
  File "C:\Users\danda\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\oauth2.py", line 90, in <module>
    class OAuth2TokenManager(praw.reddit.BaseTokenManager):
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'praw.reddit' has no attribute 'BaseTokenManager'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions