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

Invalid subcommands return "Authorization invalid" error #3

Closed
TheodorJ opened this issue Mar 25, 2018 · 3 comments
Closed

Invalid subcommands return "Authorization invalid" error #3

TheodorJ opened this issue Mar 25, 2018 · 3 comments
Labels
invalid This doesn't seem right

Comments

@TheodorJ
Copy link
Contributor

I tried running "autolab course" (forgetting the 's' in "courses") and received the following error:

[ContextManager] tokens loaded
fatal: Cannot start autolab client
Authorization invalid or expired.

Please re-authorize this client by running 'autolab-setup'

This works when running any subcommand that isn't valid. It's not disastrous, but it is misleading.

@TheodorJ TheodorJ added the invalid This doesn't seem right label Mar 25, 2018
@TheodorJ TheodorJ changed the title Invalid subcommands return "Autohrization invalid" error Invalid subcommands return "Authorization invalid" error Mar 26, 2018
@zyx-billy
Copy link
Member

Is this still happening? I tried it on the latest master and the error is "Unrecognized command: course". Perhaps this was something that happened halfway through refactoring?

@TheodorJ
Copy link
Contributor Author

It's still happening to me -- Could it maybe be because I'm running in debug mode?

@zyx-billy
Copy link
Member

seems to be fixed in #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants