`run_shell_command` results in `NameError` when attempting `git clone` of gemini-cli
What happened?
Description of the problem:
The run_shell_command tool reports a NameError when attempting to execute a git clone command. This prevents the repository from being cloned and further interaction with it.
Steps to reproduce:
- Attempt to use
run_shell_commandwith a command like:git clone https://github.com/google-gemini/gemini-cli - Observe the output.
Expected behavior:
The git clone command is expected to execute successfully, and the repository should be cloned.
Actual behavior:
Instead, the run_shell_command tool reports a NameError, and the command does not execute.
Error message (example, replace with actual message):
NameError: name 'run_shell_command' is not defined
Environment:
- Operating System: Ubuntu
- Tool: Gemini CLI 0.1.13
- Context: Attempting to interact with a GitHub repository.
What did you expect to happen?
not error
Client information
$ gemini /about
# paste output here
Login information
No response
Anything else we need to know?
No response
It is due to the internal /tools glitch, in my opinion.
My end-user's advice:
Plan A: "Switch it off and on" (=wipe and reinstall), as the fastest method.
Plan B: test an older version of Gemini CLI.
ver. 2.0, style fixed now
Closing this issue as it appears to be a comment offering a workaround.
Internal tools glitch. "Switch it off and on" (=wipe and reinstall). Fastest. Plan B: test an older version.
this problem above I have received using gemini-cli while gemini-cli was trying to get an answer searching inside this repository, not while installing gemini-cli
@srithreepo your comment https://github.com/google-gemini/gemini-cli/issues/4522#issuecomment-3095220611 is wrong in decoding the commenter's (mine) intent. Reread my advice. (BTW, you had marked three of my comments that way, I guess doing so via some script ...)
Yes good catch ! I was testing a script which was meant to only adjust labels and it seems to have closed a few issues, I've reopened all of them (hopefully)
This issue has been automatically marked as stale due to 60 days of inactivity. It will be closed in 14 days if no further activity occurs.
Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.
It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.
Thank you for your contribution!