I'm on Ubuntu 24.04
If I use libpidget22 of 20240411 with the associated python binding I manage to have everything that works, but if I use libphidget22 20240912, then I can start a first time my python programs and when I quit and I relaunch I have this error :
Phidget22.PhidgetException.PhidgetException: PhidgetException 0x34 (Device not Attached)
This can happen for a number of common reasons. Be sure you are opening the channel before trying to use it. If you are opening the channel, the program may not be waiting for the channel to be attached. If possible use openWaitForAttachment. Otherwise, be sure to check the Attached property of the channel before trying to use it.
Nothing I try works. I am on the last firmware available
There were some changes in the server discovery code between those releases, so a bug could have been introduced. Are you using addServer or enableServerDiscovery to connect to the HUB5000?
Our main issue is that we don't use it directly in python, but with our in house platform crappy available on github at "LaboratoireMecaniqueLille/crappy"
So it is not obvious to provide you a minimal example, but I will try tomorrow.
Instead of enableServerDiscovery, you could call addServer. Server discovery is mostly useful for dynamic systems, where you don't know ahead of time what servers will be on the network.