tinyp2p - trying to get it to work

Fantus fantus at poczta.fm
Sun Oct 7 23:51:27 CEST 2007


I am doing a small research and I found this:


I tried to get it to work. So far I managed to run it as a server using 
a command:

 > python tinyp2p.py haslo server 2233

It starts listening on a given port so I assume it works fine (I can 
telnet from other machine to on 2233)

Now when I try to run a client using following command:

 > python tinyp2p.py haslo client koniki

it gives me some strange output and erros:

Traceback (most recent call last):
   File "tinyp2p.py", line 14, in ?
     for url in pxy(ar[3]).f(pw(ar[3]),0,[]):
   File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
     return self.__send(self.__name, args)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
   File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
     return self._parse_response(h.getfile(), sock)
   File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response
     return u.close()
   File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
     raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'exceptions.TypeError:coercing to Unicode: 
need string or buffer, list found'>

Can anybody help me to solve this? Please. I did browse google but found 


More information about the Python-list mailing list