mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-05 01:27:28 +00:00
[PR #170] fix: catch NotImplementedError from effective_ids on Windows #149
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/open-terminal#149
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-terminal/pull/170
Author: @ph1lsn
Created: 9/7/2026
Status: 🔄 Open
Base:
main← Head:windows-fix📝 Commits (1)
dbd52e7fix: catch NotImplementedError from effective_ids on Windows📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
open_terminal/utils/fs.py(+1 -1)📄 Description
Summary
_is_writable_synccallsos.access(path, os.W_OK, effective_ids=True)and only catchesTypeErroras a fallback.NotImplementedError(no setuid support), notTypeError, so the fallback never triggers.GET /files/list) crashes on Windows bare-metal.Fix
Broaden the except clause to also catch
NotImplementedError:Test plan
uvx open-terminal run ...GET /files/list500 error locally🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.