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

Python and python framework

Moderator: leecollings

Post Reply
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

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

Post 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)
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
User avatar
gizmocuz
Posts: 2548
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

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

Post by pipiche »

This happened even without any update of sValue nValue


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
willemd
Posts: 649
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

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

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest