You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python interpreter discovery can hang the Global Options Python panel indefinitely #18794
RStudio Edition: Desktop and Server
RStudio Version: 2026.10.0 (main)
OS Version: all
Steps to reproduce
Tools > Global Options > Python > Select...
Have a Python (or conda) executable on the PATH or in a scanned location that hangs or is very slow to start.
Describe the problem in detail
The "Finding interpreters..." progress box stays up with no way to cancel. Interpreter discovery (.rs.python.findPythonInterpreters) runs every candidate interpreter and conda env list through system2() on the main R thread with no timeout, so one wedged process blocks the dialog and the python_find_interpreters RPC forever. The e2e suite hit this on the server-linux shard of run 34637770965: the RPC never returned within 60s, while the same test completes in a few seconds on a retry.
Describe the behavior you expected
Each probe is bounded; an interpreter that does not answer is listed as invalid (or skipped, for conda) and the dialog opens with the rest.
Fixed in 2026.10 by #18797. Each interpreter probe is now bounded by the rstudio.python.probeTimeout option (default 10 seconds; conda gets three times that). An interpreter that times out is listed as invalid, and a conda timeout skips conda environments with a warning instead of blocking the dialog.
Activity
harden e2e flakes from run 34637770965 and fix two product bugs they …
harden the flakes from run 34637770965; fix console keybinding race a…
kevinushey commentedon Oct 5, 2026
Fixed in 2026.10 by #18797. Each interpreter probe is now bounded by the
rstudio.python.probeTimeoutoption (default 10 seconds; conda gets three times that). An interpreter that times out is listed as invalid, and a conda timeout skips conda environments with a warning instead of blocking the dialog.