shanalikhan / code-settings-sync

๐ŸŒด๐Ÿ’ช Synchronize your Visual Studio Code Settings Across Multiple Machines using GitHub GIST ๐Ÿ’ช๐ŸŒด
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
MIT License
4.01k stars 390 forks source link

Error "Extension 'vscode.git-ui' not found" after which sync stops. #1431

Open akwala opened 1 year ago

akwala commented 1 year ago

๐Ÿ› Describe the bug
This error is reported when I launch VSCodium on one of my two hosts. Happens consistently on that host only โ€“ the two hosts correspond to two users on the same Ubuntu device, so they use the same VSCodium installation but each has its own config and set of external extensions.

Secondly, the download stops when the error happens โ€“ apparently a separate issue.

Adding "git-ui" to "ignoreExtensions" in syncLocalSettings.json prevents this error, as one would expect. However, shouldn't Settings Sync exclude it automatically, since git-ui is built into VSCode/VSCodium?

๐ŸŒด Visual Studio Code VSCodium Version : [ 1.79.2 ] ๐ŸŒด Code Settings Sync Version : [ 3.4.3 ] ๐ŸŒด Standard or Insiders : [ Standard ] ๐ŸŒด Portable or Installed : [ Installed ] ๐ŸŒด OSS or Official Build : [ OSS ] ๐ŸŒด Operating System : [ Kubuntu 22.04 ] ๐ŸŒด Occurs On: [ Download ] ๐ŸŒด Proxy Enabled: [ No ] ๐ŸŒด Gist Id: [ faab2abf9363cdd4b508005a47b13b3f ]

๐Ÿ“ฐ To Reproduce Steps to reproduce the behavior:

  1. Configure Settings Sync on 2 hosts
  2. Upload from host 1 โ€“ output shows git-ui among the extensions uploaded.
  3. Download on host 2.
  4. See error.

๐Ÿ’ช Expected behavior

  1. Settings Sync does not (try to) upload/download git-ui since it is a built-in extension.
  2. Settings Sync downloads/syncs remaining extensions/settings.

๐Ÿ“บ Console Error Log

  ERR Extension 'vscode.git-ui' not found.: Error: Extension 'vscode.git-ui' not found.
    at handler (vscode-file://vscode-app/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2604:42800)
workbench.desktop.main.js:624   ERR [Extension Host] Error: Error: Error: Extension 'vscode.git-ui' not found.
    at /home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:22293
    at /home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:11611
    at Object.throw (/home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:11716)
    at s (/home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:10513)
workbench.desktop.main.js:97 [Extension Host] Error: Error: Error: Extension 'vscode.git-ui' not found.
    at /home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:22293
    at /home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:11611
    at Object.throw (/home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:11716)
    at s (/home/userx/.vscode-oss/extensions/shan.code-settings-sync-3.4.3-universal/out/extension.js:290:10513)
I @ workbench.desktop.main.js:97
workbench.desktop.main.js:759 Sync: Error Logged In Console (Help menu > Toggle Developer Tools).

OUTPUT:
Realtime Extension Download Summary
--------------------
TOTAL EXTENSIONS : 2

[x] - EXTENSION: git-ui - INSTALLING

๐Ÿ“บ Additional context Will try to provide upon request.

jinhua115 commented 1 year ago

่ฟ™ๆ˜ฏๆฅ่‡ชQQ้‚ฎ็ฎฑ็š„ๅ‡ๆœŸ่‡ชๅŠจๅ›žๅค้‚ฎไปถใ€‚ไฝ ๅฅฝ๏ผŒๆˆ‘ๆœ€่ฟ‘ๆญฃๅœจไผ‘ๅ‡ไธญ๏ผŒๆ— ๆณ•ไบฒ่‡ชๅ›žๅคไฝ ็š„้‚ฎไปถใ€‚ๆˆ‘ๅฐ†ๅœจๅ‡ๆœŸ็ป“ๆŸๅŽ๏ผŒๅฐฝๅฟซ็ป™ไฝ ๅ›žๅคใ€‚