Nico0084 / domogik-plugin-ozwave

Domogik ozwave plugin
GNU General Public License v3.0
1 stars 0 forks source link

Error when displaying node page #15

Closed fritz-smh closed 8 years ago

fritz-smh commented 8 years ago

Error when displaying node page :

2015-12-09 21:56:32,536 domogik-ozwave DEBUG Node [1] command classes are: set([0, 32])
Get groups dict
[]
(u'node state linked:', True, u' isReceiver:', True, u' isReady:', True, u'isNamed:', True, u' isFailed:', False)
2015-12-09 21:56:32,537 domogik-ozwave DEBUG Node [2] command classes are: set([0, 32, 132, 133, 134, 113, 112, 128, 48, 49, 114, 115, 90, 94])
Get groups dict
[{u'index': 1, u'maxAssociations': 5, u'members': [], u'label': u'LifeLine'}]
(u'node state linked:', True, u' isReceiver:', True, u' isReady:', True, u'isNamed:', True, u' isFailed:', False)
ERROR Traceback (most recent call last):
  File "/opt/dmg/domogik-mq/src/domogikmq/reqrep/worker.py", line 219, in _on_mpd_message
    self.on_mdp_request(mes)
  File "bin/ozwave.py", line 152, in on_mdp_request
    report = self.myzwave.processRequest("{0}.{1}".format(action[1], action[2]),  msg.get_data())
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwave.py", line 1420, in processRequest
    report = self._handleControllerRequest(request, data)
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwave.py", line 1473, in _handleControllerRequest
    report['nodes'].append(self.getNodeInfos(data['homeId'], nodeId))
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwave.py", line 1185, in getNodeInfos
    if node : return node.getInfos()
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwnode.py", line 712, in getInfos
    retval["Polled"] = self.isPolled
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwnode.py", line 137, in <lambda>
    isPolled = property(lambda self: self._hasValuesPolled())
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwnode.py", line 731, in _hasValuesPolled
    if self.values[value].isPolled: return True
  File "/var/lib/domogik/domogik_packages/plugin_ozwave/lib/ozwvalue.py", line 107, in <lambda>
    isPolled = property(lambda self:self._node._manager.isPolled(self.valueData['id']))
  File "libopenzwave.pyx", line 1593, in libopenzwave.PyManager.isPolled (src-lib/libopenzwave/libopenzwave.cpp:11268)
TypeError: an integer is required
Nico0084 commented 8 years ago

Curious ! Have you reproduce it ? Do you have all log (terminal mode) ?

fritz-smh commented 8 years ago

I reproduced it about 20 times yesterday evening

I have not all logs (terminal mode) as I used a "screen".

I will redo some test with a real terminal to try to get all the logs.

fritz-smh commented 8 years ago

Full log since startup : https://gist.github.com/fritz-smh/b574afe881437e222300