Page 1 of 1

Change Scene error

Posted: 06 Jun 2012 17:55
by pz1
Under Automation/Zones I changed a scene that is bound to a Climate Scedule. On that change the interface gave the following error message "Scene activation: Forbidden, Exception activating climate schedule 1 (unsupported operand type(s) for +: 'int' and 'instance')". Changing Climate schedule does not give an error this time, but has also done before. I vaguely remember having asked this before, but I could not find that post again. So my apologies for possibly double questions.
Pieter

Could you please do it again and show us the log?

Posted: 06 Jun 2012 17:55
by PoltoS
Could you please do it again and show us the log?

Current code for Climate Schedules was improved to make it support new devices. May be a bug was introduced with this improvement? We will fix it in a very short time after we see your log.

Here is the log

Posted: 06 Jun 2012 17:55
by pz1
Here is the log.


2012-06-08 10:33:30,292 Except.CRITICAL Error handling web request: /ZWaveAPI/Data/1339144397
2012-06-08 10:33:30,292 Except.CRITICAL TypeError: is not JSON serializable
2012-06-08 10:33:30,291 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 344, in default
2012-06-08 10:33:30,291 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 323, in _iterencode_default
2012-06-08 10:33:30,291 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 317, in _iterencode
2012-06-08 10:33:30,291 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:30,291 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:30,291 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:30,290 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:30,290 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:30,290 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:30,290 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
2012-06-08 10:33:30,290 Except.CRITICAL File "/var/pyzw/pyzw/WebServer.py", line 170, in do_POST
2012-06-08 10:33:30,288 Except.CRITICAL Traceback (most recent call last):
2012-06-08 10:33:28,248 Except.CRITICAL Error handling web request: /ZWaveAPI/Data/1339144397
2012-06-08 10:33:28,248 Except.CRITICAL TypeError: is not JSON serializable
2012-06-08 10:33:28,248 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 344, in default
2012-06-08 10:33:28,247 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 323, in _iterencode_default
2012-06-08 10:33:28,247 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 317, in _iterencode
2012-06-08 10:33:28,246 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:28,246 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:28,246 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:28,246 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:28,246 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:28,246 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:28,245 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
2012-06-08 10:33:28,245 Except.CRITICAL File "/var/pyzw/pyzw/WebServer.py", line 170, in do_POST
2012-06-08 10:33:28,243 Except.CRITICAL Traceback (most recent call last):
2012-06-08 10:33:26,228 Except.CRITICAL Error handling web request: /ZWaveAPI/Data/1339144397
2012-06-08 10:33:26,228 Except.CRITICAL TypeError: is not JSON serializable
2012-06-08 10:33:26,228 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 344, in default
2012-06-08 10:33:26,227 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 323, in _iterencode_default
2012-06-08 10:33:26,227 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 317, in _iterencode
2012-06-08 10:33:26,227 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:26,227 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:26,226 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:26,226 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:26,226 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:26,226 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:26,226 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
2012-06-08 10:33:26,225 Except.CRITICAL File "/var/pyzw/pyzw/WebServer.py", line 170, in do_POST
2012-06-08 10:33:26,224 Except.CRITICAL Traceback (most recent call last):
2012-06-08 10:33:24,241 Except.CRITICAL Error handling web request: /ZWaveAPI/Data/1339144397
2012-06-08 10:33:24,240 Except.CRITICAL TypeError: is not JSON serializable
2012-06-08 10:33:24,240 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 344, in default
2012-06-08 10:33:24,240 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 323, in _iterencode_default
2012-06-08 10:33:24,240 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 317, in _iterencode
2012-06-08 10:33:24,240 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:24,239 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:24,239 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:24,239 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:24,239 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:24,239 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:24,239 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
2012-06-08 10:33:24,238 Except.CRITICAL File "/var/pyzw/pyzw/WebServer.py", line 170, in do_POST
2012-06-08 10:33:24,237 Except.CRITICAL Traceback (most recent call last):
2012-06-08 10:33:22,253 Except.CRITICAL Error handling web request: /ZWaveAPI/Data/1339144397
2012-06-08 10:33:22,253 Except.CRITICAL TypeError: is not JSON serializable
2012-06-08 10:33:22,252 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 344, in default
2012-06-08 10:33:22,252 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 323, in _iterencode_default
2012-06-08 10:33:22,252 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 317, in _iterencode
2012-06-08 10:33:22,252 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:22,252 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:22,251 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:22,251 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:22,251 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:22,251 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:22,251 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
2012-06-08 10:33:22,251 Except.CRITICAL File "/var/pyzw/pyzw/WebServer.py", line 170, in do_POST
2012-06-08 10:33:22,249 Except.CRITICAL Traceback (most recent call last):
2012-06-08 10:33:20,238 Except.CRITICAL Error handling web request: /ZWaveAPI/Data/1339144397
2012-06-08 10:33:20,238 Except.CRITICAL TypeError: is not JSON serializable
2012-06-08 10:33:20,237 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 344, in default
2012-06-08 10:33:20,237 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 323, in _iterencode_default
2012-06-08 10:33:20,237 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 317, in _iterencode
2012-06-08 10:33:20,237 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:20,237 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:20,237 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:20,236 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:20,236 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
2012-06-08 10:33:20,236 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
2012-06-08 10:33:20,235 Except.CRITICAL File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
2012-06-08 10:33:20,234 Except.CRITICAL File "/var/pyzw/pyzw/WebServer.py", line 170, in do_POST
2012-06-08 10:33:20,232 Except.CRITICAL Traceback (most recent call last):
2012-06-08 10:33:18,301 Rules.INFO Enabling Climate Schedule on 4:0
2012-06-08 10:33:01,196 Rules.INFO Event: from 3:0 to 1:0, Report, value: [37, 255]
2012-06-08 10:33:01,143 Z-Wave.INFO Send to device 3, instance 0, switch binary get: Delivered
2012-06-08 10:32:01,206 Rules.INFO Event: from 3:0 to 1:0, Report, value: [37, 255]
2012-06-08 10:32:01,143 Z-Wave.INFO Send to device 3, instance 0, switch binary get: Delivered
2012-06-08 10:31:57,013 Z-Wave.INFO Send to device 4, instance 0, wakeup no more information: Not delivered to recipient
2012-06-08 10:31:56,746 Z-Wave.INFO Send to device 4, instance 0, Multi Command with 2 encapsulated commands: Send to device 4, instance 0, clock report, Send to device 4, instance 0, Schedule Change Report: Callback received - transfered to encapsulated jobs
2012-06-08 10:31:56,746 Z-Wave.INFO Send to device 4, instance 0, Schedule Change Report: Delivered

the error is still there

Posted: 06 Jun 2012 17:55
by pz1
Well the error is still there. I am running presently (3 weeks steady) z-agent that I have compiled for Synology DS212+

Seems to be fixed now

Posted: 06 Jun 2012 17:55
by PoltoS
Please try to reconnect and test the issue.

Error has gone now

Posted: 06 Jun 2012 17:55
by pz1
Indeed, error has gone now. Thanks.

Thanks for the report!

Posted: 06 Jun 2012 17:55
by PoltoS
We are trying to do our best for our clients

Thanks for the report!

Posted: 06 Jun 2012 17:55
by PoltoS
We are trying to do our best for our clients