The cancellation of the connection to the sense-hat node is caused by the warning message ‘DeprecationWarning: activeCount() is deprecated ...’ in the sensehat.py file.
In the file sensehat.py, the deprecated method
activeCount()
must be replaced by the new method
active_count()
in line 130.
As soon as this change has been made, the connection is no longer interrupted.
Thanks - will patch it later today.
Good luck with the Norovirus - lots of it about over here at the moment as well (as well as RSV and Covid and general winter flu... quadruple whammy! ) . Hope you manage to avoid them all...
Thanks for the update
Hello dceejay,
I have just replaced my old Sense Hat version 0.1.5 with the new version 0.2.0. It works as desired. Thanks for creating the new version.