nonoroazoro / vscode-syncing

:zap: VSCode Extension - Sync all of your VSCode settings across multiple devices.
https://marketplace.visualstudio.com/items?itemName=nonoroazoro.syncing
Other
490 stars 30 forks source link

Extensions would not be downloaded #18

Closed mubaidr closed 7 years ago

mubaidr commented 7 years ago

Specifications

Expected Behavior

Extensions should be downloaded

Actual Behavior

Settings downloaded, but extensions are not installed

Steps to Reproduce

  1. I have absolutely no idea. :( Help me debug this issue. It shows syncing progress (and installing extension progress) but none of them is actually installed. Where can i find log? (there is no message or error in developer tools)

I am behind proxy server if this is of any help but this should be issue as settings download works and manually installing extensions also works.

nonoroazoro commented 7 years ago

@mubaidr Usually the extensions are located in %userprofile%\.vscode\extensions, and if the extensions are successfully downloaded, you shall find them there.

I guess maybe Syncing has no privileges to access the extensions folder (%userprofile%\.vscode\extensions), but I'm not sure about it casue the progress indicator of Syncing shows no error...

I'll follow this up, and before that you can try disable the User Account Control (UAC) and sync again.

mubaidr commented 7 years ago

Yes, i am checking the same folder, if i install any extension manual it appears in that folder. Two of my pc works good with this extension, only one has issue.

Only thing different between them is proxy server for the Internet, but again manual downloading and vs-code update works fine.

This is driving me nuts, i had to install ~40 extensions manually one by one. Hope I could help you solve this.

I will definitely try without UAC and report back.

nonoroazoro commented 7 years ago

@mubaidr I suggest you could copy all of the 40 extensions to the pc which went wrong as a work-around.

stopanko commented 7 years ago

@mubaidr Had the same problem. I have closed VsCode. After i chose Syncing -> Download settings. It will stop on the first extention. I have installed it manually and after rerun Syncing. IT stops only on several extentions. Do the same for each

nonoroazoro commented 7 years ago

@stopanko The reason that the extensions are downloaded again is because the previous synchronization is not correctly finished. In fact, the extensions are not installed due to some potential exceptions, especially the networking.

I think you can try the following steps to repair:

  1. Clear your VSCode extensions dir:

    1. Windows: %userprofile%\.vscode\extensions

    2. Mac: ~/.vscode/extensions

  2. Restart VSCode and install Syncing.

  3. Check your proxy settings in VSCode settings: http.proxy (cause currently the http_proxy and https_proxy are not taken from your environment variables, Syncing only reads the VSCode http settings for now).

  4. Download settings.

mubaidr commented 7 years ago

So this extension has nothing to do with this issue. VSCode did not use proxy settings when installing extensions using this very specific methods, which is fixed in latest releases i believe.

More information: https://github.com/Microsoft/vscode/issues/69 https://github.com/Microsoft/vscode/issues/5596 https://github.com/Microsoft/vscode/issues/22214

nonoroazoro commented 7 years ago

@mubaidr Thanks a lot!