{"action":"created","issue":{"url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization/issues/7","repository_url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization","labels_url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization/issues/7/comments","events_url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization/issues/7/events","html_url":"https://github.com/ros-visualization/executive_smach_visualization/issues/7","id":38213125,"node_id":"MDU6SXNzdWUzODIxMzEyNQ==","number":7,"title":"smach_viewer does not work in indigo ","user":{"login":"asundaresan","id":8128587,"node_id":"MDQ6VXNlcjgxMjg1ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/8128587?v=4","gravatar_id":"","url":"https://api.github.com/users/asundaresan","html_url":"https://github.com/asundaresan","followers_url":"https://api.github.com/users/asundaresan/followers","following_url":"https://api.github.com/users/asundaresan/following{/other_user}","gists_url":"https://api.github.com/users/asundaresan/gists{/gist_id}","starred_url":"https://api.github.com/users/asundaresan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asundaresan/subscriptions","organizations_url":"https://api.github.com/users/asundaresan/orgs","repos_url":"https://api.github.com/users/asundaresan/repos","events_url":"https://api.github.com/users/asundaresan/events{/privacy}","received_events_url":"https://api.github.com/users/asundaresan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2014-07-18T21:20:10Z","updated_at":"2018-07-22T07:33:42Z","closed_at":null,"author_association":"NONE","body":"It seems xdot api has changed in Ubuntu 14.04/ Indigo and this breaks smach_viewer.py. The details are in the following question I posted on answers.ros.org. \n\nhttp://answers.ros.org/question/186955/smach_viewer-does-not-work-in-indigo/\n\nThe error message when I run smach_viewer.py is as follows. \n\n[aravind@jeeves simple_smach]$ rosrun smach_viewer smach_viewer.py \nException in thread Thread-6:\nTraceback (most recent call last):\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\n    self.run()\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\n    self.__target(_self.__args, *_self.__kwargs)\n  File \"/opt/ros/indigo/lib/smach_viewer/smach_viewer.py\", line 848, in _update_graph\n    self.set_dotcode(dotstr,zoom=False)\n  File \"/opt/ros/indigo/lib/smach_viewer/smach_viewer.py\", line 866, in set_dotcode\n    if self.widget.set_dotcode(dotcode, None):\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/wxxdot.py\", line 455, in set_dotcode\n    self.set_xdotcode(xdotcode)\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/wxxdot.py\", line 483, in set_xdotcode\n    self.graph = parser.parse()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 1146, in parse\n    DotParser.parse(self)\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 951, in parse\n    self.parse_graph()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 960, in parse_graph\n    self.parse_stmt()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 993, in parse_stmt\n    self.parse_subgraph()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 974, in parse_subgraph\n    self.parse_stmt()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 993, in parse_stmt\n    self.parse_subgraph()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 974, in parse_subgraph\n    self.parse_stmt()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 1009, in parse_stmt\n    self.handle_node(id, attrs)\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 1120, in handle_node\n    shapes.extend(parser.parse())\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 608, in parse\n    points = self.read_polygon()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 503, in read_polygon\n    x, y = self.read_point()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 486, in read_point\n    x = self.read_number()\n  File \"/opt/ros/indigo/lib/python2.7/dist-packages/xdot/xdot.py\", line 480, in read_number\n    return int(self.read_code())\nValueError: invalid literal for int() with base 10: '79.92'\n"},"comment":{"url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization/issues/comments/406847276","html_url":"https://github.com/ros-visualization/executive_smach_visualization/issues/7#issuecomment-406847276","issue_url":"https://api.github.com/repos/ros-visualization/executive_smach_visualization/issues/7","id":406847276,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg0NzI3Ng==","user":{"login":"knorth55","id":9300063,"node_id":"MDQ6VXNlcjkzMDAwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/9300063?v=4","gravatar_id":"","url":"https://api.github.com/users/knorth55","html_url":"https://github.com/knorth55","followers_url":"https://api.github.com/users/knorth55/followers","following_url":"https://api.github.com/users/knorth55/following{/other_user}","gists_url":"https://api.github.com/users/knorth55/gists{/gist_id}","starred_url":"https://api.github.com/users/knorth55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knorth55/subscriptions","organizations_url":"https://api.github.com/users/knorth55/orgs","repos_url":"https://api.github.com/users/knorth55/repos","events_url":"https://api.github.com/users/knorth55/events{/privacy}","received_events_url":"https://api.github.com/users/knorth55/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T07:33:42Z","updated_at":"2018-07-22T07:33:42Z","author_association":"NONE","body":"@k-okada thank you. it works!"}}
{"actor":{"display_login":"knorth55"}}