-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Bug
When running /discover or sql_execute, the Python bridge fails silently because altimate_engine is not installed in the user's active virtual environment. The error message is generic and unhelpful:
The Python bridge that manages warehouse connections is currently unavailable. This is an infrastructure issue with the altimate engine runtime — not a problem with your credentials or Snowflake setup.
Steps to Reproduce
- Have a project with a
.venvthat hasdbt-snowflakeandsnowflake-connector-pythoninstalled but notaltimate_engine - Run
/discoveror invokesql_executetool - Bridge fails — no actionable guidance for the user
Environment
$ which python3
/Users/surya/repos/dbt-projects/jaffle-shop/.venv/bin/python3
$ pip3 list | grep -i altimate
altimate-datapilot-cli 0.2.0 # <-- wrong package, altimate_engine is missing
Expected Behavior
- Detect that
altimate_engineis missing from the active Python environment - Provide a clear message: e.g., "altimate_engine is not installed in your active venv. Run
pip install altimate-engineor let altimate-code manage its own Python environment." - Ideally, fall back to altimate-code's managed Python environment (
~/.local/share/altimate-code/engine/) instead of failing
Notes
altimate-code has its own engine installation at ~/.local/share/altimate-code/engine/ but the bridge appears to prefer the user's active venv (which python3), which may not have the engine installed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels