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

Error after disabling settings sync #162464

Closed
roblourens opened this issue Sep 30, 2022 · 3 comments
Closed

Error after disabling settings sync #162464

roblourens opened this issue Sep 30, 2022 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release settings-sync verified Verification succeeded

Comments

@roblourens
Copy link
Member

Was verifying an issue

  • Disabled settings sync
  • Reenabled it but on the Stable service
  • Changed profiles a few times
  • Disabled Settings sync

Got an error poupup, here is the stack from the window log

[2022-09-30 12:06:10.032] [renderer1] [error] Unknown (UserDataSyncError) syncResource:unknown operationId:unknown: h.with is not a function
    at u.C [as toUserDataSyncError] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:808:40284)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:815:110971
    at async w.getRemoteSyncResourceHandles (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:815:112541)
    at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:49047
    at async Promise.all (index 0)
    at async N.getRoots (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:47536)
    at async N.getChildren (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:47035)
    at async Object.getChildren (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3018:7181)
[2022-09-30 12:06:10.053] [renderer1] [error] h.with is not a function: Unknown (UserDataSyncError) syncResource:unknown operationId:unknown: h.with is not a function
    at u.C [as toUserDataSyncError] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:808:40284)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:815:110971
    at async w.getRemoteSyncResourceHandles (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:815:112541)
    at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:49047
    at async Promise.all (index 0)
    at async N.getRoots (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:47536)
    at async N.getChildren (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:47035)
    at async Object.getChildren (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3018:7181)
[2022-09-30 12:06:10.233] [renderer1] [error] Unknown (UserDataSyncError) syncResource:unknown operationId:unknown: h.with is not a function
    at u.C [as toUserDataSyncError] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:808:40284)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:815:110971
    at async w.getRemoteSyncResourceHandles (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:815:112541)
    at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:49047
    at async Promise.all (index 0)
    at async N.getRoots (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:47536)
    at async N.getChildren (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3145:47035)
    at async Object.getChildren (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3018:7181)
[2022-09-30 12:06:05.402] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-09-30 12:06:05.402] [settingssync] [info] Sync started.
[2022-09-30 12:06:05.501] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-09-30 12:06:05.538] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-09-30 12:06:05.548] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-09-30 12:06:05.554] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-09-30 12:06:05.809] [settingssync] [info] GlobalState: Updated remote ui state
[2022-09-30 12:06:05.874] [settingssync] [info] GlobalState: Updated last synchronized ui state
[2022-09-30 12:06:06.061] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-09-30 12:06:06.066] [settingssync] [info] Sync done. Took 669ms
[2022-09-30 12:06:10.014] [settingssync] [info] Auto Sync: Disabled.
[2022-09-30 12:06:10.014] [settingssync] [info] Auto Sync: Stopped
[2022-09-30 12:06:10.027] [settingssync] [info] Did reset the local sync state.
@sandy081
Copy link
Member

sandy081 commented Oct 3, 2022

Do you have settings sync views enabled?

@sandy081 sandy081 added info-needed Issue requires more information from poster settings-sync bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release and removed info-needed Issue requires more information from poster labels Oct 3, 2022
@sandy081 sandy081 added this to the September 2022 milestone Oct 3, 2022
@sandy081
Copy link
Member

sandy081 commented Oct 3, 2022

  • Turn on Settings Sync
  • Open Synced Data views (F1 > Show Synced Data)
  • Turn off Settings Sync
    🐛 Above error is shown

It is a regression and after looking at the root cause, it seems this can also impact other settings sync scenarios. Hence tagging this as candidate.

sandy081 added a commit that referenced this issue Oct 3, 2022
@sandy081 sandy081 mentioned this issue Oct 3, 2022
sandy081 added a commit that referenced this issue Oct 3, 2022
@sandy081 sandy081 mentioned this issue Oct 3, 2022
@vscodenpa vscodenpa added the unreleased Patch has not yet been released in VS Code Insiders label Oct 3, 2022
@sandy081 sandy081 reopened this Oct 3, 2022
@vscodenpa vscodenpa removed the unreleased Patch has not yet been released in VS Code Insiders label Oct 3, 2022
@sandy081 sandy081 closed this as completed Oct 4, 2022
@sandy081
Copy link
Member

sandy081 commented Oct 4, 2022

@roblourens Can you please verify this on latest insiders?

@roblourens roblourens added the verified Verification succeeded label Oct 4, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release settings-sync verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants