Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI authority error when opening WSL projects in PyCharm 2024.3.4 #4554

Open
2 of 3 tasks
EkSulfur opened this issue Mar 9, 2025 · 0 comments
Open
2 of 3 tasks

URI authority error when opening WSL projects in PyCharm 2024.3.4 #4554

EkSulfur opened this issue Mar 9, 2025 · 0 comments
Assignees
Labels
ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@EkSulfur
Copy link

EkSulfur commented Mar 9, 2025

Before submitting your bug report

Relevant environment info

IDE: PyCharm 2024.3.4 (Professional Edition)
WSL: Ubuntu 22.04.3 LTS
Host OS: Windows 11 23H2

Description

The plugin throws a java.lang.IllegalArgumentException: URI has an authority component error when opening projects located in the WSL filesystem (\wsl$\Ubuntu...), but works normally with native Windows paths.

To reproduce

  1. Set up a WSL 2 environment with Ubuntu 22.04

  2. Create a project in WSL at ~/project

  3. In PyCharm:
    File > Open > \wsl$\Ubuntu\home<user>\project

  4. The Continue plugin initialization fails with:

Error handling message of type fileExists: java.lang.IllegalArgumentException: URI has an authority component

Log output

2025-03-09 16:42:18,505 [ 674021]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.SdkEntity to files
2025-03-09 16:42:18,508 [ 674024]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files
2025-03-09 16:42:18,539 [ 674055]   INFO - STDOUT - Error writing to Continue core: java.io.IOException: Stream closed
2025-03-09 16:42:18,540 [ 674056]   INFO - STDOUT - Error writing to Continue core: java.io.IOException: Stream closed
2025-03-09 16:42:18,983 [ 674499]   INFO - #c.i.e.wsl - WSL mount root for MS_Ubuntu-22.04 is /mnt/ (done in 136 ms)
@dosubot dosubot bot added ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior labels Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants