Python scripts don't run since upgrading to v2025.1
Posted: Tuesday 06 May 2025 9:21
Hi,
I upgraded from v2024.7 to v2025.1 last night. The upgrade (via the gui) went ok but this morning a few of my tasks didn't run as expected. Looking at the logs I see its related to Python scripts....
As an example the scripts are typically called via an on action...
Looking at History.txt, there isn't any obvious changes which would cause a problem. The logs from the restart do state...
Is it possible that my Python2.7 scripts are now trying to run as Python3 ?
Any thoughts?
Thanks.
I upgraded from v2024.7 to v2025.1 last night. The upgrade (via the gui) went ok but this morning a few of my tasks didn't run as expected. Looking at the logs I see its related to Python scripts....
Code: Select all
2025-05-06 06:10:02.467 Error: Error executing script command (/home/pi/BedroomLED.py). returned: 256
2025-05-06 06:11:01.483 Error: Error executing script command (/home/pi/FrostWarning.py). returned: 256
2025-05-06 06:20:01.784 Error: Error executing script command (/home/pi/LampsAM.py). returned: 256
Code: Select all
script:///home/pi/FrostWarning.py.
Code: Select all
2025-05-05 17:47:24.315 Status: PluginSystem: Started, Python version '3.7.3', 1 plugin definitions loaded.
Any thoughts?
Thanks.