streamdeck icon indicating copy to clipboard operation
streamdeck copied to clipboard

Recurrent error

Open Madcliff opened this issue 5 years ago • 4 comments

How do I further debug the following errors?

ERRO[96483] Unable to refresh element                     error="context canceled"

Madcliff avatar Jan 07 '21 19:01 Madcliff

This error means one of the buttons tried to refresh it's display data after the page was changed…

This might happen a few times after the page has changed in case there was a timing issue between the page change and the button refresh… If it keeps happening more often than the number of buttons on your StreamDeck I need to review the display refresh routines…

Does it happen more often than the number of buttons after a single page change?

Luzifer avatar Jan 07 '21 20:01 Luzifer

No it is noit happening more than really the timing between page changes. I was curious because I left streamdeck running over night and came back this morning and found it using 18-22% of my cputime, so I thought that might be an issue.

Madcliff avatar Jan 07 '21 20:01 Madcliff

Hmm that indeed shouldn't happen… Will try to reproduce and debug… Normally all routines should be cancelled as soon as the page is changed. From what you're describing that did not happen for you… 🤔

Luzifer avatar Jan 07 '21 20:01 Luzifer

I mean I also wrote a systemd process for it to make it start on boot but that shouldn't cause this issue

Madcliff avatar Jan 07 '21 20:01 Madcliff