Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paperpi stops displaying images after several hours #159

Open
txoof opened this issue Jun 28, 2024 · 3 comments · Fixed by #163
Open

paperpi stops displaying images after several hours #159

txoof opened this issue Jun 28, 2024 · 3 comments · Fixed by #163
Labels
bug Something isn't working

Comments

@txoof
Copy link
Owner

txoof commented Jun 28, 2024

Describe the bug
PaperPi stops showing images and displays critical error -- Plugin: Weather Den haag returned invalid image data; screen update skipped

To Reproduce
Steps to reproduce the behavior:

  1. start paperpi
  2. ???

Expected behavior
PaperPi should continue to display data from the plugins, or fall back to the default fallback plugin

Additional context
sample log output:

] INFO 09:40:23 paperpi :_update_plugins:454 :INFO       - ##########Plugin: Word Clock##########                                                                                                                                                   │
] INFO 09:40:23 paperpi :_update_plugins:467 :INFO       -      PRIORITY: 2 of max 2                                                                                                                                                                │
] INFO 09:40:28 paperpi :update_loop:558 :CRITICAL   - Plugin: Weather Den haag returned invalid image data; screen update skipped                                                                                                                  │
] INFO 09:40:33 paperpi :update_loop:507 :INFO       - Plugin: Weather Den haag--display for: 40.0 of 50 seconds                                                                                                                                    │
] INFO 09:40:33 paperpi :_update_plugins:450 :INFO       - >>__________UPDATING PLUGINS__________<<                                                                                                                                                 │
] INFO 09:40:33 paperpi :_update_plugins:454 :INFO       - ##########Plugin: default fallback plugin##########                                                                                                                                      │
] INFO 09:40:33 Plugin  :update    :167 :INFO       - starting update - timeout: 30 sec                                                                                                                                                             │
] INFO 09:40:33 paperpi :_update_plugins:467 :INFO       -      PRIORITY: 16384 of max 32768
@txoof txoof added the bug Something isn't working label Jun 28, 2024
@txoof
Copy link
Owner Author

txoof commented Jun 28, 2024

The problem appears to be in the update loop. It's not clear what triggers this issue.

@txoof
Copy link
Owner Author

txoof commented Jul 31, 2024

The trigger appears to be a crashed plugin; the main update loop does not see this as a stalled plugin and continues to try to display it.

@txoof txoof mentioned this issue Aug 2, 2024
@txoof txoof closed this as completed in #163 Aug 2, 2024
@txoof
Copy link
Owner Author

txoof commented Sep 8, 2024

Re-opening this as something is causing all plugins to return invalid images after a few hours under some (??) circumstances.

@txoof txoof reopened this Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant