RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

errors

Open andrewweir410 opened this issue 4 years ago • 0 comments

Traceback (most recent call last): File "C:\Users\theul\OneDrive\Documents\Coding\Python Projects\RedditVideoMakerBot-1.0.0\RedditVideoMakerBot-1.0.0\main.py", line 17, in reddit_object = get_subreddit_threads() File "C:\Users\theul\OneDrive\Documents\Coding\Python Projects\RedditVideoMakerBot-1.0.0\RedditVideoMakerBot-1.0.0\reddit\subreddit.py", line 52, in get_subreddit_threads submission = list(threads)[random.randint(0, 25)] File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\models\listing\generator.py", line 63, in next self._next_batch() File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\models\listing\generator.py", line 89, in _next_batch self._listing = self._reddit.get(self.url, params=self.params) File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\util\deprecate_args.py", line 43, in wrapped return func(**dict(zip(_old_args, args)), **kwargs) File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\reddit.py", line 634, in get return self._objectify_request(method="GET", params=params, path=path) File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\reddit.py", line 739, in _objectify_request self.request( File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\util\deprecate_args.py", line 43, in wrapped return func(**dict(zip(_old_args, args)), **kwargs) File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\praw\reddit.py", line 941, in request return self._core.request( File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\sessions.py", line 330, in request return self._request_with_retries( File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\sessions.py", line 228, in _request_with_retries response, saved_exception = self._make_request( File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\sessions.py", line 185, in _make_request response = self._rate_limiter.call( File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\rate_limit.py", line 33, in call kwargs["headers"] = set_header_callback() File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\sessions.py", line 283, in _set_header_callback self._authorizer.refresh() File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\auth.py", line 425, in refresh self._request_token( File "C:\Users\theul\AppData\Local\Programs\Python\Python310\lib\site-packages\prawcore\auth.py", line 158, in _request_token raise OAuthException( prawcore.exceptions.OAuthException: invalid_grant error processing request

andrewweir410 avatar Jun 04 '22 22:06 andrewweir410