{"action":"created","issue":{"url":"https://api.github.com/repos/atom-community/sync-settings/issues/152","repository_url":"https://api.github.com/repos/atom-community/sync-settings","labels_url":"https://api.github.com/repos/atom-community/sync-settings/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/atom-community/sync-settings/issues/152/comments","events_url":"https://api.github.com/repos/atom-community/sync-settings/issues/152/events","html_url":"https://github.com/atom-community/sync-settings/issues/152","id":121285066,"number":152,"title":"Uncaught SyntaxError: Unexpected token g","user":{"login":"clayreimann","id":930039,"avatar_url":"https://avatars.githubusercontent.com/u/930039?v=3","gravatar_id":"","url":"https://api.github.com/users/clayreimann","html_url":"https://github.com/clayreimann","followers_url":"https://api.github.com/users/clayreimann/followers","following_url":"https://api.github.com/users/clayreimann/following{/other_user}","gists_url":"https://api.github.com/users/clayreimann/gists{/gist_id}","starred_url":"https://api.github.com/users/clayreimann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayreimann/subscriptions","organizations_url":"https://api.github.com/users/clayreimann/orgs","repos_url":"https://api.github.com/users/clayreimann/repos","events_url":"https://api.github.com/users/clayreimann/events{/privacy}","received_events_url":"https://api.github.com/users/clayreimann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-09T16:28:04Z","updated_at":"2016-04-28T19:03:06Z","closed_at":"2016-01-13T18:40:21Z","body":"1. Sync from remote backup\r\n\r\n**Atom Version**: 1.2.4\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [sync-settings](https://github.com/Hackafe/atom-sync-settings) package, v0.6.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught SyntaxError: Unexpected token g\r\n\r\n```\r\nAt file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fclay%2Fgithub%2Fgithub-js%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%7D%5D%2C%22windowInitializationScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Finitialize-application-window.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22appVersion%22%3A%221.2.4%22%2C%22initialPaths%22%3A%5B%22%2FUsers%2Fclay%2Fgithub%2Fgithub-js%22%5D%7D:1\r\n\r\nSyntaxError: Unexpected token g\r\n    at Object.parse (native)\r\n    at /Users/clay/.atom/packages/sync-settings/lib/sync-settings.coffee:240:28\r\n    at Object.proto.sendError (/Users/clay/.atom/packages/sync-settings/node_modules/github/api/v3.0.0/index.js:32:13)\r\n    at /Users/clay/.atom/packages/sync-settings/node_modules/github/api/v3.0.0/gists.js:315:29\r\n    at callCallback (/Users/clay/.atom/packages/sync-settings/node_modules/github/index.js:743:17)\r\n    at ClientRequest.<anonymous> (/Users/clay/.atom/packages/sync-settings/node_modules/github/index.js:809:17)\r\n    at emitOne (events.js:77:13)\r\n    at ClientRequest.emit (events.js:169:7)\r\n    at TLSSocket.socketErrorListener (_http_client.js:259:9)\r\n    at emitOne (events.js:77:13)\r\n    at TLSSocket.emit (events.js:169:7)\r\n    at connectErrorNT (net.js:993:8)\r\n    at doNTCallback2 (node.js:441:9)\r\n    at process._tickCallback (node.js:355:17)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:53.2.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)\r\n     -0:52.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:51.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -0:48.7.0 core:move-down (atom-text-editor.editor.mini.is-focused)\r\n     -0:47.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:47.9.0 sync-settings:restore (atom-text-editor.editor)\r\n     -0:38.6.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n  6x -0:35.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)\r\n     -0:33.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:33.6.0 sync-settings:restore (atom-text-editor.editor)\r\n     -0:31.3.0 pane:show-previous-item (atom-text-editor.editor.is-focused)\r\n  2x -0:30.7.0 pane:show-next-item (atom-text-editor.editor.is-focused)\r\n     -0:29.2.0 pane:show-previous-item (atom-text-editor.editor.is-focused)\r\n     -0:28.6.0 settings-view:open (atom-text-editor.editor.is-focused)\r\n     -0:22.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"sepia-syntax\"\r\n    ],\r\n    \"ignoredNames\": [\r\n      \".git\",\r\n      \".idea\",\r\n      \".DS_Store\",\r\n      \"test-output\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"webbox-color\",\r\n      \"jshint\",\r\n      \"atom-color-highlight\",\r\n      \"git-plus\",\r\n      \"linter-coffeelint\",\r\n      \"autocomplete-atom-api\",\r\n      \"language-sql\",\r\n      \"git-history\"\r\n    ],\r\n    \"audioBeep\": false,\r\n    \"packagesWithKeymapsDisabled\": [\r\n      \"advanced-new-file\"\r\n    ]\r\n  },\r\n  \"sync-settings\": {\r\n    \"gistId\": \"3552f6d6c54c3bb00346\",\r\n    \"personalAccessToken\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\r\n    \"_analyticsUserId\": \"e3772061-f607-4391-87e7-6275dcea3a64\",\r\n    \"_lastBackupHash\": \"0405dfda8810cc969ae0c1610902a726a510cbc1\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.28.19\r\natom-handlebars, v1.2.0\r\ncucumber, v0.5.0\r\ndocblockr, v0.7.3\r\neditorconfig, v1.2.2\r\nfile-icons, v1.6.13\r\ngit-diff-details, v0.21.0\r\nhighlight-line, v0.11.0\r\nhighlight-selected, v0.11.1\r\nlanguage-bats, v0.1.0\r\nlanguage-jade, v0.6.2\r\nlanguage-nginx, v0.6.1\r\nlinter, v1.11.3\r\nlinter-eslint, v5.2.5\r\nlinter-jscs, v3.2.0\r\nlinter-jshint, v1.2.1\r\nlinter-jsxhint, v0.1.2\r\nlive-archive, v0.1.15\r\npigments, v0.19.1\r\nreact, v0.12.10\r\nsepia-syntax, v1.0.5\r\nset-syntax, v0.3.0\r\nsymbols-tree-view, v0.10.1\r\nsync-settings, v0.6.0\r\ntool-bar, v0.1.9\r\nwordcount, v2.4.1\r\n\r\n# Dev\r\ngit-diff-details, v0.21.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/atom-community/sync-settings/issues/comments/215529780","html_url":"https://github.com/atom-community/sync-settings/issues/152#issuecomment-215529780","issue_url":"https://api.github.com/repos/atom-community/sync-settings/issues/152","id":215529780,"user":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T19:03:06Z","updated_at":"2016-04-28T19:03:06Z","body":"@mildfuzz In the above error report you have shared your `personalAccessToken`. You must revoke it to prevent abuse."}}