{"action":"created","issue":{"url":"https://api.github.com/repos/apas/pastery/issues/9","repository_url":"https://api.github.com/repos/apas/pastery","labels_url":"https://api.github.com/repos/apas/pastery/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/apas/pastery/issues/9/comments","events_url":"https://api.github.com/repos/apas/pastery/issues/9/events","html_url":"https://github.com/apas/pastery/issues/9","id":182559974,"number":9,"title":"[Bug] Decoding errors","user":{"login":"Kristinita","id":17247677,"avatar_url":"https://avatars.githubusercontent.com/u/17247677?v=3","gravatar_id":"","url":"https://api.github.com/users/Kristinita","html_url":"https://github.com/Kristinita","followers_url":"https://api.github.com/users/Kristinita/followers","following_url":"https://api.github.com/users/Kristinita/following{/other_user}","gists_url":"https://api.github.com/users/Kristinita/gists{/gist_id}","starred_url":"https://api.github.com/users/Kristinita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kristinita/subscriptions","organizations_url":"https://api.github.com/users/Kristinita/orgs","repos_url":"https://api.github.com/users/Kristinita/repos","events_url":"https://api.github.com/users/Kristinita/events{/privacy}","received_events_url":"https://api.github.com/users/Kristinita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-12T15:40:31Z","updated_at":"2016-11-21T11:35:06Z","closed_at":null,"body":"### Summary\n\nI can not begin use Pastery plugin.\n### Expected behavior\n\nSuccessful paste my code on Pastery and link to Pastery URL in my clipboard.\n### Actual behavior\n\n``` python\ncommand: pastery {}\nTrying to post with Python lib\nTrying to post with CURL\nTraceback (most recent call last):\n  File \"pastery in E:\\Sublime Text 3\\Data\\Installed Packages\\Pastery.sublime-package\", line 23, in run\nTypeError: string argument without an encoding\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"./python3.3/json/decoder.py\", line 367, in raw_decode\nStopIteration\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"E:\\Sublime Text 3\\sublime_plugin.py\", line 818, in run_\n    return self.run(edit)\n  File \"pastery in E:\\Sublime Text 3\\Data\\Installed Packages\\Pastery.sublime-package\", line 40, in run\n  File \"./python3.3/json/__init__.py\", line 316, in loads\n  File \"./python3.3/json/decoder.py\", line 351, in decode\n  File \"./python3.3/json/decoder.py\", line 369, in raw_decode\nValueError: No JSON object could be decoded\n```\n### Steps to reproduce\n\nThe problem is reproduced for me in a version of Sublime Text without plugins and user settings.\n\nI log in in Pastery → I paste my API key in my `User\\Pastery.sublime-settings` file. I select any code (tested on HTML, CSS and Python codes) → <kbd>Ctrl+Alt+C</kbd> → I get stack trace.\n### Environment\n\n**Operating system and version:**\nWindows 10.0.14393\n**Sublime Text:**\nBuild 3126\n\nThanks.\n"},"comment":{"url":"https://api.github.com/repos/apas/pastery/issues/comments/261913842","html_url":"https://github.com/apas/pastery/issues/9#issuecomment-261913842","issue_url":"https://api.github.com/repos/apas/pastery/issues/9","id":261913842,"user":{"login":"skorokithakis","id":23648,"avatar_url":"https://avatars.githubusercontent.com/u/23648?v=3","gravatar_id":"","url":"https://api.github.com/users/skorokithakis","html_url":"https://github.com/skorokithakis","followers_url":"https://api.github.com/users/skorokithakis/followers","following_url":"https://api.github.com/users/skorokithakis/following{/other_user}","gists_url":"https://api.github.com/users/skorokithakis/gists{/gist_id}","starred_url":"https://api.github.com/users/skorokithakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorokithakis/subscriptions","organizations_url":"https://api.github.com/users/skorokithakis/orgs","repos_url":"https://api.github.com/users/skorokithakis/repos","events_url":"https://api.github.com/users/skorokithakis/events{/privacy}","received_events_url":"https://api.github.com/users/skorokithakis/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T11:35:06Z","updated_at":"2016-11-21T11:35:06Z","body":"Fantastic, thanks."}}
{"actor":{"display_login":"skorokithakis"}}