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

Bug in 2.3.0 #127

Open
bnd170 opened this issue Aug 5, 2021 · 0 comments
Open

Bug in 2.3.0 #127

bnd170 opened this issue Aug 5, 2021 · 0 comments

Comments

@bnd170
Copy link

bnd170 commented Aug 5, 2021

On 2.2.0 it works properly.

On replace_more is called occourse these error

   content.comments.replace_more(limit=None, threshold=3)
  File "../venv/lib/python3.9/site-packages/praw/models/reddit/base.py", line 34, in __getattr__
    self._fetch()
  File "../venv/lib/python3.9/site-packages/praw/models/reddit/submission.py", line 617, in _fetch
    data = self._fetch_data()
  File "../venv/lib/python3.9/site-packages/praw/models/reddit/submission.py", line 614, in _fetch_data
    return self._reddit.request("GET", path, params)
  File "../venv/lib/python3.9/site-packages/praw/reddit.py", line 856, in request
    return self._core.request(
  File "../venv/lib/python3.9/site-packages/prawcore/sessions.py", line 330, in request
    return self._request_with_retries(
  File "../venv/lib/python3.9/site-packages/prawcore/sessions.py", line 228, in _request_with_retries
    response, saved_exception = self._make_request(
  File "../venv/lib/python3.9/site-packages/prawcore/sessions.py", line 185, in _make_request
    response = self._rate_limiter.call(
  File "../venv/lib/python3.9/site-packages/prawcore/rate_limit.py", line 33, in call
    kwargs["headers"] = set_header_callback()
  File "../venv/lib/python3.9/site-packages/prawcore/sessions.py", line 283, in _set_header_callback
    self._authorizer.refresh()
  File "../venv/lib/python3.9/site-packages/prawcore/auth.py", line 371, in refresh
    if self._scopes:
AttributeError: 'ReadOnlyAuthorizer' object has no attribute '_scopes'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant