Re: trying to upgrade Pyro

Richard <[email protected]> Thu, 05 Mar 2015 23:10:15 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
When I look at the output of my Mac program, it still sees the older 
Pyro version:

  File "/Users/richard/Desktop/MyPython/remco/remco.py", line 31, in 
<module>
     flame = Pyro4.utils.flame.connect("10.0.1.29:9900")    # my PI
   File 
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/utils/flame.py", 
line 298, in connect
     proxy._pyroBind()
   File 
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/core.py", 
line 271, in _pyroBind
     return self.__pyroCreateConnection(True)
   File 
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/core.py", 
line 358, in __pyroCreateConnection
     msg = Message.recv(conn, None)
   File 
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/message.py", 
line 156, in recv
     msg = cls.from_header(connection.recv(cls.header_size))
   File 
"/Library/Python/2.7/site-packages/Pyro4-4.22-py2.7.egg/Pyro4/message.py", 
line 140, in from_header
     raise errors.ProtocolError("invalid data or unsupported protocol 
version")
Pyro4.errors.ProtocolError: invalid data or unsupported protocol version
logout

while installing 4.32 gave this output earlier:

RMA:Downloads richard$ sudo pip install Pyro4-4.34-py2.py3-none-any.whl
Unpacking ./Pyro4-4.34-py2.py3-none-any.whl
Downloading/unpacking serpent>=1.8 (from Pyro4==4.34)
   Downloading serpent-1.9-py2.py3-none-any.whl
Installing collected packages: Pyro4, serpent
   Found existing installation: serpent 1.4
     Uninstalling serpent:
       Successfully uninstalled serpent
Successfully installed Pyro4 serpent
Cleaning up...



On 05/03/15 22:47, Richard wrote:
> On my Mac I had Pyro 4.22. On my Raspberry Pi 2 I just installed Pyro 
> 4.32 (wheel).
> When trying to communicate I got the protocol version error. Looking 
> at the versions, my Mac was on 46, the Pi was on 47.
> So I installed the 4.32 version also on the Mac. But after that, the 
> protocol version was still on 46.
> What could be wrong here?
>
> Richard
>


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/