Python Events

Python and python framework

Moderator: leecollings

Post Reply
Deanm
Posts: 6
Joined: Tuesday 12 August 2014 0:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Python Events

Post by Deanm »

Please can someone help.

After moving house etc I have final getting round to setting up my Domoticz system up again. Then I first turned on my system after 6 months the 1st thing I did was update Domoticz and updated the OS as I was having a few issues. This is where my problems started as Domoticz kept crashing on me.

To cut a long story short I have found the is an issue Python Events system when ever I use the following commands

DE.Log
DE.Command


When ever any of my Python Event Scripts try to run any of the above commands I get the following in the evert logs (If I catch it in time)

2022-06-05 21:19:00.132 Error: Domoticz(pid:422, tid:439('EventSystemQueu')) received fatal signal 11 (Segmentation fault)
2022-06-05 21:19:00.132 Error: siginfo address=(nil), address=0x6e108ea8


I have tried to use the following versions of Python with in Domoticz

3.4.x
3.5.x
3.7.x


All have the same issue. When I tried to test Python 3.8 I get following in the logs

Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform

On buster I can't seem to get libpython3.8 to work or install.

I have tested this on clean install with Domoticz stable release 2022.1 and also on beta release build 14352

My question are

What was the last working version of Domoticz/RPI OS that the Python Events System was working on a RPI?
What can I do to fix my current issue?

Please don't say use Lua or DzVents as I spent I lot of time changing my system to use Python Events from Lua years ago and invested a lot of time.


Deanm
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest