Pyro2.3 problem

  • Thread starter Golawala, Moiz M (GE Infrastructure)
  • Start date
G

Golawala, Moiz M (GE Infrastructure)

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 (e-mail address removed)
www.gesecurity.com

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

Irmen de Jong

Golawala said:
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..
[...]

Why are you still using this ancient version?! Pyro 2.2/2.3 is
almost 4 (four) years old! There have been uncountable improvements
and fixes in the versions after that!

Please upgrade to a later version, 3.4 or 3.5beta (released last february).

--Irmen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top