{"action":"created","issue":{"url":"https://api.github.com/repos/GMLC-TDC/HELICS-src/issues/427","repository_url":"https://api.github.com/repos/GMLC-TDC/HELICS-src","labels_url":"https://api.github.com/repos/GMLC-TDC/HELICS-src/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/GMLC-TDC/HELICS-src/issues/427/comments","events_url":"https://api.github.com/repos/GMLC-TDC/HELICS-src/issues/427/events","html_url":"https://github.com/GMLC-TDC/HELICS-src/issues/427","id":348576355,"node_id":"MDU6SXNzdWUzNDg1NzYzNTU=","number":427,"title":"binding error on internal comms socket","user":{"login":"kdheepak","id":1813121,"node_id":"MDQ6VXNlcjE4MTMxMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1813121?v=4","gravatar_id":"","url":"https://api.github.com/users/kdheepak","html_url":"https://github.com/kdheepak","followers_url":"https://api.github.com/users/kdheepak/followers","following_url":"https://api.github.com/users/kdheepak/following{/other_user}","gists_url":"https://api.github.com/users/kdheepak/gists{/gist_id}","starred_url":"https://api.github.com/users/kdheepak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdheepak/subscriptions","organizations_url":"https://api.github.com/users/kdheepak/orgs","repos_url":"https://api.github.com/users/kdheepak/repos","events_url":"https://api.github.com/users/kdheepak/events{/privacy}","received_events_url":"https://api.github.com/users/kdheepak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"phlptp","id":20667153,"node_id":"MDQ6VXNlcjIwNjY3MTUz","avatar_url":"https://avatars0.githubusercontent.com/u/20667153?v=4","gravatar_id":"","url":"https://api.github.com/users/phlptp","html_url":"https://github.com/phlptp","followers_url":"https://api.github.com/users/phlptp/followers","following_url":"https://api.github.com/users/phlptp/following{/other_user}","gists_url":"https://api.github.com/users/phlptp/gists{/gist_id}","starred_url":"https://api.github.com/users/phlptp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phlptp/subscriptions","organizations_url":"https://api.github.com/users/phlptp/orgs","repos_url":"https://api.github.com/users/phlptp/repos","events_url":"https://api.github.com/users/phlptp/events{/privacy}","received_events_url":"https://api.github.com/users/phlptp/received_events","type":"User","site_admin":false},"assignees":[{"login":"phlptp","id":20667153,"node_id":"MDQ6VXNlcjIwNjY3MTUz","avatar_url":"https://avatars0.githubusercontent.com/u/20667153?v=4","gravatar_id":"","url":"https://api.github.com/users/phlptp","html_url":"https://github.com/phlptp","followers_url":"https://api.github.com/users/phlptp/followers","following_url":"https://api.github.com/users/phlptp/following{/other_user}","gists_url":"https://api.github.com/users/phlptp/gists{/gist_id}","starred_url":"https://api.github.com/users/phlptp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phlptp/subscriptions","organizations_url":"https://api.github.com/users/phlptp/orgs","repos_url":"https://api.github.com/users/phlptp/repos","events_url":"https://api.github.com/users/phlptp/events{/privacy}","received_events_url":"https://api.github.com/users/phlptp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-08-08T05:04:59Z","updated_at":"2018-08-08T17:01:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I'm unable to create a new broker in an interactive session repeatedly.\r\n\r\n```python\r\n# broker.py\r\nimport time\r\nimport helics as h\r\n\r\ndef main():\r\n    initstring = \"2 --name=mainbroker\"\r\n    # Create broker #\r\n    print(\"Creating Broker\")\r\n    broker = h.helicsCreateBroker(\"zmq\", \"\", initstring)\r\n    print(\"Created Broker\")\r\n\r\n    print(\"Checking if Broker is connected\")\r\n    isconnected = h.helicsBrokerIsConnected(broker)\r\n    print(\"Checked if Broker is connected\")\r\n\r\n    if isconnected == 1:\r\n        print(\"Broker created and connected\")\r\n\r\n    try:\r\n\r\n        while (h.helicsBrokerIsConnected(broker)):\r\n            time.sleep(1)\r\n\r\n    except KeyboardInterrupt:\r\n        h.helicsCloseLibrary()\r\n```\r\n\r\nIf I Ctrl+C this process, this results in the following the next time I try to call the `main` function.\r\n\r\n```\r\nIn [2]: from broker import main\r\nIn [3]: main()\r\nCreating Broker\r\nbinding error on internal comms socket\r\nCreated Broker\r\nChecking if Broker is connected\r\nChecked if Broker is connected\r\n\r\n```\r\n\r\ncc @bpalmintier "},"comment":{"url":"https://api.github.com/repos/GMLC-TDC/HELICS-src/issues/comments/411478722","html_url":"https://github.com/GMLC-TDC/HELICS-src/issues/427#issuecomment-411478722","issue_url":"https://api.github.com/repos/GMLC-TDC/HELICS-src/issues/427","id":411478722,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTQ3ODcyMg==","user":{"login":"phlptp","id":20667153,"node_id":"MDQ6VXNlcjIwNjY3MTUz","avatar_url":"https://avatars0.githubusercontent.com/u/20667153?v=4","gravatar_id":"","url":"https://api.github.com/users/phlptp","html_url":"https://github.com/phlptp","followers_url":"https://api.github.com/users/phlptp/followers","following_url":"https://api.github.com/users/phlptp/following{/other_user}","gists_url":"https://api.github.com/users/phlptp/gists{/gist_id}","starred_url":"https://api.github.com/users/phlptp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phlptp/subscriptions","organizations_url":"https://api.github.com/users/phlptp/orgs","repos_url":"https://api.github.com/users/phlptp/repos","events_url":"https://api.github.com/users/phlptp/events{/privacy}","received_events_url":"https://api.github.com/users/phlptp/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T17:01:04Z","updated_at":"2018-08-08T17:01:04Z","author_association":"CONTRIBUTOR","body":"Can you try the same test with a tcp and udp broker?"}}
{"actor":{"display_login":"phlptp"}}