Repository navigation
Plugin Issues #722
Replies: 2 comments 2 replies
|
The icon showing up and the "not registered" error might coming from two completely separate parts of the code. the UI list just scans for A few things worth checking, based on how the registration code works:
For reference, here's the pattern the built-in Weather plugin follows: My guess is it's most likely #3 if the class name doesn't match exactly, that failure happens silently with no error logged at all, which would explain why everything looks fine in the UI but breaks when you actually try to use it. Worth double checking your app logs too.. if you see |
|
Hi @joshuamiller627-AV, the log shows the actual cause The plugin is not being registered because its Python module fails to import on startup: So your folder name, plugin ID and class name appear to be matching correctly The UI can still find the Try installing the dependencies inside the InkyPi virtual environment: sudo su
source /usr/local/inkypi/venv_inkypi/bin/activate
pip install gspread oauth2client
deactivate
sudo systemctl restart inkypi.serviceThen check the logs again If You may also want to eventually replace |
Uh oh!
There was an error while loading. Please reload this page.
When I load in a Plugin that I have built the icon shows and the plugin is an option in the UI but when I go the the Plug in it says Plugin not registered.
I am pretty new to this stuff so let me know if I am doing something wrong.
The plug in is in src/plugins and i have all the info right in the plugin-info.json file
All reactions