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

Sync "Not Found" #343

Closed
DonSanto opened this issue Jun 16, 2017 · 26 comments
Closed

Sync "Not Found" #343

DonSanto opened this issue Jun 16, 2017 · 26 comments
Labels
Milestone

Comments

@DonSanto
Copy link

Visual Studio Code Version : 1.13.1
Code Settings Sync Version : 2.8.1
Operating System : macOS Sierra 10.12.4
Occurs On: Download and Upload
Proxy Enabled: No
GIst Id: Any Gist ID (New, Old)

When trying to Download the Gist settings, I just get the error message Not Found:

image

The Gist token is not saved to the settings. But even if I add it manually I still get that same error message.

@shanalikhan
Copy link
Owner

what is the exception in the developer console. Paste image

@DonSanto
Copy link
Author

If you are referring to the Debug console I get no output. Otherwise, I would like to know how to open the Developer console.

@shanalikhan
Copy link
Owner

Help > Toggle Developer tool > Console

@DonSanto
Copy link
Author

Perfect, thanks!

This is what I get
image


@shanalikhan
Copy link
Owner

Try this :
#177 (comment)

@sherlockednguyen
Copy link

sherlockednguyen commented Jun 19, 2017

It not work for me also, got the same error with @DonSanto

After I try #177 then It still get the same error.

My VS code version is 1.13.1

@DonSanto
Copy link
Author

No, that did not help att all.

@CamilleHbp
Copy link

CamilleHbp commented Jun 21, 2017

Hello, same error here. Here is the log.
And the solution #177 did not work as well.

messageService.ts:125
Not Found
e.doShow @ messageService.ts:125
e.show @ messageService.ts:104
(anonymous) @ mainThreadMessageService.ts:64
n.Class.derive._oncancel @ winjs.base.raw.js:1641
t.showMessage @ mainThreadMessageService.ts:34
t.$showMessage @ mainThreadMessageService.ts:28
e.handle @ abstractThreadService.ts:34
s @ ipcRemoteCom.ts:275
f @ ipcRemoteCom.ts:231
_combinedTickCallback @ internal/process/next_tick.js:67
_tickCallback @ internal/process/next_tick.js:98

extensionHost.ts:293
[Extension Host] {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
d.logExtensionHostMessage @ extensionHost.ts:293
(anonymous) @ extensionHost.ts:147
emitTwo @ events.js:106
emit @ events.js:191
process.nextTick @ internal/child_process.js:752
_combinedTickCallback @ internal/process/next_tick.js:67
_tickCallback @ internal/process/next_tick.js:98

@ericop
Copy link

ericop commented Jun 27, 2017

I got this same error on Windows 10 , VS code version is 1.13.1, today after installing https://marketplace.visualstudio.com/items?itemName=johnpapa.angular-essentials . I did an uninstall all (as it is a bucket extension for several others) but it is still giving "Error Not Found".

I then tried to uninstall and reinstall Code Settings Sync extension but again I'm still getting "Error Not Found". I'm uninstalling this extension until this bug is fixed as it's completely non-functional. @shanalikhan this is a super cool extension and I'm glad you've labored away at making it what it is. May you be victorious in solving this bug as well.

@gunnim
Copy link

gunnim commented Jul 1, 2017

Same error "Not Found"
I also get the same output in my developer console, but it ends with
[Extension Host] Sync : Connected with user : 'gunnim'

on windows 10, vscode 1.13.1

@GStarSade
Copy link

I am also getting this error. I've look on other posts and it says "well you've likely got the wrong gist". I haven't as I copied it straight from the source after resetting it and yes I did wait a few hours till trying it again. I tried restting the extension and uninstalling it and reinstalling the extension. No effect I am still getting Error Not Found.

I am on Linux Ubuntu 17.04. The following is the error message from the Dev Console

extensionHost.ts:293 [Extension Host] {"message":"Not Found",
"documentation_url":"https://developer.github.com/v3"}

d.logExtensionHostMessage @ extensionHost.ts:293
(anonymous) @ extensionHost.ts:147
emitTwo @ events.js:106
emit @ events.js:191
process.nextTick @ internal/child_process.js:752
_combinedTickCallback @ internal/process/next_tick.js:67
_tickCallback @ internal/process/next_tick.js:98
messageService.ts:125 Not Found

e.doShow @ messageService.ts:125
e.show @ messageService.ts:104
t.showMessage @ mainThreadMessageService.ts:64
n.Class.derive._oncancel @ winjs.base.raw.js:1641
t.showMessage @ mainThreadMessageService.ts:34
t.$showMessage @ mainThreadMessageService.ts:28
e.handle @ abstractThreadService.ts:34
s @ ipcRemoteCom.ts:275
f @ ipcRemoteCom.ts:231
_combinedTickCallback @ internal/process/next_tick.js:67
_tickCallback @ internal/process/next_tick.js:98
```

@shanalikhan
Copy link
Owner

can you guys try with the latest version ? and let me know

@gunnim
Copy link

gunnim commented Jul 2, 2017

Got 2.8.2 now, same error.
this is my settings file
{"ignoreUploadFiles":["projects.json","projects_cache_git.json"],"ignoreUploadFolders":["workspaceStorage"],"replaceCodeSettings":{},"gistDescription":"Visual Studio Code Settings Sync Gist","version":282,"token":""}

and this was output in vscode developer tools

image

@antonio-rodrigues
Copy link

antonio-rodrigues commented Jul 4, 2017

Code Settings Sync : 2.8.2
Visual Studio Code : 1.13.1
Operating System: macOS Sierra 10.12.5
(vscode) Shift + Cmd + P: Sync: Download settings and Update / Upload settings
Sync settings:
{"ignoreUploadFiles":["projects.json","projects_cache_git.json"],"ignoreUploadFolders":["workspaceStorage"],"replaceCodeSettings":{},"gistDescription":"Visual Studio Code Settings Sync Gist","version":282,"token":"***********************************62bf1"}

All worked okay - no errors found.

Thank you!

@mizutoki79
Copy link

mizutoki79 commented Jul 4, 2017

[Code Setting Sync]
Version : 2.8.2
[Visual Studio Code]
Version : 1.13.1
Commit : 379d2efb5539b09112c793d3d9a413017d736f89
[OS]
Edition Windows 10 Pro
Version 1703
OS build 15063.413
and
macOS Sierra
version 10.12.5

Working for Me.
I check both Windows and Mac. I entered my PAToken to sync.gist by mistake.
Try below :
Ctrl + , (command + ,) -> setting.json -> "sync.gist": "<Enter your GIST ID here>" -> Ctrl + Shift + P -> Sync : Download settings
You need GIST ID, NOT TOKEN. Check your setting.json.
You don't need change syncLocalSetting.json.

You can confirm your GIST ID by the URL of your GIST. https://gist.github.com/<your account name>/<GIST ID>

Thank you.

@tangdaohai
Copy link

@mizutoki79 this right a way, It's working, thanks

@gunnim
Copy link

gunnim commented Jul 9, 2017

Yeah user error on my part as well...

@BjarkeCK
Copy link

I'm getting the same error as @gunnim
https://jumpshare.com/v/TwPgvGrUw5McsBZgGd60

Here are my settings:
{ "sync.gist": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Generated this a thousands times, tried activating everything on the access token, no luck. "sync.lastUpload": "", "sync.autoDownload": false, "sync.autoUpload": false, "sync.lastDownload": "", "sync.forceDownload": false, "sync.anonymousGist": false, "sync.host": "", "sync.pathPrefix": "", "sync.quietSync": false, "sync.askGistName": false }

@shiamalon
Copy link

@mizutoki79 solved my issue, I think this is not super clear on the plugin instructions. thanks for the help.

@yalishizhude
Copy link

@mizutoki79 It works for me.
Please fix the bug ~ @shanalikhan

@RemyDuijkeren
Copy link

@mizutoki79 solved it also for me. I was adding everytime the token. Now used the GistID in the URL and I could download my settings.

Plugin instructions are not clear in this.

@dankini
Copy link

dankini commented Aug 18, 2017

@mizutoki79 solved for me too.

Existing screenshot in instructions kind of imply its the Token that should be entered. Should be edited with screenshot showing how to grab Gist ID from URL. Great extension otherwise.

@shanalikhan
Copy link
Owner

@DonSanto have you checked this solution of @mizutoki79 ?
#343 (comment)

I will add line to view the readme to check the uploaded gist by URL

@shanalikhan shanalikhan added this to the v2.8.3 milestone Aug 18, 2017
shanalikhan added a commit that referenced this issue Aug 20, 2017
@shanalikhan
Copy link
Owner

I'm closing this issue.
Documentation updated.
This message is also changed to let user know the URL from which he can verify the gist

@DonSanto
Copy link
Author

Yes, finally I've got this working. Thanks @mizutoki79.

The instructions still are not clear. Please remove the image where you highlight the token ID. it is really confusing. Thanks.

@ksmithut
Copy link

I'm still running into this error, and the gist id is definitely correct. I'm definitely using the gist id:

"sync.gist": "********",

then gist.github.com/******** redirects to my gist. But still getting the not found error. It is a secret gist, not sure if that makes a difference...

Repository owner locked as resolved and limited conversation to collaborators Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests