txoof / PaperPi

E-Paper display loop with plugins
97 stars 10 forks source link

LMS plugin crashes when pulling data #161

Closed txoof closed 1 month ago

txoof commented 1 month ago

Describe the bug LMS Plugin crashes when pulling data. :_update_plugins:465 :ERROR - <class 'library.Plugin.Plugin'> crashed while updating: 'str' object has no attribute 'get'

This results in the update loop stalling out and no updates being pushed to the display

txoof commented 1 month ago

This is related to a bug in QueryLMS and should be resolved by reinstalling PaperPi or manually updating the QueryLMS library.

To manually update the QueryLMS library:

  1. Switch to the root user: sudo su - * see note below
  2. Change to the paperpi install directory: cd /usr/local/paperpi
  3. Update querylms to 0.2.5.0: pip install QueryLMS==0.2.5.0
  4. Drop out of sudo
  5. restart paperpi daemon sudo systemctl restart paperpi-daemon