{"action":"created","issue":{"url":"https://api.github.com/repos/domogik/domogik/issues/466","repository_url":"https://api.github.com/repos/domogik/domogik","labels_url":"https://api.github.com/repos/domogik/domogik/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/domogik/domogik/issues/466/comments","events_url":"https://api.github.com/repos/domogik/domogik/issues/466/events","html_url":"https://github.com/domogik/domogik/issues/466","id":211547212,"number":466,"title":"Develop, Queryconfig fail sometime on request plugin.start.do ","user":{"login":"Nico0084","id":4672142,"avatar_url":"https://avatars3.githubusercontent.com/u/4672142?v=3","gravatar_id":"","url":"https://api.github.com/users/Nico0084","html_url":"https://github.com/Nico0084","followers_url":"https://api.github.com/users/Nico0084/followers","following_url":"https://api.github.com/users/Nico0084/following{/other_user}","gists_url":"https://api.github.com/users/Nico0084/gists{/gist_id}","starred_url":"https://api.github.com/users/Nico0084/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nico0084/subscriptions","organizations_url":"https://api.github.com/users/Nico0084/orgs","repos_url":"https://api.github.com/users/Nico0084/repos","events_url":"https://api.github.com/users/Nico0084/events{/privacy}","received_events_url":"https://api.github.com/users/Nico0084/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/domogik/domogik/milestones/17","html_url":"https://github.com/domogik/domogik/milestone/17","labels_url":"https://api.github.com/repos/domogik/domogik/milestones/17/labels","id":2142469,"number":17,"title":"0.6.0 - technical improvments","description":"","creator":{"login":"fritz-smh","id":4557426,"avatar_url":"https://avatars0.githubusercontent.com/u/4557426?v=3","gravatar_id":"","url":"https://api.github.com/users/fritz-smh","html_url":"https://github.com/fritz-smh","followers_url":"https://api.github.com/users/fritz-smh/followers","following_url":"https://api.github.com/users/fritz-smh/following{/other_user}","gists_url":"https://api.github.com/users/fritz-smh/gists{/gist_id}","starred_url":"https://api.github.com/users/fritz-smh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritz-smh/subscriptions","organizations_url":"https://api.github.com/users/fritz-smh/orgs","repos_url":"https://api.github.com/users/fritz-smh/repos","events_url":"https://api.github.com/users/fritz-smh/events{/privacy}","received_events_url":"https://api.github.com/users/fritz-smh/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":22,"state":"open","created_at":"2016-11-17T18:46:30Z","updated_at":"2017-03-23T04:49:52Z","due_on":"2017-05-01T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-03-02T23:11:26Z","updated_at":"2017-03-23T04:49:52Z","closed_at":"2017-03-23T04:49:52Z","body":"Sometime manager get error on plugin.start.do.\r\nnot sure it's a queryconfig issue, perhaps a ZMQ issue ?\r\n\r\n```\r\n2017-03-02 23:39:37,407 domogik-manager DEBUG MQ Request received : <MQMessage(action=plugin.start.do, data='{u'host': u'vmdevubuntu16', u'type': u'plugin', u'name': u'rfplayer'}')>\r\n2017-03-02 23:39:37,409 domogik-manager INFO Plugin startup request : <MQMessage(action=plugin.start.do, data='{u'host': u'vmdevubuntu16', u'type': u'plugin', u'name': u'rfplayer'}')>\r\n2017-03-02 23:39:37,410 domogik-manager INFO Looking for launched instances of 'rfplayer'\r\n2017-03-02 23:39:37,675 domogik-manager INFO No existing process.\r\n2017-03-02 23:39:37,678 domogik-manager INFO Request query config for client rfplayer : key test_mode\r\n2017-03-02 23:39:37,688 domogik-manager ERROR Error while processing MQ message : '<MQMessage(action=plugin.start.do, data='{u'host': u'vmdevubuntu16', u'type': u'plugin', u'name': u'rfplayer'}')>'. Error is : Traceback (most recent call last):\r\n  File \"/home/admdomo/domogik/src/domogik/bin/manager.py\", line 486, in on_mdp_request\r\n    self._mdp_reply_plugin_start(msg)\r\n  File \"/home/admdomo/domogik/src/domogik/bin/manager.py\", line 602, in _mdp_reply_plugin_start\r\n    pid = self._plugins[name].start()\r\n  File \"/home/admdomo/domogik/src/domogik/bin/manager.py\", line 1315, in start\r\n    test_mode = self._config.query(self.type, self.name, \"test_mode\")\r\n  File \"/home/admdomo/domogik/src/domogik/common/queryconfig.py\", line 57, in query\r\n    return self.qry.query(type, name, key)\r\n  File \"/home/admdomo/domogik/src/domogik/common/queryconfig.py\", line 122, in query\r\n    ret = self.cli.request('admin', msg.get(), timeout=QUERY_CONFIG_WAIT)\r\n  File \"/home/admdomo/domogik-mq/src/domogikmq/reqrep/client.py\", line 120, in request\r\n    ret = self.rawrequest( service, msg, timeout)\r\n  File \"/home/admdomo/domogik-mq/src/domogikmq/reqrep/client.py\", line 101, in rawrequest\r\n    self.socket.send_multipart(to_send)\r\n  File \"/home/admdomo/domogik-mq/src/domogikmq/socket.py\", line 23, in wrapper\r\n    return f(self, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/zmq/sugar/socket.py\", line 329, in send_multipart\r\n    self.send(msg, SNDMORE|flags, copy=copy, track=track)\r\n  File \"/home/admdomo/domogik-mq/src/domogikmq/socket.py\", line 23, in wrapper\r\n    return f(self, *args, **kwargs)\r\n  File \"zmq/backend/cython/socket.pyx\", line 617, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:6625)\r\n  File \"zmq/backend/cython/socket.pyx\", line 664, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:6363)\r\n  File \"zmq/backend/cython/socket.pyx\", line 199, in zmq.backend.cython.socket._send_copy (zmq/backend/cython/socket.c:2492)\r\n  File \"zmq/backend/cython/checkrc.pxd\", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)\r\n    raise ZMQError(errno)\r\nZMQError: Operation cannot be accomplished in current state\r\n\r\n2017-03-02 23:39:37,696 domogik-manager INFO Request query config for client rfxcom : key *\r\n2017-03-02 23:39:37,719 domogik-manager DEBUG Package available : plugin_weather\r\n2017-03-02 23:39:37,722 domogik-manager DEBUG Package plugin-weather : read the json file and validate it\r\n2017-03-02 23:39:37,772 domogik-manager DEBUG Query config : successfull response : <MQMessage(action=config.result, data='{u'status': True, u'name': u'rfxcom', u'data': {u'device': u'/dev/rfxcom', u'configured': True}, u'host': u'vmdevubuntu16', u'reason': u'', u'key': u'*', u'type': u'plugin'}')>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/domogik/domogik/issues/comments/288616748","html_url":"https://github.com/domogik/domogik/issues/466#issuecomment-288616748","issue_url":"https://api.github.com/repos/domogik/domogik/issues/466","id":288616748,"user":{"login":"Cereal2nd","id":3715825,"avatar_url":"https://avatars3.githubusercontent.com/u/3715825?v=3","gravatar_id":"","url":"https://api.github.com/users/Cereal2nd","html_url":"https://github.com/Cereal2nd","followers_url":"https://api.github.com/users/Cereal2nd/followers","following_url":"https://api.github.com/users/Cereal2nd/following{/other_user}","gists_url":"https://api.github.com/users/Cereal2nd/gists{/gist_id}","starred_url":"https://api.github.com/users/Cereal2nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cereal2nd/subscriptions","organizations_url":"https://api.github.com/users/Cereal2nd/orgs","repos_url":"https://api.github.com/users/Cereal2nd/repos","events_url":"https://api.github.com/users/Cereal2nd/events{/privacy}","received_events_url":"https://api.github.com/users/Cereal2nd/received_events","type":"User","site_admin":false},"created_at":"2017-03-23T04:49:52Z","updated_at":"2017-03-23T04:49:52Z","body":"should be fixed with: https://github.com/domogik/domogik/commit/8e5288f2265a8873788c12dac5969d31405586af"}}
{"actor":{"display_login":"Cereal2nd"}}