mirror of
https://github.com/open-webui/desktop.git
synced 2026-11-05 01:27:46 +00:00
[GH-ISSUE #168] Bug: Open Terminal fails silently when Python is not installed - no UI feedback and no auto-install #106
Labels
No labels
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/desktop#106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Heliopause0916 on GitHub (May 1, 2026).
Original GitHub issue: https://github.com/open-webui/desktop/issues/168
Description
When clicking the "Open Terminal" button without a previously installed Python environment, the feature fails silently with no user-facing error message or prompt to install Python. The only indication of failure is in the log file.
Steps to Reproduce
Expected Behavior
One of the following should happen:
Actual Behavior
Environment
C:\Users\<user>\AppData\Roaming\open-webui\python\exists but is emptyLog Evidence
Root Cause Analysis
Looking at the source code (
src/main/utils/open-terminal.ts):The function throws an error if Python is not installed, but does not trigger the installation flow. The Python installation is only triggered when users start a "Local Server", not when they use Open Terminal.
Workaround
Users must first:
Or manually download Python standalone and extract to:
Suggested Fix
The
startOpenTerminalfunction should either:Similar logic exists for the Local Server flow - it would be helpful to have consistency across features that require Python.
Related Code References
src/main/utils/open-terminal.ts- Open Terminal startup logicsrc/main/utils/index.ts- Python installation functions (installPython,isPythonInstalled)src/main/index.ts- IPC handler forinstall:python