Archived

This forum has been archived. Please start a new discussion on GitHub.

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

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

  • matthew
    matthew NL, Canada
    Thanks for the bug report. We'll look into fixing this for the upcoming Ice 3.4 release.
  • matthew
    matthew NL, Canada
    A work around for this bug, btw, is to import the modules in the opposite order.