Archived
This forum has been archived. Please start a new discussion on GitHub.
adapter.find fails with Python
hiasl
in Help Center
Hi,
when calling "adapter.find(Ice.stringToIdentity(ID))" and ID is not registered, then the call fails without an exceptable exception:
python: ObjectAdapter.cpp:946: PyObject* adapterFind(IcePy::ObjectAdapterObject*, PyObject*): Assertion `wrapper' failed.
I use Ice*-3.0.1. It seems that this is a bug?
Thanks for help
Matthias
when calling "adapter.find(Ice.stringToIdentity(ID))" and ID is not registered, then the call fails without an exceptable exception:
python: ObjectAdapter.cpp:946: PyObject* adapterFind(IcePy::ObjectAdapterObject*, PyObject*): Assertion `wrapper' failed.
I use Ice*-3.0.1. It seems that this is a bug?
Thanks for help
Matthias
0
Comments
-
Hi Matthias,
I've attached a ZIP file containing replacements for ObjectAdapter.cpp and Communicator.cpp. Extract the archive, copy the files to the directory IcePy-3.0.1/modules/IcePy, then rebuild. Let us know if you have any trouble.
Thanks again,
- Mark0
