Code-settings-sync: Error when trying to sync from public gist.

Created on 1 Apr 2019  路  12Comments  路  Source: shanalikhan/code-settings-sync

馃悰 Describe the bug

  1. Install Settings Sync extension
  2. in cmd palette, type "sync: advanced options"
  3. choose "download settings from public gist"
  4. press alt + shift + D, it prompts you for gist ID
  5. enter 9d2e13cc88ffb44230e13e4603d70679

I get the error:

TypeError: Cannot read property 'gists' of null
at module.exports.t.GitHubService.

馃尨 Visual Studio Code Version : [ 1.32 ]
馃尨 Code Settings Sync Version : [ 3.2.6 ]
馃尨 Standard or Insiders : [ standard ]
馃尨 OSS or Portable : [ OSS ]
馃尨 Operating System : [ CentOS ]
馃尨 Occurs On: [Upload / Download / Help Configuring ]
馃尨 Proxy Enabled: [ Yes / No ]
馃尨 Gist Id: [ 9d2e13cc88ffb44230e13e4603d70679 ]

These steps

馃摪 To Reproduce
Steps to reproduce the behavior:
Noted above

馃挭 Expected behavior
It should sync...

馃摵 Console Error Log

TypeError: Cannot read property 'gists' of null
at module.exports.t.GitHubService.

馃摵 Additional context
Add any other context about the problem here.

bug 馃悰 fixed

Most helpful comment

Can you guys, test on this build and let me know so i can release new version.

https://www.dropbox.com/s/beudbw0uqwt8ua2/code-settings-sync-3.2.8.vsix?dl=0

The new one fixed the problem for me on MacOS Mojave 10.14.4. Thanks!

All 12 comments

Same problem here...

馃尨 Visual Studio Code Version : [ 1.32.3 ]
馃尨 Code Settings Sync Version : [ 3.2.7 ]
馃尨 Standard or Insiders : [ standard ]
馃尨 OSS or Portable : [ OSS ]
馃尨 Operating System : [ Windows ]
馃尨 Occurs On: [Upload / Download / Help Configuring ]
馃尨 Proxy Enabled: [ Yes / No ]
馃尨 Gist Id: [ 8ad35edefaed8a64e17616476941b248 ]

Current workaround is to provide a github token. First you need to go to the command palette and type sync: reset extension settings.

Current workaround is to provide a github token. First you need to go to the command palette and type sync: reset extension settings.

Just encountered this issue on Windows 10 from a complete uninstall (deleting corresponding files as well from %appdata% and %userprofile%) then doing a fresh install due to VS Code being terribly slow for some reason and can confirm this works.

Can you guys, test on this build and let me know so i can release new version.

https://www.dropbox.com/s/beudbw0uqwt8ua2/code-settings-sync-3.2.8.vsix?dl=0

Can you guys, test on this build and let me know so i can release new version.

https://www.dropbox.com/s/beudbw0uqwt8ua2/code-settings-sync-3.2.8.vsix?dl=0

The new one fixed the problem for me on MacOS Mojave 10.14.4. Thanks!

Worked for me on CentOS!

Can you guys, test on this build and let me know so i can release new version.

https://www.dropbox.com/s/beudbw0uqwt8ua2/code-settings-sync-3.2.8.vsix?dl=0

Seems to be working fine on Windows 10 Pro 64 bit. Thanks!

I'm no longer having such error on my Ubuntu 18.10!

its fixed in v3.2.9

Still Not Working Ubuntu 18.04 haha!

Now that I pay attention more on the issue, I'm no longer seeing the error mentioned on this issue, though strangely my extensions are not being installed on the editor. I just see them to be "fetched" and "installed" so quick, but at the end, these are not installed in vscode. If I use my token it goes fine. Could this be still related with this issue and not being able to fetch and install from public GIST?

@Gywem
Please create new issue with complete reproducing steps so i can reproduce and fix in upcoming version ( if there is a bug )

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mklement0 picture mklement0  路  5Comments

hfcheng66 picture hfcheng66  路  5Comments

mjbvz picture mjbvz  路  5Comments

OlegChep picture OlegChep  路  5Comments

axetroy picture axetroy  路  4Comments