(2021 Oct 10, 08:24 PM)dan Wrote: I did a bit of googling on the error and tried
sudo apt install libopenjp2-7
That fixed the problem but then it couldn't find libtiff5 so:
sudo apt install libtiff5
Then I got:
luma.core.error.DeviceNotFoundError: I2C device not found on address: 0x3D
So I guess the plugin won't load unless an oled display is connected to the pi?
Dan
Hi Dan,
I unplug my oled and install SSD1306.py plugin. The error message is more informative and user friendly:
pi@sip:~/SIP $ sudo python3 sip.py
SSD1306 plugin: LCD initialize...
SSD1306 plugin: Failed to execute sequence. Is the hardware connected and the right address selected?:
[Errno 121] Remote I/O error
SSD1306 plugin: Done (LCD initialize)
....
SSD1306 plugin: active
So I will change my code to give the same kind of alert message.
Paul
(2021 Oct 10, 08:48 PM)dan Wrote: PIL is installed and imports in Python3.
I am running Raspbian GNU/Linux 10 (buster)
There is not an oled display connected to my Pi. I don't have one.
Some plugins have a check box at the top of the setup page to enable plugin functionality. This allows the plugin to load without trying to run and avoids errors from not having required hardware connected. That way a user can access the docs and setup info.
Dan
Okay, I will include this checkbox as well. This is useful.
Paul