{"action":"created","issue":{"url":"https://api.github.com/repos/Viphor/cpn2pn/issues/1","repository_url":"https://api.github.com/repos/Viphor/cpn2pn","labels_url":"https://api.github.com/repos/Viphor/cpn2pn/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Viphor/cpn2pn/issues/1/comments","events_url":"https://api.github.com/repos/Viphor/cpn2pn/issues/1/events","html_url":"https://github.com/Viphor/cpn2pn/issues/1","id":299119770,"number":1,"title":"TypeError: 'NoneType' object is not iterable","user":{"login":"stefanoperone","id":11172791,"avatar_url":"https://avatars3.githubusercontent.com/u/11172791?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanoperone","html_url":"https://github.com/stefanoperone","followers_url":"https://api.github.com/users/stefanoperone/followers","following_url":"https://api.github.com/users/stefanoperone/following{/other_user}","gists_url":"https://api.github.com/users/stefanoperone/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanoperone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanoperone/subscriptions","organizations_url":"https://api.github.com/users/stefanoperone/orgs","repos_url":"https://api.github.com/users/stefanoperone/repos","events_url":"https://api.github.com/users/stefanoperone/events{/privacy}","received_events_url":"https://api.github.com/users/stefanoperone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-21T20:37:42Z","updated_at":"2018-02-22T15:50:16Z","closed_at":"2018-02-22T15:50:16Z","author_association":"NONE","body":"Hi,\r\nI'm Stefano and  I would like to ask you a question. \r\nI folllowed your instructions, but I have this error:\r\n\r\n\r\n$ python3 convertCPN.py -v '/home/perone/Documenti/Example.pnml' \r\nTraceback (most recent call last):\r\n  File \"convertCPN.py\", line 111, in <module>\r\n    commands[arg]()\r\nKeyError: '/home/perone/Documenti/Example.pnml'\r\nDuring handling of the above exception, another exception occurred:\r\nTraceback (most recent call last):\r\n  File \"convertCPN.py\", line 113, in <module>\r\n    run()\r\n  File \"convertCPN.py\", line 32, in run\r\n    cpn = CPNModel(sys.argv[len(sys.argv) - 1])\r\n  File \"/home/perone/Documenti/cpn2pn-master/CPNParser/CPNModel.py\", line 225, in init\r\n    self.__parse_types()\r\n  File \"/home/perone/Documenti/cpn2pn-master/CPNParser/CPNModel.py\", line 235, in __parse_types\r\n    for decl in decls:\r\nTypeError: 'NoneType' object is not iterable\r\n\r\n\r\nIs it possible that the problem is .PNML file? What is the tool that you used to generate the CPN?\r\nBest reguards,\r\nStefano.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Viphor/cpn2pn/issues/comments/367724157","html_url":"https://github.com/Viphor/cpn2pn/issues/1#issuecomment-367724157","issue_url":"https://api.github.com/repos/Viphor/cpn2pn/issues/1","id":367724157,"user":{"login":"Viphor","id":14273319,"avatar_url":"https://avatars3.githubusercontent.com/u/14273319?v=4","gravatar_id":"","url":"https://api.github.com/users/Viphor","html_url":"https://github.com/Viphor","followers_url":"https://api.github.com/users/Viphor/followers","following_url":"https://api.github.com/users/Viphor/following{/other_user}","gists_url":"https://api.github.com/users/Viphor/gists{/gist_id}","starred_url":"https://api.github.com/users/Viphor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Viphor/subscriptions","organizations_url":"https://api.github.com/users/Viphor/orgs","repos_url":"https://api.github.com/users/Viphor/repos","events_url":"https://api.github.com/users/Viphor/events{/privacy}","received_events_url":"https://api.github.com/users/Viphor/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T15:50:16Z","updated_at":"2018-02-22T15:50:16Z","author_association":"OWNER","body":"I can see that it is built on another syntax than my engine. I follow the PNML standard for [symmetric nets](http://www.pnml.org/version-2009/grammar/symmetricnet.pntd) where colors are declared in /pnml/net/declaration/ and initial markings are defined in hlinitialMarking children. More information on the standard can be found [here](http://www.pnml.org/papers/pnnl76.pdf)\r\nHopefully this helps.\r\n\r\nBest regards\r\nAndreas"}}
{"actor":{"display_login":"Viphor"}}