-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
Stoped to work after update to 2.4.2 #190
Comments
I got this error message too. Visual Studio Code Version : 1.8.1 |
Same here, I now get this error each time I open VSCode |
As it runs in on code start. I need to identify please answer Do you have auto upload enabled or auto download enabled? |
auto upload or download is disabled |
+1 |
FYI in my case it was a fresh install. I'd never used/installed this extension before. |
@shanalikhan, I can't see my options, because I'm not able to open up they anymore. =/ I had the same problem with code sync also in my PC: My sync options are public here: Coudn't find the |
Because all the settings from ....... Solution ..... @dylove1010 can you also please provide the GIST you last synced if its possible |
@shanalikhan, I removed the extra comma at the I'm used to use trailing commas in object literals, as explaned here: Of course it makes an invalid json, but is a valid ES5 and as VSC never complained about it. What about give more meaningful feedback for this kind of problems? |
actually, this is caused by code API itself while saving the old extension setting Similar issue is opened already in code. As its from the API, I will see what can be done from the extension side |
Got it! Thanks for this great tool man! Keep it up! =) |
I think this is the problem for other users also. I'm keeping this issue open and fill show a message to user to make sure it have valid JSON in all the Code configurations files in the next version. |
Still not working for me. I tried creating a blank syncSettings.json file, changed the error but still didn't work... I tried dropping the content from my settings.json file in there, still didn't work. At this point I've given up (I don't really need it anymore, I've manually copied settings around as needed). It does seem a handy tool, although personally I'd rather just put these files in something like dropbox (personally I don't really need to share publicly, just across machines). |
I have two machines where the syncing doesn't work and another one where it does. On the machines where it doesn't work, this is what I get as the output messages when attempting to download the gist (made by the other machine where this extension works):
Do you have any idea of what might be the cause ? |
@shanalikhan thanks, that solved my problem. |
@shanalikhan I tried again, and yes there was a trailing comma in one of the settings files... removing that fixed it and code-settings-sync worked! Thank you for the helpful tool and the help getting it working! |
I was able to resolve this by a simple rest of the extension settings and re-adding the token. |
IMO you can try to read the json file like this: This way you can read json file with comments. The |
Looks like alot of users are having problem. I'm busy nowadays in other work. If anyone can send me pull request i will make release newer version fixing this problem otherwise you guys need to wait until my exams are over 😄 in week or so, i'm sorry for that. @unional Thanks, i will check it out. |
Sorry I'm a complete newbie at this. So how do I check the settings.json file again? |
Command prompt
|
I just checked my settings.json and it only has my custom settings which is editor.renderIndentGuides, editor.fontSize and editor.fontFamily. I thought when I first initialised sync is that the GIST ID will be listed here?? Also, is it normal to have 1 error: property expect (11,1)
|
You have an extra comma at the end |
Oh nice! That solved the whole error part. So perhaps for sync to work, it needs to have a 0 error in the settings.json file? |
Yes, because currently it is ready the file as JSON, so for it to work, the file must be valid JOSN. Meaning no extra comma, no comments. |
Comments like this is fine though:
|
Same Problem here :/ |
@davidhellmann have you checked your user settings JSON file? It must not have any red errors in it. |
Same issue for two people I know doing a fresh install. |
@brunolm I had this issue with a fresh install as well, have they checked their settings.json? |
I cant save that file in JSON as i have to use their API to save the settings in settings.json ....... Iam going to open issue in code and let them know about the API behavior. You can up vote and give ideas there. |
@wheelhot according to one of them he saw this thread and tried to remove trailing commas and all comments, but it still didn't work. The next day it worked. Maybe he needed to restart something, I don't know exactly. |
Visual Studio Code Version : 1.8.1
Code Sync Settings Version : 2.4.2
Operating System : Fedora 25
Occurs On: Startup and every time I try to run a sync command
Proxy Enabled: No
Right after I update it to the last version, I got this error message at realod and every time I try to run a sync command:
This is the message:
"Error Logged In Console (Help menu > Toggle Developer Tools). You may open an issue using 'Sync : Open Issue' from advance setting command."
I tryed to uninstall and install again, restart the computer and so on. =/
The text was updated successfully, but these errors were encountered: