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

I don't know what to title this error. #192

Open
youngsimbah opened this issue Nov 29, 2021 · 0 comments
Open

I don't know what to title this error. #192

youngsimbah opened this issue Nov 29, 2021 · 0 comments

Comments

@youngsimbah
Copy link

youngsimbah commented Nov 29, 2021

The bot worked at first but when I closed it and tried restarting it, this is what I got

Traceback (most recent call last):
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\init.py", line 4, in
import bot
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\bot.py", line 1, in
from bots.reddit import RedditBot
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\bots\reddit_init_.py", line 1, in
from .bot import RedditBot
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\bots\reddit\bot.py", line 1, in
from apis import reddit_api
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\apis_init_.py", line 1, in
from config import reddit_config
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\config\reddit_config.py", line 23, in
config_gen()
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\config\reddit\config_gen.py", line 36, in config_gen
if authenticated(reddit):
File "C:\Users\YoungSimbah\Desktop\reddit-karma-farming-bot-master\src\config\reddit\config_gen.py", line 28, in authenticated
reddit.user.me()
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\praw\models\user.py", line 162, in me
user_data = self._reddit.get(API_PATH["me"])
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\praw\reddit.py", line 595, in get
return self._objectify_request(method="GET", params=params, path=path)
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\praw\reddit.py", line 696, in _objectify_request
self.request(
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\praw\reddit.py", line 885, in request
return self._core.request(
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\sessions.py", line 330, in request
return self._request_with_retries(
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\sessions.py", line 228, in _request_with_retries
response, saved_exception = self._make_request(
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\sessions.py", line 185, in _make_request
response = self._rate_limiter.call(
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\rate_limit.py", line 33, in call
kwargs["headers"] = set_header_callback()
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\sessions.py", line 283, in _set_header_callback
self._authorizer.refresh()
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\auth.py", line 425, in refresh
self._request_token(
File "C:\Users\YoungSimbah.virtualenvs\reddit-karma-farming-bot-master-IiZj164k\lib\site-packages\prawcore\auth.py", line 158, in _request_token
raise OAuthException(
prawcore.exceptions.OAuthException: invalid_grant error processing request
exiting...
Press any key to continue . . .

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