{"action":"created","issue":{"url":"https://api.github.com/repos/Hackafe/atom-sync-settings/issues/141","labels_url":"https://api.github.com/repos/Hackafe/atom-sync-settings/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/Hackafe/atom-sync-settings/issues/141/comments","events_url":"https://api.github.com/repos/Hackafe/atom-sync-settings/issues/141/events","html_url":"https://github.com/Hackafe/atom-sync-settings/issues/141","id":114227267,"number":141,"title":"Uncaught TypeError: Cannot read property '0' of undefined","user":{"login":"nilleb","id":3499719,"avatar_url":"https://avatars.githubusercontent.com/u/3499719?v=3","gravatar_id":"","url":"https://api.github.com/users/nilleb","html_url":"https://github.com/nilleb","followers_url":"https://api.github.com/users/nilleb/followers","following_url":"https://api.github.com/users/nilleb/following{/other_user}","gists_url":"https://api.github.com/users/nilleb/gists{/gist_id}","starred_url":"https://api.github.com/users/nilleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilleb/subscriptions","organizations_url":"https://api.github.com/users/nilleb/orgs","repos_url":"https://api.github.com/users/nilleb/repos","events_url":"https://api.github.com/users/nilleb/events{/privacy}","received_events_url":"https://api.github.com/users/nilleb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-30T08:57:17Z","updated_at":"2015-11-03T15:56:26Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\nOn Windows 8.1\r\n1. install the sync-settings plugin\r\n2. configure it to use an existing token/git id\r\n3. execute the command 'sync settings: restore'\r\n\r\n**Atom Version**: 1.1.0\r\n**System**: Unknown Windows Version\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 TypeError: Cannot read property '0' of undefined\r\n\r\n```\r\nAt /C:/Users/bellinsalarin/.atom/packages/sync-settings/lib/sync-settings.coffee:288\r\n\r\nTypeError: Cannot read property '0' of undefined\r\n    at file:///C:/Users/bellinsalarin/.atom/packages/sync-settings/lib/sync-settings.coffee:189:68\r\n    at C:\\Users\\bellinsalarin\\.atom\\packages\\sync-settings\\node_modules\\github\\api\\v3.0.0\\gists.js:342:17\r\n    at callCallback (C:\\Users\\bellinsalarin\\.atom\\packages\\sync-settings\\node_modules\\github\\index.js:743:17)\r\n    at IncomingMessage.<anonymous> (C:\\Users\\bellinsalarin\\.atom\\packages\\sync-settings\\node_modules\\github\\index.js:796:25)\r\n    at emitNone (events.js:72:20)\r\n    at IncomingMessage.emit (events.js:166:7)\r\n    at endReadableNT (_stream_readable.js:889:12)\r\n    at doNTCallback2 (node.js:438:9)\r\n    at process._tickCallback (node.js:352:17)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:22.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n  2x -1:19.5.0 core:move-down (atom-text-editor.editor.mini.is-focused)\r\n     -1:19 core:move-up (atom-text-editor.editor.mini.is-focused)\r\n     -1:17.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -1:17.7.0 sync-settings:restore (atom-text-editor.editor)\r\n     -0:12.4.0 sync-settings:check-backup (atom-pane.pane.active)\r\n     -0:03.2.0 sync-settings:restore (atom-pane.pane.active)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"one-light-ui\",\r\n      \"one-light-syntax\"\r\n    ]\r\n  },\r\n  \"sync-settings\": {\r\n    \"_analyticsUserId\": \"9b041667-9313-4293-a4b9-38d38e89813a\",\r\n    \"personalAccessToken\": \"579c96cea52b249933ccb5e70f123c7f190d2f4f\",\r\n    \"gistId\": \"9c18b3089454b0489a05\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nsync-settings, v0.6.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Hackafe/atom-sync-settings/issues/comments/153396913","html_url":"https://github.com/Hackafe/atom-sync-settings/issues/141#issuecomment-153396913","issue_url":"https://api.github.com/repos/Hackafe/atom-sync-settings/issues/141","id":153396913,"user":{"login":"nilleb","id":3499719,"avatar_url":"https://avatars.githubusercontent.com/u/3499719?v=3","gravatar_id":"","url":"https://api.github.com/users/nilleb","html_url":"https://github.com/nilleb","followers_url":"https://api.github.com/users/nilleb/followers","following_url":"https://api.github.com/users/nilleb/following{/other_user}","gists_url":"https://api.github.com/users/nilleb/gists{/gist_id}","starred_url":"https://api.github.com/users/nilleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilleb/subscriptions","organizations_url":"https://api.github.com/users/nilleb/orgs","repos_url":"https://api.github.com/users/nilleb/repos","events_url":"https://api.github.com/users/nilleb/events{/privacy}","received_events_url":"https://api.github.com/users/nilleb/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T15:56:26Z","updated_at":"2015-11-03T15:56:26Z","body":"Sorry for the delay. Even changing the visibility of the gist, I still get this error"}}