CORBA Python Query
Diez B. Roggisch
deetsNOSPAM at web.de
Sun May 16 09:47:21 EDT 2004
Akhilesh S. Shirbhate wrote:
> ---------------------------------
> Traceback (innermost last):
> File "./msg-server.py", line 20, in ?
> servant = POA.MESSAGING.mail(mail())
> NameError: POA
> ---------------------------------
No wonder, as you don't import a module named POA. As you seem to look for
the generated class of your dynamically loaded idl, you might try to use
the rootpoa, thus writing
servant = poa.MESSAGING.mail(mail())
notice the lower case.
If thats no help, look into the examples from orbit python, I bet you can
find something working there.
--
Regards,
Diez B. Roggisch
More information about the Python-list
mailing list