I don't know if it's a bug...
I use Openplotter 2.9.1 on raspberry Pi 4 model B. the system is installed on USB SSD everything works regularly on an RPI purchased in 2019 Two months ago I bought another 2 raspberry Pi 4 model B but on these (on both) i2c does not work, I tried with more devices but the problem is the same. At startup, the check reports: i2c enabled | not running
In the log I find this:
The addresses of i2c devices are seen regularly. If I put the same disk in the previous Rpi everything works fine! I don't understand if both new rpi can be faulty or there is a software problem.
Thanks to those who can give me directions.
I use Openplotter 2.9.1 on raspberry Pi 4 model B. the system is installed on USB SSD everything works regularly on an RPI purchased in 2019 Two months ago I bought another 2 raspberry Pi 4 model B but on these (on both) i2c does not work, I tried with more devices but the problem is the same. At startup, the check reports: i2c enabled | not running
In the log I find this:
Code:
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: Traceback (most recent call last):
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: File "/usr/bin/openplotter-i2c-read", line 11, in <module>
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: load_entry_point('openplotterI2c==2.2.1', 'console_scripts', 'openplotter-i2c-read')()
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: return get_distribution(dist).load_entry_point(group, name)
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: return ep.load()
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2411, in load
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: return self.resolve()
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2417, in resolve
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: File "/usr/lib/python3/dist-packages/openplotterI2c/openplotterI2cRead.py", line 18, in <module>
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: import socket, time, threading, board, busio
Aug 30 22:13:20 Berry1 openplotter-i2c-read[435]: ModuleNotFoundError: No module named 'board'
Aug 30 22:13:20 Berry1 systemd[1]: openplotter-i2c-read.service: Main process exited, code=exited, status=1/FAILURE
Aug 30 22:13:20 Berry1 systemd[1]: openplotter-i2c-read.service: Failed with result 'exit-code'.
Thanks to those who can give me directions.