diff options
| author | idatui <user@clank> | 2026-08-09 13:44:10 +0200 |
|---|---|---|
| committer | idatui <user@clank> | 2026-08-09 13:44:10 +0200 |
| commit | a5bb4444ecb4987a4ce2b4ff72b030ce79740ab5 (patch) | |
| tree | 4d588e83d73a8e044da9a18b04db9e6eb8610655 /docs/GRAPH_VIEW.md | |
| parent | graph_triskel: name the detour target, drop the unused swap (diff) | |
| download | ida-tui-a5bb4444ecb4987a4ce2b4ff72b030ce79740ab5.tar.gz ida-tui-a5bb4444ecb4987a4ce2b4ff72b030ce79740ab5.tar.xz ida-tui-a5bb4444ecb4987a4ce2b4ff72b030ce79740ab5.zip | |
Graph: name the interpreter when pytriskel is missing
./ida-tui runs $IDATUI_PYTHON (default ~/ida-venv), which is not the
repo .venv the tests use -- so the graph view can report pytriskel as
missing while tests/test_graph.py is exercising both engines. "not
installed" on its own sends you to check the wrong python; the status
now names sys.executable, and docs/GRAPH_VIEW.md says to install into
both.
Diffstat (limited to 'docs/GRAPH_VIEW.md')
| -rw-r--r-- | docs/GRAPH_VIEW.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/GRAPH_VIEW.md b/docs/GRAPH_VIEW.md index ea1f84d..d588b3d 100644 --- a/docs/GRAPH_VIEW.md +++ b/docs/GRAPH_VIEW.md @@ -217,10 +217,20 @@ drive raw graph action=zoom It is optional; without it everything works and `auto` means `native`. +**Install it into the interpreter the launcher actually runs**, which is +`$IDATUI_PYTHON` and defaults to `~/ida-venv/bin/python` — *not* the repo's +`.venv`, which is only what the tests use. Getting this wrong is the one way to +see `no pytriskel in ...` in the status bar while `tests/test_graph.py` happily +exercises both engines; the message names the interpreter for that reason. + ```bash -uv pip install ~/dev/triskel/bindings/python # needs cmake, ninja, a C++23 compiler +~/ida-venv/bin/python -m pip install ~/dev/triskel/bindings/python +.venv/bin/python -m pip install ~/dev/triskel/bindings/python # for the tests ``` +Needs cmake, ninja and a C++23 compiler at install time; the wheel is built from +source for whichever interpreter runs pip. + That is **our fork**, not PyPI. Upstream's wheels stop at cp313 with no sdist (so there is nothing to install on 3.14), and on any version their `get_waypoints()` raises, which means no edge routes at all. `~/dev/triskel/PATCHES.md` |
