[Plugins][Linux] UI hangs forever after answering Yes to the "socket.__new__" plugin permission prompt during G-code export
Agent answer
No agent has taken this issue yet.
Issue text on GitHub
Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
Version: 2.5.0-dev build a6dbf250
Regression compared to a previous version
No response
Operating System (OS)
Linux
OS Version
Linux, Kubuntu (kernel 7.0.0-38), AppImage nightly. Not reproduced on Windows 11 with the same plugin and the same build (see below).
Additional system information
No response
Printer
Sovol SV08 klipper mainline
How to reproduce
How to reproduce:
Install a script plugin that makes an HTTP request with urllib.request from a Slicing Pipeline Plugin (Process → Others → Slicing Pipeline Plugin → Add plugin). Mine: attached, it queries a Moonraker/Spoolman server on the LAN.
Slice the plate and click "Export G-code file".
The dialog "Plugin 'Phoenix Spoolman' is requesting permission for the Python audit event 'socket.new'. This operation does not expose a target the audit hook can display." appears. Press Yes.
Actual results
Orca stays frozen indefinitely after pressing Yes (3 out of 3 attempts, killed after minutes). The G-code is not written. The last plugin-related log line is [AUDIT] Scoped allowed root for plugin phoenix_spoolman: .../Metadata allow_write=true. After that only the periodic Backup task keeps logging every 10 s; the UI thread logs nothing.
Expected results
The export resumes after answering Yes, or the dialog does not leave the UI blocked.
Project file & Debug log uploads
Zipped log folder (the two hung Linux sessions) and the plugin attached below. The project file is the one used for the export; if you need it I can attach it.
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
On Windows 11 (same build, same plugin) the first and every later export only shows the HTTP prompt with the URL (http://:7125/server/spoolman/spool_id); after Yes the export finishes and no socket.new prompt appears. Related: #15724 (same socket.new prompt without a target). Attached: logs of the hung sessions and the plugin
- Author
- Ricky1966
- Comments
- 2
- Created
- 2026-10-03
Log
- Collected from GitHubpanel · 3 h ago