[ZODB-Dev] Changing Baseclass
Dieter Maurer
dieter at handshake.de
Thu Nov 27 18:46:31 EST 2003
Thomas Guettler wrote at 2003-11-27 13:12 +0100:
> I changed the baseclass of an object. I added Persistent
> to the list of baseclasses.
>
> When I unpickle the object (which was stored before the
> change) I get:
>
> __init__() takes exactly 2 arguments (1 given)
>
> If I build a new application, without unpickling the
> old objects everything works fine.
>
> This time it was no problem, since was no important data
> in the database. But it would be nice to know how to handle
> this if the database contains important data.
As an expert, you know the importance of the traceback ;-)
--
Dieter
More information about the ZODB-Dev
mailing list