Hi
I am trying to use Twisted and PB but running into the below error in the 
zope.interface module.

I am running Python 3.3 and zope.interface version 4.0.3. I am running this on 
a RedHat system.

Does anybody know how to get around this problem?





bash-3.2$ python pb_client.py


Traceback (most recent call last):

  File
"pb_client.py", line 2, in <module>

    from
twisted.spread import pb


  File
"/home/abhat1/python3.3/lib/python3.3/site-packages/twisted/spread/pb.py",
line 40, in <module>

    from
twisted.cred.credentials import IAnonymous, ICredentials


  File
"/home/abhat1/python3.3/lib/python3.3/site-packages/twisted/cred/credentials.py",
line 111, in <module>

    class
DigestedCredentials(object):


  File
"/home/abhat1/python3.3/lib/python3.3/site-packages/twisted/cred/credentials.py",
line 115, in DigestedCredentials

   
implements(IUsernameHashedPassword, IUsernameDigestHash)


  File
"/home/abhat1/python3.3/lib/python3.3/site-packages/zope/interface/declarations.py",
line 405, in implements

    raise
TypeError(_ADVICE_ERROR % 'implementer')

TypeError: Class advice impossible in Python3.  Use the @implementer class 
decorator instead.


                                          
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to