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

When the user name contains an apostrophe, Continue is unable to access the config file #3564

Open
3 tasks done
timmobrien opened this issue Dec 30, 2024 · 1 comment
Open
3 tasks done
Assignees
Labels
area:configuration Relates to configuration options ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:high Indicates high priority

Comments

@timmobrien
Copy link

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 0.84 
- IDE version: Jetbrains Webstorm 2024.3.1.1
- Model: N/A

Description

When I open Webstorm, I get an error detailing an issue with accessing my config file (see logs). I presume this is just a result of the apostrophe in my user name not being escaped properly. I've tried to add a project specific config, but that gave me a different err (see logs).

To reproduce

  1. Create a windows user with an apostrophe in the file path
  2. Open Jetbrains webstorm while signed in as the new user
  3. Install Continue
  4. Click the cog to open config, and observe the error notification in the bottom right

Log output

----- Whenever I click the settings cog -----

Error handling message of type openFile: java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\XXXXO'XXXX\.continue\config.json

----- When opening webstorm, with a project-specific config file (outside of the path with the apostrophe) -----

Error handling message of type getWorkspaceConfigs: java.net.URISyntaxException: Illegal character in path at index 24: file://C:/Dev/Repos/XXXXX/nextjs/XXX.continuerc.json


------ Continue Logs -------------

Nothing of note in these logs
@dosubot dosubot bot added area:configuration Relates to configuration options ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:high Indicates high priority labels Dec 30, 2024
@agent001
Copy link

agent001 commented Jan 1, 2025

Its likely related to #3545 and not related special character in your username. I got the same error with alpha numeric username, no special characters in it. Are you using remote docker DevContainer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:configuration Relates to configuration options ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:high Indicates high priority
Projects
None yet
Development

No branches or pull requests

3 participants