[Zope] AttributeError : __basicnew__
Pascal Samuzeau
samuzeau@oreka.com
Thu, 16 May 2002 14:53:56 +0100
Hi,
I have written a little product, and I wanted to use of Interface.
But an attribute error of __basicnew__ appears.
What __basicnew__ for ??
How do I have to change my interface ??
Here is the AttributeError code :
Traceback (innermost last):
File D:\Zope\lib\python\ZODB\Connecting.py, line 544, in setstate
File D:\Zope\lib\python\ZODB\Connecting.py, line 217, in
_persistent_load
AttributeError: Interface instance has no attribute '__basicnew__'
Here is my interface :
from Interface import Base
class Annuaire(Base):
"An Annuaire"
def getMots(self):
"Returns number of votes cast for a given response"
def getLigneun(self):
"Returns the line #1 "
def getFile(self):
"Returns the filename"
Sincerily
PS
--------------------------------------------------
Oreka ! Nous sommes l'internet moins cher !
Surfez 25% moins cher avec http://www.oreka.com