-
Notifications
You must be signed in to change notification settings - Fork 12
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
Start bugs #7
Comments
Sorry - this was my fault for not including required modules (of which PRAW is one) in the readme. Did you get your issue sorted? |
Yeah but i came across a few others, let me go find what they were |
:0: UserWarning: The keyword `bot` in your user_agent may be problematic.
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\twitchy_the_bot-master\setup.py", line 12
, in <module>
r.login(username=username, password=password)
File "c:\Python27\lib\site-packages\praw\__init__.py", line 1331, in login
self.request_json(self.config['login'], data=data)
File "c:\Python27\lib\site-packages\praw\decorators.py", line 189, in wrapped
raise error_list[0]
praw.errors.InvalidUserPass: `wrong password` on field `passwd` |
The warning about the usage of the word "bot" in the useragent string should no longer happen. The other error is due to an invalid password - did you update config.py with the bot's username/password/subreddit? https://github.com/Andygmb/twitchy_the_bot/blob/master/config.py#L1-L2 |
:0: UserWarning: The keyword `bot` in your user_agent may be problematic.
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\twitchy_the_bot-master\setup.py", line 15
, in <module>
with open("default_wiki_config.json", "r") as configjson:
IOError: [Errno 2] No such file or directory: 'default_wiki_config.json' and i updated to the latest version of the bot (if it had been updated) |
Unfortunately that's an issue with running the bot on windows currently - #2 I haven't had time to switch to windows to test it out. However you can fix it yourself by adding the absolute path to the file on this line: https://github.com/Andygmb/twitchy_the_bot/blob/master/setup.py#L15 Judging by your previous tracebacks you would want to change it to
|
Thanks, I'll try that out in a bit |
Cool - let me know if it works out or if you have any other issues. |
:0: UserWarning: The keyword `bot` in your user_agent may be problematic.
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\twitchy_the_bot-master\setup.py", line 15
, in <module>
with open("C:\Users\Administrator\Desktop\twitchy_the_bot-master\default_wik
i_config.json", "r") as configjson:
IOError: [Errno 22] invalid mode ('r') or filename: 'C:\\Users\\Administrator\\D
esktop\twitchy_the_bot-master\\default_wiki_config.json' |
Will fix this later today when I get to a windows machine. |
No description provided.
The text was updated successfully, but these errors were encountered: