Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.313.41036
What subscription do you have?
team
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Summary
In the Windows Codex desktop app, file links inside the chat do nothing when clicked. Also, clicking Open in PyCharm fails if PyCharm is already running, even though the PyCharm process is healthy and responsive.
Environment
Windows 11
Codex desktop app for Windows
PyCharm 2025.3.3
Workspace: C:\Users\xxzz\code\quant-ai
Primary issue: chat file links do nothing
Examples:
plain path references like data/exchanges/byb_perp.py:136 are not clickable
even local file links rendered by the assistant also do nothing when clicked
Actual result
no action
no error
file is not opened in Codex
file is not opened in PyCharm
Expected result
clicking a file link in chat should open the target file, ideally in the configured editor
Secondary issue: Open in PyCharm fails
If PyCharm is already running and the project is already open, Open in PyCharm shows:
Internal error
com.intellij.platform.ide.bootstrap.DirectoryLock$CannotActivateException: Process "C:\Program Files\JetBrains\PyCharm 2025.3.3\bin\pycharm64.exe" (...) is still running and does not respond.
Important observation
PyCharm itself is not actually hung. Launching a file directly from the command line works:
& 'C:\Program Files\JetBrains\PyCharm 2025.3.3\bin\pycharm64.exe' --line 136 'C:\Users\xxzz\code\quant-ai\data\exchanges\byb_perp.py'
PyCharm logs also show that external commands are sometimes received successfully, and the existing project is reused. So this looks like a Codex integration / error-handling issue rather than a dead PyCharm process.
What I already tried
restarted PyCharm
removed JetBrains lock/state files
reinstalled PyCharm
updated Codex local config to point to PyCharm 2025.3.3 instead of an old PyCharm install
The chat file-link issue still remains, and Open in PyCharm still fails.
What steps can reproduce the bug?
- Open Codex desktop app on Windows.
- Open a workspace, for example
C:\Users\xxzz\code\quant-ai. - Start or continue a chat where the assistant references a local file.
- Click a file reference in the chat.
- Observe that nothing happens.
For the related PyCharm issue:
- Open
PyCharm 2025.3.3. - Open the same project/workspace in PyCharm.
- Go back to Codex.
- Click
Open in PyCharmin the top-right corner. - Observe the
DirectoryLock$CannotActivateExceptionerror saying the running PyCharm process “does not respond.”
What is the expected behavior?
No response
Additional information
No response
Activity
[-]Windows Codex app: chat file links are not clickable, and Open in PyCharm fails against an already-running PyCharm instance[/-][+]Chat file links are not clickable, and Open in PyCharm fails[/+]InnovationLou commentedon Mar 26, 2026
Hi, I’m encountering the exact same issue in my environment, and it’s currently blocking my workflow.
Is there any update or ETA on a fix for this?
Happy to provide additional logs or help with testing if needed.
Thanks!
JuliGame commentedon Apr 20, 2026
same issue here
michaelmcl1960 commentedon Sep 19, 2026
Additional Windows reproduction and verified workaround
Reproduced on 18 September 2026 with the ChatGPT/Codex desktop package OpenAI.Codex 26.908.4834.0, PyCharm 2025.2.3, and bundled JetBrains Runtime 21.0.9+1-b1038.78 amd64.
With a responsive PyCharm project already open, clicking a local
.pylink and then the file panel’s Open button starts another PyCharm process and producesDirectoryLock$CannotActivateException. The nested errors arejava.net.SocketException: Invalid argument: bindandInvalid argument: connectinsun.nio.ch.UnixDomainSockets, throughDirectoryLock.tryListen/tryConnect. The existing IDE was not hung.Directly launching
pycharm64.exewith the file path and--line 1from the desktop app’s execution context also failed.Verified workaround
Obtain an existing Windows Explorer window from
Shell.Application.Windows(), then invoke that window’sDocument.Application.ShellExecutewith the PyCharm executable and file arguments. This opened the file in the original PyCharm process without restarting the IDE. Its log confirmed receipt of the file, line, and column.Calling
ShellExecuteon a newly createdShell.Applicationobject alone did not work in our test; using the existing Explorer window’sDocument.Applicationwas the important difference.We installed this route as a custom file handler, selected it as the default destination, and restarted the desktop app to load the setting. The user confirmed that the actual file-panel Open button then worked. The workaround remained configured after the app updated to 26.915.4065.0.
Please fix the built-in Windows JetBrains launcher so users do not have to create a custom handler individually. The observations suggest a launch-context or activation-handoff problem; they do not establish the underlying cause.
Related JetBrains report: https://youtrack.jetbrains.com/issue/IJPL-237935
No private source files or full logs are attached.