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

ImportError: Failed to initialize: Bad git executable. #7140

Closed
sentry-io bot opened this issue Oct 30, 2020 · 0 comments · Fixed by #7141
Closed

ImportError: Failed to initialize: Bad git executable. #7140

sentry-io bot opened this issue Oct 30, 2020 · 0 comments · Fixed by #7141

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 30, 2020

Sentry Issue: RASA-OPEN-SOURCE-180

ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|none|n|0: for no warning or exception
    - warn|w|warning|1: for a print...
  File "__init__.py", line 83, in <module>
    refresh()
  File "__init__.py", line 73, in refresh
    if not Git.refresh(path=path):
  File "site-packages/git/cmd.py", line 278, in refresh
    raise ImportError(err)

ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|none|n|0: for no warning or exception
    - warn|w|...
(3 additional frame(s) were not displayed)
...
  File "rasa/__main__.py", line 115, in main
    cmdline_arguments.func(cmdline_arguments)
  File "rasa/cli/x.py", line 339, in rasa_x
    run_locally(args)
  File "rasa/cli/x.py", line 428, in run_locally
    from rasax.community import local  # pytype: disable=import-error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants