{"action":"created","issue":{"url":"https://api.github.com/repos/behavior3/behavior3py/issues/3","repository_url":"https://api.github.com/repos/behavior3/behavior3py","labels_url":"https://api.github.com/repos/behavior3/behavior3py/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/behavior3/behavior3py/issues/3/comments","events_url":"https://api.github.com/repos/behavior3/behavior3py/issues/3/events","html_url":"https://github.com/behavior3/behavior3py/issues/3","id":265141844,"number":3,"title":"Can't load tree from editor json","user":{"login":"DIGarnier","id":26147736,"avatar_url":"https://avatars3.githubusercontent.com/u/26147736?v=4","gravatar_id":"","url":"https://api.github.com/users/DIGarnier","html_url":"https://github.com/DIGarnier","followers_url":"https://api.github.com/users/DIGarnier/followers","following_url":"https://api.github.com/users/DIGarnier/following{/other_user}","gists_url":"https://api.github.com/users/DIGarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/DIGarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DIGarnier/subscriptions","organizations_url":"https://api.github.com/users/DIGarnier/orgs","repos_url":"https://api.github.com/users/DIGarnier/repos","events_url":"https://api.github.com/users/DIGarnier/events{/privacy}","received_events_url":"https://api.github.com/users/DIGarnier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-13T01:31:01Z","updated_at":"2018-02-06T23:13:18Z","closed_at":null,"author_association":"NONE","body":"Passing trees made with the online editor containing decorators outputs this: \r\nI'm using python 2.7\r\n\r\n```\r\nTraceback (most recent call last):  File \"test.py\", line 10, in <module>    tree.load(data_tree)\r\n  File \"/home/b3/core/behaviortree.py\", line 35, in load\r\n    node = cls()\r\nTypeError: __init__() missing 1 required positional argument: 'child'\r\n```\r\n\r\nThe tree in question is this simple one:\r\n\r\n![tree](https://user-images.githubusercontent.com/26147736/31526365-53a2ddb8-af94-11e7-9bbf-ae26e92e1538.jpg)\r\n\r\nIt seems like the node's constructor is always being called without children even if it needs one.\r\n"},"comment":{"url":"https://api.github.com/repos/behavior3/behavior3py/issues/comments/363598189","html_url":"https://github.com/behavior3/behavior3py/issues/3#issuecomment-363598189","issue_url":"https://api.github.com/repos/behavior3/behavior3py/issues/3","id":363598189,"user":{"login":"DIGarnier","id":26147736,"avatar_url":"https://avatars3.githubusercontent.com/u/26147736?v=4","gravatar_id":"","url":"https://api.github.com/users/DIGarnier","html_url":"https://github.com/DIGarnier","followers_url":"https://api.github.com/users/DIGarnier/followers","following_url":"https://api.github.com/users/DIGarnier/following{/other_user}","gists_url":"https://api.github.com/users/DIGarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/DIGarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DIGarnier/subscriptions","organizations_url":"https://api.github.com/users/DIGarnier/orgs","repos_url":"https://api.github.com/users/DIGarnier/repos","events_url":"https://api.github.com/users/DIGarnier/events{/privacy}","received_events_url":"https://api.github.com/users/DIGarnier/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T23:13:18Z","updated_at":"2018-02-06T23:13:18Z","author_association":"NONE","body":"The workaround would be to build your tree by hand, which I did and it works. I have a project on my github you can peruse if you need inspiration!"}}
{"actor":{"display_login":"DIGarnier"}}