[omniORB] problems with omnipy and argument types
Duncan Grisby
dgrisby@uk.research.att.com
Tue, 13 Feb 2001 10:38:29 +0000
On Monday 12 February, jnye@micro-optics.com wrote:
[...]
> The server that implements the EventLogger is written in C++ and is
> constantly running. It is implemented as a persistent object. I've written
> clients in C++ that use it with no problem. When using python, I can get
> trivial operations to work on it (some basic get/set operations), but I
> cannot get the log operation to work. I always get a BAD_PARAM error and it
> does not make sense to me why I would get that. Here is my python code:
omniORBpy throws BAD_PARAM when it thinks the types of arguments are
incorrect. (C++ would have a compile-time error in the same
situation.) However, it looks from your code like you are using the
correct types. Please run your code with command line arguments
-ORBtraceLevel 15 -ORBtraceInvocations. That should tell us where (in
the C++ code) the BAD_PARAM is thrown from, which will help track it
down.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --