[omniORB] omniORBPy and CORBA sequences

Marcus Gruendler runner@i5.informatik.rwth-aachen.de
Thu, 24 Aug 2000 16:33:08 +0200



Duncan Grisby schrieb:
> 
> On Wednesday 23 August, Marcus Gruendler wrote:
> 
> > I want to send HyperLinks via the storeHyperLinks() operation as
> > defined below.  But on the execution I get this error:
> >
> > BAD_PARAM: Minor: 0, Completed: COMPLETED_NO.
> 
> The code you posted should work. Can you run the client with a command
> line argument of "-ORBtraceLevel 10 -ORBtraceInvocations". That will
> indicate where the BAD_PARAM exception is thrown from. With any luck,
> that will show what's wrong.

Since I can call other operations from the python client on the server, I hope
it is no configuration error on my side. 

Here is the trace produced:

C:\Programme\GrecoHome\Extensions>..\bin\python Pythonclient.py -ORBtraceLevel
10 -ORBtraceInvocations
omniORB: The omniDynamic library is not linked.
omniORB: Creating ref to remote: boa<0x384f8fdd727c6b1700000002>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContext:1.0
omniORB: Initial reference `NameService' resolved from configuration file.
omniORB: Creating Python ref to remote: boa<0x384f8fdd727c6b1700000002>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContext:1.0
omniORB: Creating Python ref to remote: boa<0x384f8fdd727c6b1700000002>
 target id      : IDL:omg.org/CosNaming/NamingContext:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContext:1.0
omniORB: Invoke '_is_a' on remote: boa<0x384f8fdd727c6b1700000002>
omniORB: Invoke 'resolve' on remote: boa<0x384f8fdd727c6b1700000002>
omniORB: Creating Python ref to remote: root<0>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:RepoWriter:1.0
omniORB: Creating Python ref to remote: root<0>
 target id      : IDL:RepoWriter:1.0
 most derived id: IDL:RepoWriter:1.0
omniORB: Invoke '_is_a' on remote: root<0>
omniORB: Invoke 'storeHyperLinks' on remote: root<0>
omniORB: throw BAD_PARAM from pyMarshal.cc:436
Traceback (innermost last):
  File "Pythonclient.py", line 273, in ?
    storeHyperLinks([{'href':'http://slashdot.org', 'name':'slashdot is cool'}],
29)
  File "Pythonclient.py", line 224, in storeHyperLinks
    eo.storeHyperLinks(data,29)
  File "c:\programme\GrecoHome\Extensions\RepoWriter_idl.py", line 63, in
storeHyperLinks
    return _omnipy.invoke(self, "storeHyperLinks",
_0__GlobalIDL.RepoWriter._d_storeHyperLinks, args)
omniORB.CORBA.BAD_PARAM: Minor: 0, Completed: COMPLETED_NO.

C:\Programme\GrecoHome\Extensions>

-- 
 Marcus Gruendler
 runner@i5.informatik.rwth-aachen.de
 Chair for Information Systems & Database Technology
 RWTH-Aachen University, Germany