adapter.find fails with Python

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
Yes, that's a bug
Cheers,
Benoit.
a source patch would be very helpful since i don't know how to work around this problem.
Bye,
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,
- Mark
ok, now i'm utterly impressed. That's what i would call a fast help
Thank's a lot, it works perfectly!
Bye,
Matthias