<div><br></div><div>Hi all,</div><div><br></div>I'm having trouble getting avahi to detect collisions when trying to add a service with a name that is already existing.
<div><br></div><div>For reference</div><div><br></div><div> - Platform is ubuntu 10.04</div><div> - I'm using exactly the script at <a href="http://avahi.org/wiki/PythonPublishExample">http://avahi.org/wiki/PythonPublishExample</a></div>
<div> - I have two shells open, and run the same script in each shell</div><div><br></div><div>Results:</div><div><br></div><div>The first execution starts the Demo Service and can be seen when running `avahi-browse -a`.</div>
<div><br></div><div>The second execution appears to go smoothly, the group state change goes through 'ENTRY_GROUP_REGISTERING'->'ENTRY_GROUP_ESTABLISHED', but nothing appears on the avahi browser. I would have expected a group state change to 'ENTRY_GROUP_COLLISION' here.</div>
<div><br></div><div>Additionally, the underlying avahi library is doing collisions properly - I can check that by running </div><div><br></div><div><div>> avahi-publish -s 'Demo Service' _demo._tcp 1234</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
> Failed to add service: Local name collision</div></div><div><br></div><div>Is there a problem with python-avahi and dbus in handling the local name collisions?</div><div><br></div><div>Regards,</div><div>Daniel Stonier.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">