2025-06-10, 09:33 PM
(2025-04-15, 11:27 AM)Jay_cd33 Wrote: SOLUTION FOR ME!!! But it's a HACK!
DISCLAIMER: I'm not a programmer/developer. What I'm detailing here is a pure hack. It may break other things on your system and will probably not survive reinstalls or software updates. This did work for me and has not caused any other problems with my openplotter setup. I'm only trying to help others in this community. Your mileage may vary.
Using the following command in a terminal shows the messages from systemd on starting the openplotter-i2c-read service.
Code:journalctl -u openplotter-i2c-read.service -f
Use ctrl c to stop the output. The openplotter-i2c-read service will try to restart every 3 sec. Here's the output for a single restart.
Of particaular interest is this message:
The lgpio.py library is trying to access a file that doesn't exist. This file is associated with notifications which I don't believe are used in our applications.
So my solution was to comment out this line of the lgpio.py library (I know it's a hack!). But it works.
So do this.
Code:cd /usr/lib/python3/dist-packages
sudo cp lgpio.py lgpio.org
sudo nano lgpio.py
Show line numbers with Alt+Shift+3.
Navigate to line number 504 with Ctrl+/
Comment out line 504 with # as show in this screenshot
Save changes with Ctrl+x and y.
Then reboot system.
If you need to change back to the original setup:
Code:cd /usr/lib/python3/dist-packages
sudo rm lgpio.py
sudo mv lgpio.org lgpio.py
This worked for me. Hope it helps you
Jay
S/V Priority
Brilliant!!!! I tried Skog's solution (later in the thread) but no joy. Thank you so much for teasing this out!

