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

Cannot set external sync path with spaces escaped by backslash #29

Open
runlevelsix opened this issue Nov 30, 2017 · 0 comments
Open

Cannot set external sync path with spaces escaped by backslash #29

runlevelsix opened this issue Nov 30, 2017 · 0 comments

Comments

@runlevelsix
Copy link

If you are reporting an issue/bug please fill in your VSCode version, CodeSync version, and if you are on version 2.4.0 and above the CodeSync log from the CodeSync output channel. Thanks!

If you are requesting a feature feel free to clear this template.

VSCode version: 1.18.1

CodeSync version: 2.5.0

CodeSync log:

settings.ts
	2017-11-30T18:50:55.869Z - Creating settings with internal settings.json path and external extensions.json path: /Users/jc/.vscode/extensions/golf1052.code-sync-2.5.0/settings.json, extensions.json.
helpers.ts
	2017-11-30T18:50:58.804Z - Found code version: 1.18.1
929bacba01ef658b873545e26034d1a8067445e9
.
cs.ts
	2017-11-30T18:50:58.805Z - Checking settings
	2017-11-30T18:50:58.876Z - Could not find settings in /Users/jc/.vscode/extensions/golf1052.code-sync-2.5.0/settings.json. Creating...
	2017-11-30T18:51:01.170Z - Setting external extensions path as /Users/jc/OneDrive/Apps/code-sync/extensions.json.
	2017-11-30T18:51:01.171Z - CodeSync external sync directory isn't there?
	2017-11-30T18:51:01.171Z - Creating external sync path directory: /Users/jc/OneDrive/Apps/code-sync.
	2017-11-30T18:51:01.171Z - Done checking settings.
	2017-11-30T18:51:01.171Z - External sync directory: /Users/jc/OneDrive/Apps/code-sync
	2017-11-30T18:51:01.174Z - Importing settings
	2017-11-30T18:51:01.174Z - Failed to import settings. Could not find settings.json at /Users/jc/OneDrive/Apps/code-sync/settings.json. Giving up.
	2017-11-30T18:51:01.174Z - Importing keybindings
	2017-11-30T18:51:01.174Z - Failed to import keybindings. Could not find keybindings.json at /Users/jc/OneDrive/Apps/code-sync/keybindings.json. Giving up.
	2017-11-30T18:51:01.174Z - Importing snippets
	2017-11-30T18:51:01.175Z - Failed to import snippets. Could not find snippets directory at /Users/jc/OneDrive/Apps/code-sync/snippets. Giving up.
	2017-11-30T18:51:01.175Z - Importing extensions
	2017-11-30T18:51:01.175Z - Finished importing extensions.
	2017-11-30T18:53:20.941Z - Creating external sync path: /Volumes/GoogleDrive/My\ Drive/vscode
	2017-11-30T18:54:02.444Z - Creating external sync path: /Volumes/GoogleDrive/My\ Drive/vscode/code-sync
	2017-11-30T18:55:59.769Z - Creating external sync path: /Volumes/GoogleDrive/My\ Drive/vscode/code-sync
	2017-11-30T19:09:28.240Z - Creating external sync path: /Volumes/GoogleDrive/My\ Drive/vscode/code-sync

Issue:
The last four entries are me trying to add the path /Volumes/GoogleDrive/My\ Drive/vscode/code-sync as the external sync path. However, it fails with an error ECANCELED: operation canceled, mkdir '/Volumes/GoogleDrive/My\ Drive'

Once I removed the forward slash escaping the space character in "My Drive", CodeSync was able to create the path and a sync happened when I quit VS Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant