{"action":"created","issue":{"url":"https://api.github.com/repos/tjvr/kurt/issues/36","repository_url":"https://api.github.com/repos/tjvr/kurt","labels_url":"https://api.github.com/repos/tjvr/kurt/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/tjvr/kurt/issues/36/comments","events_url":"https://api.github.com/repos/tjvr/kurt/issues/36/events","html_url":"https://github.com/tjvr/kurt/issues/36","id":196659565,"number":36,"title":"Bug loading a watcher","user":{"login":"tjvr","id":639289,"avatar_url":"https://avatars.githubusercontent.com/u/639289?v=3","gravatar_id":"","url":"https://api.github.com/users/tjvr","html_url":"https://github.com/tjvr","followers_url":"https://api.github.com/users/tjvr/followers","following_url":"https://api.github.com/users/tjvr/following{/other_user}","gists_url":"https://api.github.com/users/tjvr/gists{/gist_id}","starred_url":"https://api.github.com/users/tjvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjvr/subscriptions","organizations_url":"https://api.github.com/users/tjvr/orgs","repos_url":"https://api.github.com/users/tjvr/repos","events_url":"https://api.github.com/users/tjvr/events{/privacy}","received_events_url":"https://api.github.com/users/tjvr/received_events","type":"User","site_admin":false},"labels":[{"id":1760982,"url":"https://api.github.com/repos/tjvr/kurt/labels/bug","name":"bug","color":"fc2929","default":true},{"id":311590962,"url":"https://api.github.com/repos/tjvr/kurt/labels/ready","name":"ready","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-20T12:22:22Z","updated_at":"2016-12-22T19:03:00Z","closed_at":null,"body":"Found via [scratch-corpus](https://github.com/scratch-tools/scratch-corpus), loading `Variable Names.sb2`:\r\n\r\n```\r\n/usr/local/lib/python2.7/site-packages/kurt-2.0.7-py2.7.egg/kurt/__init__.pyc in value(self)\r\n    951         \"\"\"\r\n    952         if self.kind == 'variable':\r\n--> 953             return self.target.variables[self.block.args[0]]\r\n    954         elif self.kind == 'list':\r\n    955             return self.target.lists[self.block.args[0]]\r\n\r\nKeyError: u'\\u062b\\u0645 \\u0646\\u0641\\u0633 \\u0633\\u0642\\u0637\\u062a \\u0648\\u0628\\u0627\\u0644\\u062a\\u062d\\u062f\\u064a\\u062f\\u060c'\r\n```\r\n\r\nLooks like the variable name in the watcher is being split on commas for some reason! https://github.com/tjvr/kurt/blob/master/kurt/scratch20/__init__.py#L240-L241 I have no idea why I did this.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tjvr/kurt/issues/comments/268867497","html_url":"https://github.com/tjvr/kurt/issues/36#issuecomment-268867497","issue_url":"https://api.github.com/repos/tjvr/kurt/issues/36","id":268867497,"user":{"login":"nathan","id":1578238,"avatar_url":"https://avatars.githubusercontent.com/u/1578238?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan","html_url":"https://github.com/nathan","followers_url":"https://api.github.com/users/nathan/followers","following_url":"https://api.github.com/users/nathan/following{/other_user}","gists_url":"https://api.github.com/users/nathan/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan/subscriptions","organizations_url":"https://api.github.com/users/nathan/orgs","repos_url":"https://api.github.com/users/nathan/repos","events_url":"https://api.github.com/users/nathan/events{/privacy}","received_events_url":"https://api.github.com/users/nathan/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T19:03:00Z","updated_at":"2016-12-22T19:03:00Z","body":"> I have no idea why I did this.\r\n\r\nThe [`senseVideoMotion` watcher](https://wiki.scratch.mit.edu/wiki/Scratch_File_Format_(2.0)#StageMonitor_objects)."}}
{"actor":{"display_login":"nathan"}}