-
Notifications
You must be signed in to change notification settings - Fork 72
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
First invocation breaks if user.email git config not set. #3
Comments
I know almost nothing about python. I got bit at this:
What should I do here? |
@dxxvi If you ran the command before setting the email try |
+1 @AshTreeSystems is spot on. Just delete the file and run the command again to reinitialize it. |
ShishirPatil
added a commit
that referenced
this issue
Jul 18, 2023
…ove examples] (#14) Fixes: - 🪟 Windows installs were running into decoding issues. Now decoding scheme is explicitly stated. Fixes #8 #11 - ✅ Removed the assert that checked for user_id. If a user_id is not found, it assign a per session unique_id. Fixes #3 Improvements: - 💼 Brief welcome message. - 🚀 Better examples that demonstrate the power of gorilla - 🦍 Logo in README
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CLI setup /
~/.gorilla-cli-userid
creation logic tries to callgit config --global user.email
:gorilla-cli/go_cli.py
Line 81 in ec4153a
This can fail if the user hasn't configured this git-config value (or if the user doesn't have git installed).
This results in an exception, but we continue to write the cli-userid file anyway (it's empty at this point):
gorilla-cli/go_cli.py
Line 81 in ec4153a
Then on subsequent invocations, the (empty) cli-userid file is read, and this assertion block prevents progress without meaningful recourse:
gorilla-cli/go_cli.py
Line 76 in ec4153a
Suggested fixes / ideas:
git config
invocation to failgorilla-cli/go_cli.py
Line 81 in ec4153a
gorilla-cli/go_cli.py
Line 76 in ec4153a
Thanks for making this project and making it available open-source. I hope this bug report is helpful.
The text was updated successfully, but these errors were encountered: