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

[CompleteTutorial] [ERROR] KeyError while setting tutorial state #4291

Closed
surewhynotmon opened this issue Aug 19, 2016 · 5 comments
Closed

Comments

@surewhynotmon
Copy link

Expected Behavior

Complete tutorial

Actual Behavior

[CompleteTutorial] [ERROR] KeyError while setting tutorial state

Your FULL config.json (remove your username, password, gmapkey and any other private info)

{"config": {"// set a name": "", "nickname": "NAME", "enabled": true}, "type": "CompleteTutorial"},

Output when issue occurred

[CompleteTutorial] [ERROR] KeyError while setting tutorial state

Steps to Reproduce

Run a new account with tutorial task

Other Information

OS: Ubuntu

Git Commit:
7293896
Python Version:
2.7.11

@net8q
Copy link
Contributor

net8q commented Aug 19, 2016

Could you post complete output of the bot (censuring personal info) as having only the error line is not that useful without knowing at which stage it is stuck

@surewhynotmon
Copy link
Author

@net8q

2016-08-19 17:52:21,452 [CompleteTutorial] [INFO] Completed legal screen
2016-08-19 17:52:24,275 [CompleteTutorial] [INFO] Completed avatar selection
2016-08-19 17:52:36,910 [CompleteTutorial] [INFO] Completed first capture
2016-08-19 17:52:36,911 [CompleteTutorial] [INFO] Trying to set testingbot1111 as nickname
2016-08-19 17:52:42,382 [CompleteTutorial] [INFO] Name changed to testingbot1111
2016-08-19 17:52:42,648 [CompleteTutorial] [INFO] Completed first time experience
2016-08-19 17:53:02,055 [CompleteTutorial] [ERROR] KeyError while setting tutorial state
2016-08-19 17:53:07,423 [CompleteTutorial] [ERROR] KeyError while setting tutorial state

I can't reproduce it after restarting though.
I added a new log.error line before it...since just reporting KeyError without the full error message is annoying. I'd have to create a new account to test it out.

@net8q
Copy link
Contributor

net8q commented Aug 19, 2016

If the bot does not go through the tutorial after a restart, it means the tutorial is complete, as we are fetching tutorial state from the API.
I may be that on the second pass, the tutorial state is an old cached value not showing that the tutorial is complete

@surewhynotmon
Copy link
Author

@net8q

2016-08-19 22:08:06,463 [CompleteTutorial] [INFO] Trying to set NAME as nickname
2016-08-19 22:08:10,775 [CompleteTutorial] [ERROR] Error while changing nickname : CODENAME_NOT_AVAILABLE
2016-08-19 22:08:10,775 [CompleteTutorial] [ERROR] Error trying to set nickname

If nickname set errored out, it will get a name, but in the same time, it will always try to set nickname on all subsequent runs.

@k4n30 k4n30 closed this as completed Aug 20, 2016
@surewhynotmon
Copy link
Author

@k4n30 why is this issue closed?

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

3 participants