IceGrid Python Simple Demo Hangs if Tracing Enabled

jharrisjharris Member John HarrisOrganization: HTG Capital PartnersProject: Trading
I noticed this in my application and had to go back to the 'simple' demo to track down the issue.

Application.run() is never called in the IceGrid 'simple' python demo if you have a non-zero Ice.Trace.Network property set:
<adapter name="Hello" endpoints="tcp">
<properties><property name="Ice.Trace.Network" value="1"/></properties>

This causes the application to hang in Communicator.initialize(), which is before the call to the overridden run() method.

Setting Ice.LogFile fixes it for some reason.

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi John,

    Thank you for reporting this strange problem. We are able to reproduce it.

    Best regards,
    Bernard
Sign In or Register to comment.