pylgbst icon indicating copy to clipboard operation
pylgbst copied to clipboard

Remote WARNING:peripherals:Attempt to unsubscribe while port value updates are off: RemoteButton on port 0x0

Open Eggmanplant opened this issue 1 year ago • 5 comments

WARNING:peripherals:Attempt to unsubscribe while port value updates are off: RemoteButton on port 0x0 This annoys me when trying to use the remote.

Eggmanplant avatar Jun 26 '24 08:06 Eggmanplant

Hi It's a bit short of a context. Is the warning itself annoying or some functionality does not work?

The warning would normally only produce if you try to call unsubscribe() on a port that you did not subscribe() first.

Without seeing your code it is hard to guess the possible reason.

undera avatar Jun 26 '24 09:06 undera

The program stops. This error is from the controller demo.

Eggmanplant avatar Jul 02 '24 15:07 Eggmanplant

Which controller demo do you mean?

undera avatar Jul 02 '24 16:07 undera

I mean demo_handset.py from examples. Sorry for late reply, I was focused on moving to Codeberg.

Eggmanplant avatar Nov 02 '24 19:11 Eggmanplant

Looking at the code of that demo, the unsubscribe only happens after 30 seconds of sleep in program. The message would mean that the subscribe were not successfull. You'd need to look at detailed debug log of communication to tell what exactly happens.

undera avatar Nov 03 '24 09:11 undera