{"action":"closed","issue":{"url":"https://api.github.com/repos/softdevteam/eco/issues/8","labels_url":"https://api.github.com/repos/softdevteam/eco/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/softdevteam/eco/issues/8/comments","events_url":"https://api.github.com/repos/softdevteam/eco/issues/8/events","html_url":"https://github.com/softdevteam/eco/issues/8","id":109479396,"number":8,"title":"Show Stategraph raises Python exception","user":{"login":"snim2","id":97674,"avatar_url":"https://avatars.githubusercontent.com/u/97674?v=3","gravatar_id":"","url":"https://api.github.com/users/snim2","html_url":"https://github.com/snim2","followers_url":"https://api.github.com/users/snim2/followers","following_url":"https://api.github.com/users/snim2/following{/other_user}","gists_url":"https://api.github.com/users/snim2/gists{/gist_id}","starred_url":"https://api.github.com/users/snim2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snim2/subscriptions","organizations_url":"https://api.github.com/users/snim2/orgs","repos_url":"https://api.github.com/users/snim2/repos","events_url":"https://api.github.com/users/snim2/events{/privacy}","received_events_url":"https://api.github.com/users/snim2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/softdevteam/eco/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T12:11:14Z","updated_at":"2015-11-19T16:12:38Z","closed_at":"2015-11-19T16:12:38Z","body":"This issue report is based on the code given in `TUTORIAL`, which Eco shows to be correctly parsed.\r\n\r\nSteps to reproduce:\r\n\r\n  1. Reproduce the code from `TUTORIAL`\r\n  2. Click on **View** in the menu\r\n  3. Select **StateGraph** from the drop-down\r\n  4. Click on **Show whole graph**\r\n\r\nTraceback is:\r\n\r\n```python\r\n$ Traceback (most recent call last):\r\n  File \"eco.py\", line 265, in showWholeGraph\r\n    self.viewer.create_pydot_graph(editor.tm.get_mainparser().graph)\r\n  File \"/home/snim2/Desktop/working/snim2/eco/lib/eco/viewer.py\", line 170, in create_pydot_graph\r\n    if isinstance(node, AstNode):\r\nAttributeError: 'NoneType' object has no attribute 'state_sets'\r\n```"}}