S
Samuel
Hi,
I am trying to get the files from this tutorial to work:
http://www.grisby.org/presentations/py10code.html
Direct link to the files:
http://www.grisby.org/presentations/py10code/adder.idl
http://www.grisby.org/presentations/py10code/adderServer.py
It produces the following error:
$ omniidl -bpython adder.idl && python adderServer.py
Traceback (most recent call last):
File "adderServer.py", line 23, in <module>
nameRoot = nameRoot._narrow(CosNaming.NamingContext)
File "/usr/lib/python2.5/site-packages/omniORB/CORBA.py", line 667,
in _narrow
return _omnipy.narrow(self, dest._NP_RepositoryId)
omniORB.CORBA.TRANSIENT: Minor: 0x41540002, COMPLETED_NO.
According to Google this might mean "Connect failed", however, I don't
understand why the server would open a connection. I expected it to
simply listen on a socket, but I probably just don't understand how it
works.
Can anyone please explain this?
-Samuel
I am trying to get the files from this tutorial to work:
http://www.grisby.org/presentations/py10code.html
Direct link to the files:
http://www.grisby.org/presentations/py10code/adder.idl
http://www.grisby.org/presentations/py10code/adderServer.py
It produces the following error:
$ omniidl -bpython adder.idl && python adderServer.py
Traceback (most recent call last):
File "adderServer.py", line 23, in <module>
nameRoot = nameRoot._narrow(CosNaming.NamingContext)
File "/usr/lib/python2.5/site-packages/omniORB/CORBA.py", line 667,
in _narrow
return _omnipy.narrow(self, dest._NP_RepositoryId)
omniORB.CORBA.TRANSIENT: Minor: 0x41540002, COMPLETED_NO.
According to Google this might mean "Connect failed", however, I don't
understand why the server would open a connection. I expected it to
simply listen on a socket, but I probably just don't understand how it
works.
Can anyone please explain this?
-Samuel