Hi,<br><br>I have a python dbus program that connects to a service that isn't always available. When it's available, everything works just fine, but as soon as the service goes down or gets restarted I get ServiceUnknown errors printed to stderr.<br>
<br>Unfortunately, those errors don't raise exceptions and as such I'm a bit at a loss to how I can detect when a service has become unavailable. Optimally, I would like to detect those errors and then attempt to re-initialize the connection to the service.<br>
<br>I've looked at the validate_* set of functions, but they only seem to check the semantics of the string, not whether the underlying object/ interface etc. is valid.<br><br>Any help would be greatly appreciated.<br>
<br>Thanks,<br><br>-John<br>