Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When verifying the PythonOCC is available or not, type the command: C:\Users\jiq\Miniconda3\python.exe -c “from OCC.Core.STEPControl import STEPControl_Reader; print(‘PythonOCC is available!’)” 2>&1, the terminal stopped and showing serialize binary: invalid int 32: 3228369023 [internal].
Request ID: 511d8cc8-bc31-4808-bb6e-5f17f743a5f0
ConnectError: [internal] serialize binary: invalid int 32: 3228369023
at oou.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:12706:475325)
at qXe._doInvokeHandler (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:23170)
at qXe._invokeHandler (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:22912)
at qXe._receiveRequest (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:21544)
at qXe._receiveOneMessage (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:20361)
at gMt.value (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:13633:18388)
at Ce._deliver (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at Ce.fire (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Gyt.fire (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:12691:12156)
at MessagePort. (vscode-file://vscode-app/c:/Users/jiq/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:15679:18406)
This is a Cursor IDE internal error, not related to Python or the code. This is a known intermittent issue with Cursor’s internal communication.
Steps to Reproduce
- AI found the conda Python location:
Get-ChildItem -Path “C:\Users\jiq” -Filter “python.exe” -Recurse -ErrorAction SilentlyContinue 2>&1 | Select-Object -First 20 FullName
where.exe python 2>&1
- AI found the conda Python:
Found it! The conda Python is at C:\Users\jiq\Miniconda3\python.exe. Let me verify PythonOCC is installed there and update the configuration:
& ‘C:\Users\jiq\Miniconda3\python.exe’ -c “from OCC.Core.STEPControl import STEPControl_Reader; print(‘PythonOCC is available!’)” 2>&1
- The issue comes out.
Expected Behavior
Terminal command is not running seeing the Internal Connection Error.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.3.29 (user setup)
VSCode Version: 1.105.1
Commit: 4ca9b38c6c97d4243bf0c61e51426667cb964bd0
Date: 2026-01-08T00:34:49.798Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
All the AI models have such issue.
For AI issues: add Request ID with privacy disabled
e04c152a-37b6-4a75-a961-8d1c346784b3
Additional Information
I’ll implement the recommended Python/PythonOCC configuration changes. Let me start by creating a task list and making the necessary modifications.
[6 tools called]
Now I’ll update the CADParserService.cs to add IConfiguration injection and update the FindPythonPath() method with proper priority logic:
[5 tools called]
I need to fix the GetValue method call. Let me use the simpler subscript accessor:
[2 tools called]
Build succeeded. Now let me build the entire solution and verify the DI registration for CADParserService:
[2 tools called]
The test project has pre-existing errors unrelated to my changes. Let me build just the main application projects:
[1 tool called]
Excellent! Build succeeded. Now let me verify that IConfiguration will be properly injected. Let me check the App.xaml.cs to see how services are registered:
[1 tool called]
IConfiguration is already registered in DI. Now let me verify that the conda Python path is correct and has PythonOCC installed:
[1 tool called]
Let me find the actual conda Python location:
[2 tools called]
Found it! The conda Python is at C:\Users\jiq\Miniconda3\python.exe. Let me verify PythonOCC is installed there and update the configuration:
[1 tool called]
Does this stop you from using Cursor
No - Cursor works, but with this issue
