{"action":"created","issue":{"url":"https://api.github.com/repos/openmul/openmul/issues/11","labels_url":"https://api.github.com/repos/openmul/openmul/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/openmul/openmul/issues/11/comments","events_url":"https://api.github.com/repos/openmul/openmul/issues/11/events","html_url":"https://github.com/openmul/openmul/issues/11","id":58342430,"number":11,"title":"Mulnbapi issue","user":{"login":"openmul","id":7834086,"avatar_url":"https://avatars.githubusercontent.com/u/7834086?v=3","gravatar_id":"","url":"https://api.github.com/users/openmul","html_url":"https://github.com/openmul","followers_url":"https://api.github.com/users/openmul/followers","following_url":"https://api.github.com/users/openmul/following{/other_user}","gists_url":"https://api.github.com/users/openmul/gists{/gist_id}","starred_url":"https://api.github.com/users/openmul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmul/subscriptions","organizations_url":"https://api.github.com/users/openmul/orgs","repos_url":"https://api.github.com/users/openmul/repos","events_url":"https://api.github.com/users/openmul/events{/privacy}","received_events_url":"https://api.github.com/users/openmul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dipjyoti","id":4058397,"avatar_url":"https://avatars.githubusercontent.com/u/4058397?v=3","gravatar_id":"","url":"https://api.github.com/users/dipjyoti","html_url":"https://github.com/dipjyoti","followers_url":"https://api.github.com/users/dipjyoti/followers","following_url":"https://api.github.com/users/dipjyoti/following{/other_user}","gists_url":"https://api.github.com/users/dipjyoti/gists{/gist_id}","starred_url":"https://api.github.com/users/dipjyoti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dipjyoti/subscriptions","organizations_url":"https://api.github.com/users/dipjyoti/orgs","repos_url":"https://api.github.com/users/dipjyoti/repos","events_url":"https://api.github.com/users/dipjyoti/events{/privacy}","received_events_url":"https://api.github.com/users/dipjyoti/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-20T11:53:14Z","updated_at":"2015-02-26T07:03:14Z","closed_at":null,"body":"Reported by Антон Ефлюков\r\n\r\nDuring use, the module \"mulnbapi\" error occurs \"AttributeError: 'SwigPyObject' object has no attribute 'switch_id'\". What could be the reason? \r\n\r\nLog: \r\n2015/02/15 18:40:16 nbapi: nbapi_module_init \r\n2015/02/15 18:40:16 nbapi: [mul-core] service instance created \r\n2015/02/15 18:40:16 nbapi: mul_route_service_get: \r\nshm_open: Success \r\n2015/02/15 18:40:16 nbapi: No such service [mul-fab-cli] \r\n2015/02/15 18:40:16 nbapi: nbapi_module_init: Mul fab service instantiation failed \r\n2015/02/15 18:40:16 nbapi: [mul-tr] service instance created \r\n2015/02/15 18:40:16 nbapi: No such service [mul-makdi] \r\n2015/02/15 18:40:16 nbapi: nbapi_module_init: Mul makdi service instantiation failed \r\n2015/02/15 18:40:16 nbapi: [infra] switch 0x1 add \r\n2015/02/15 18:40:18 nbapi: INFO [tornado] preparing http server \r\n2015/02/15 18:40:18 nbapi: INFO [tornado] Starting API server on port 8181 \r\n2015/02/15 18:40:36 BaseHandler DEBUG pattern: ^0x[0-9a-fA-F]+/limit$, url: \r\n2015/02/15 18:40:36 BaseHandler DEBUG pattern: ^$, url: \r\n2015/02/15 18:40:36 SwitchHandler DEBUG matched func: get_switch_all, args: (None, None) \r\n2015/02/15 18:40:36 tornado.application ERROR Uncaught exception GET /1.0/topology/switch (127.0.0.1) \r\nHTTPRequest(protocol='http', host='127.0.0.1:8181', method='GET', uri='/1.0/topology/switch', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Host': '127.0.0.1:8181', 'Accept': '*/*', 'User-Agent': 'curl/7.37.1'}) \r\nTraceback (most recent call last): \r\nFile \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 1218, in _when_complete \r\ncallback() \r\nFile \"/usr/local/lib/python2.7/dist-packages/tornado/web.py\", line 1239, in _execute_method \r\nself._when_complete(method(*self.path_args, **self.path_kwargs), \r\nFile \"/home/user/Documents/Openflow/Controllers/Mul/Source/openmul-master-old/application/nbapi/py-tornado/app/handler/switch.py\", line 39, in get \r\nself.__execute(dpid, port_no) \r\nFile \"/home/user/Documents/Openflow/Controllers/Mul/Source/openmul-master-old/application/nbapi/py-tornado/app/handler/switch.py\", line 51, in __execute \r\ngetattr(self, func)(*args) \r\nFile \"/home/user/Documents/Openflow/Controllers/Mul/Source/openmul-master-old/application/nbapi/py-tornado/app/handler/switch.py\", line 59, in get_switch_all \r\nres = self.__nbapi_switch_brief_list_t_serialization(res) \r\nFile \"/home/user/Documents/Openflow/Controllers/Mul/Source/openmul-master-old/application/nbapi/py-tornado/app/handler/switch.py\", line 129, in __nbapi_switch_brief_list_t_serialization \r\ndpid = int(s.switch_id.datapath_id) \r\nAttributeError: 'SwigPyObject' object has no attribute 'switch_id' \r\n2015/02/15 18:40:36 tornado.access ERROR 500 GET /1.0/topology/switch (127.0.0.1) 205.86ms \r\nswig/python detected a memory leak of type 'c_ofp_switch_brief_t *', no destructor found."},"comment":{"url":"https://api.github.com/repos/openmul/openmul/issues/comments/76131683","html_url":"https://github.com/openmul/openmul/issues/11#issuecomment-76131683","issue_url":"https://api.github.com/repos/openmul/openmul/issues/11","id":76131683,"user":{"login":"openmul","id":7834086,"avatar_url":"https://avatars.githubusercontent.com/u/7834086?v=3","gravatar_id":"","url":"https://api.github.com/users/openmul","html_url":"https://github.com/openmul","followers_url":"https://api.github.com/users/openmul/followers","following_url":"https://api.github.com/users/openmul/following{/other_user}","gists_url":"https://api.github.com/users/openmul/gists{/gist_id}","starred_url":"https://api.github.com/users/openmul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmul/subscriptions","organizations_url":"https://api.github.com/users/openmul/orgs","repos_url":"https://api.github.com/users/openmul/repos","events_url":"https://api.github.com/users/openmul/events{/privacy}","received_events_url":"https://api.github.com/users/openmul/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T07:03:14Z","updated_at":"2015-02-26T07:03:14Z","body":"It has been verified that latest OpenMUL has no problem in Ubuntu12.04.3 LTS x86-64. The development VM with concave release code is available at  http://www.openmul.org/openmul-vm.html"}}