Home Bug Reports

IcePy: some Glacier2 objects are not accessible when IceGrid module is imported

vsevolodvsevolod Member Vsevolod FedorovOrganization: "NTC Komset"Project: telecom monitoring (ss7,sigtran,etc) software
Hello.

When I import Glacier2 module under python, all its objects can be accessed:
$ python
>>> import Glacier2  
>>> Glacier2.RouterPrx
<class 'Glacier2.RouterPrx'>
But when I import IceGrid module before Glacier2, I can not access some objects any more:
$ python
>>> import IceGrid, Glacier2
>>> Glacier2.RouterPrx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'RouterPrx'

Tested on Ice 3.3.1 under linux

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Thanks for the bug report. We'll look into fixing this for the upcoming Ice 3.4 release.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    A work around for this bug, btw, is to import the modules in the opposite order.
Sign In or Register to comment.