
Originally Posted by
Gilles
I want to use Icegrid to run my server with my client application.
I use :
icegridnode --Ice.Config=config.grid
icegridadmin --Ice.Config=config.grid -e "application add 'application.xml'"
For my problems
I have ICE 3.3.0 and I don't have Icegrid.py, but I have the follow files:
IceGrid_Query_ice.py
IceGrid_Registry_ice.py
IceGrid_Session_ice.py
....
IceGrid is a package, not a .py file. It sounds to me like your PYTHONPATH is not setup correctly. In order for this demo to work you must be able to do something like this:
Code:
$ python
>>> import Ice
>>> import IceGrid
If you cannot do that without error, then your system is configured incorrectly.
...
I don't import IceGrid.py and I don't have any error with
registry = IceGrid.RegistryPrx.checkedCast(re)
but the function go to the except section. If a run the sample code with C++ I dont have any error.
I hope my new Explanation is better
Thanks
I suggest you configure your system correctly, and if you are still having problems please report back. You also need to tell us more information, as as the versions of Ice, Python and the operating system you are using, and the exact error messages or exceptions you are encountering.