Pyro2.3 problem

Golawala, Moiz M (GE Infrastructure) Moiz.Golawala at ge.com
Wed May 25 13:31:49 EDT 2005


Hi All, 

I am seeing some interesting behavior with Pyro 2.3. I created a server using Pyro2.2 and a client on a different machine with Python2.2 and communication was just fine (I am not using a Name server).
However when I upgraded the client to Pyro2.3 (the server was sill on Pyro2.2) and try and communicate with the server, I get a bunch of exception telling me that there is a problem with the URI etc..

My server code is simple:
 
import MyClass
from Pyro.ext import remote_nons

remote_nons.provide_server_object(MyClass.MyClass(), 'myhost', 'myhost', 9199)
sys.exit(remote_nons.handle_request())


My client code is:

from Pyro.ext import remote_nons
s = remote_nons.get_server_object('Myhost','Myhost',9199)
s.helloWorld()

Please can someone tell me why the above code would work when both client and server are running Pyro2.2 but not when server is on Pyro2.2 and client is on Pyro2.3

Any help is greatly appreciated.

Thanks,
Moiz Golawala
GE Infrastructure, Security
Software Engineer
Enterprise Solutions

T 561 912 5972
F 561 994 6572
E moiz.golawala at ge.com 
www.gesecurity.com

791 Park of Commerce Blvd., Suite 100
Boca Raton, FL, 33487, U.S.A.
GE Security, Inc.




More information about the Python-list mailing list