Page 1 of 1

How to debug - Error: [web:8080] PO exception occurred : 'stoull'

Posted: Tuesday 16 May 2023 19:00
by pipiche
I have created a Counter Incremental and time to time I'm getting this error message, when I trying to enable it or change the Divisor .
May 16 18:55:53 rasp domoticz[19279]: 2023-05-16 18:55:53.425 Status: EventSystem: reset all device statuses...
May 16 18:55:53 rasp domoticz[19279]: 2023-05-16 18:55:53.427 Error: [web:8080] PO exception occurred : 'stoull'

I'm getting the same when I'm creating an Incremental Counter from the Virtual Sensors

The end result is that no more Devices are listed into the Web display.


This error seems to happen when creating a new Incremental Counter after a while (means creating several)

Re: How to debug - Error: [web:8080] PO exception occurred : 'stoull'

Posted: Wednesday 17 May 2023 9:33
by gizmocuz
Probably those are incorrectly updated with data? (sValue)
Check out wiki (JSON) how they should be formatted and compare against whats in the database

(you can create a backup from your database from the settings page, and open this is SQLite Expert Peronal edition

Re: How to debug - Error: [web:8080] PO exception occurred : 'stoull'

Posted: Wednesday 17 May 2023 9:40
by pipiche
This happened even without any update of sValue nValue


Envoyé de mon iPhone en utilisant Tapatalk

Re: How to debug - Error: [web:8080] PO exception occurred : 'stoull'

Posted: Thursday 15 June 2023 15:03
by willemd
I got the same error message. It happened each time I tried to open the utility page via the browser.

Root cause in my case was a DzVents script where I divided by zero (my mistake) and then put the result on a counter device, resulting in NaN (not a number) value in the sValue field of the counter.

If that sValue field contains NaN then apparently the display of the webpage crashes.

After correcting the value and the script, the problem went away.