2025-05-07, 10:23 AM
(This post was last modified: 2025-05-07, 10:35 AM by ulsi.
Edit Reason: added h/w info
)
While trying to drill down, how to activate my BMP390 sensor in Signal K,
i checked syslog ("journalctl -r") and found it spammed with these events:
Any ideas, how:
- to troubleshoot this error, and
- how to solve it
RPi 5, OpenPlotter 4.2.9, Sensor i2c BMP390
i checked syslog ("journalctl -r") and found it spammed with these events:
Code:
May 07 10:17:46 openplotter systemd[1]: openplotter-i2c-read.service: Failed with result 'exit-code'.
May 07 10:17:46 openplotter systemd[1]: openplotter-i2c-read.service: Main process exited, code=exited, status=1/FAILURE
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: FileNotFoundError: [Errno 2] No such file or directory: '.lgd-nfy-3'
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: self._file = open('.lgd-nfy{}'.format(self._notify), 'rb')
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/lgpio.py", line 504, in __init__
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: _notify_thread = _callback_thread()
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/lgpio.py", line 562, in <module>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: import lgpio
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/microcontroller/generic_linux/lgpio_pin.py", line 7, in <mod>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: from adafruit_blinka.microcontroller.generic_linux.lgpio_pin import Pin
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/microcontroller/bcm2712/pin.py", line 7, in <module>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: from adafruit_blinka.microcontroller.bcm2712 import pin
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/board/raspberrypi/raspi_5.py", line 6, in <module>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: from adafruit_blinka.board.raspberrypi.raspi_5 import *
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/local/lib/python3.11/dist-packages/board.py", line 45, in <module>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: import time, board, json, ssl, sys
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/openplotterI2c/openplotterI2cRead.py", line 18, in <module>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2474, in resolve
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: return self.resolve()
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2468, in load
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: return ep.load()
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2855, in load_entry_point
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: return get_distribution(dist).load_entry_point(group, name)
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 522, in load_entry_point
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: load_entry_point('openplotterI2c==4.2.0', 'console_scripts', 'openplotter-i2c-read')()
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: File "/usr/bin/openplotter-i2c-read", line 11, in <module>
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: Traceback (most recent call last):
May 07 10:17:46 openplotter openplotter-i2c-read[40940]: 2025-05-07 10:17:46 xCreatePipe: Can't set permissions (436) for //.lgd-nfy0, No such file or directory
May 07 10:17:46 openplotter systemd[1]: Started openplotter-i2c-read.service.
May 07 10:17:46 openplotter systemd[1]: Stopped openplotter-i2c-read.service.
May 07 10:17:46 openplotter systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 17708.
May 07 10:17:43 openplotter systemd[1]: openplotter-i2c-read.service: Failed with result 'exit-code'.
- to troubleshoot this error, and
- how to solve it
RPi 5, OpenPlotter 4.2.9, Sensor i2c BMP390