{"action":"opened","issue":{"url":"https://api.github.com/repos/MJL85/mnet/issues/2","labels_url":"https://api.github.com/repos/MJL85/mnet/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/MJL85/mnet/issues/2/comments","events_url":"https://api.github.com/repos/MJL85/mnet/issues/2/events","html_url":"https://github.com/MJL85/mnet/issues/2","id":93610152,"number":2,"title":"cannot concatenate 'str' and 'int' objects","user":{"login":"zimage","id":382104,"avatar_url":"https://avatars.githubusercontent.com/u/382104?v=3","gravatar_id":"","url":"https://api.github.com/users/zimage","html_url":"https://github.com/zimage","followers_url":"https://api.github.com/users/zimage/followers","following_url":"https://api.github.com/users/zimage/following{/other_user}","gists_url":"https://api.github.com/users/zimage/gists{/gist_id}","starred_url":"https://api.github.com/users/zimage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimage/subscriptions","organizations_url":"https://api.github.com/users/zimage/orgs","repos_url":"https://api.github.com/users/zimage/repos","events_url":"https://api.github.com/users/zimage/events{/privacy}","received_events_url":"https://api.github.com/users/zimage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T19:33:51Z","updated_at":"2015-07-07T19:33:51Z","closed_at":null,"body":"$ ./mnet-graph.py -r x.x.x.x -d 20 -f foo.svg -t \"Network Diagram\" -c ./mnet.conf\r\nCouldn't import dot_parser, loading of dot files will not be possible.\r\nMNet-Graph v0.1\r\nWritten by Michael Laforest <mjlaforest@gmail.com>\r\n\r\n    Config file: ./mnet.conf\r\n      Root node: x.x.x.x\r\n    Output file: foo.svg\r\n    Crawl depth: 20\r\n  Diagram title: Network Diagram\r\n\r\n\r\n\r\nrouter-name (x.x.x.x)\r\n-----\r\n----- DEVICES\r\n-----\r\n      Name: router-name\r\n        IP: x.x.x.x\r\n  Platform: UNKNOWN\r\n   Routing: yes\r\n   OSPF ID: x.x.x.x\r\n   BGP LAS: 65001\r\n  HSRP Pri: None\r\n  HSRP VIP: None\r\n Stack Cnt: 0\r\n  VSS Mode: 0\r\nVSS Domain: None\r\n\r\n-----\r\n----- LINKS\r\n-----\r\n-----\r\n----- Summary\r\n-----\r\nDiscovered devices: 1\r\nDiscovered links:   0\r\nTraceback (most recent call last):\r\n  File \"./mnet-graph.py\", line 666, in <module>\r\n    main(sys.argv[1:])\r\n  File \"./mnet-graph.py\", line 492, in main\r\n    output_dot(opt_dot, opt_title)\r\n  File \"./mnet-graph.py\", line 661, in output_dot\r\n    output_func(dot_file)\r\n  File \"/Library/Python/2.7/site-packages/pydot.py\", line 1602, in <lambda>\r\n    lambda path, f=frmt, prog=self.prog : self.write(path, format=f, prog=prog))\r\n  File \"/Library/Python/2.7/site-packages/pydot.py\", line 1696, in write\r\n    dot_fd.write(self.create(prog, format))\r\n  File \"/Library/Python/2.7/site-packages/pydot.py\", line 1740, in create\r\n    self.write(tmp_name)\r\n  File \"/Library/Python/2.7/site-packages/pydot.py\", line 1694, in write\r\n    dot_fd.write(self.to_string())\r\n  File \"/Library/Python/2.7/site-packages/pydot.py\", line 1452, in to_string\r\n    graph.append( node.to_string()+'\\n' )\r\n  File \"/Library/Python/2.7/site-packages/pydot.py\", line 722, in to_string\r\n    node_attr.append( attr + '=' + quote_if_necessary(value) )\r\nTypeError: cannot concatenate 'str' and 'int' objects"}}