[omniORB] omniORBpy newbie questions

Stefan Seefeld seefelds@MAGELLAN.UMontreal.CA
Thu, 10 Feb 2000 11:40:23 -0500


Harri Pasanen wrote:
> 
> I'm playing with omniORBpy.  While the ReleaseNote says that "The CORBA
> to Python mapping is extremely easy to use", I'm still struggling.  I
> presume my troubles can be attributed to my relative CORBA newbie
> status...
> 
> Anyway, I set about to translate the eg3_clt.cc to eg3_clt.py.  Below is
> how far I got.
> 
> The program runs as far as trying to call echoString()
> 
> Traceback (innermost last):
>   File "eg3_clt.py", line 67, in ?
>     result  = object.echoString(message)
> AttributeError: echoString

you need to downcast (narrow) your object so it becomes an
echo object.

Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: seefelds@magellan.umontreal.ca

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...