continue icon indicating copy to clipboard operation
continue copied to clipboard

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

Open timmobrien opened this issue 1 year ago • 4 comments

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

timmobrien avatar Dec 30 '24 01:12 timmobrien

Its likely related to https://github.com/continuedev/continue/issues/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?

agent001 avatar Jan 01 '25 06:01 agent001

Fixed by https://github.com/continuedev/continue/pull/3608

RomneyDa avatar Jan 07 '25 01:01 RomneyDa

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Apr 08 '25 02:04 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Apr 19 '25 02:04 github-actions[bot]