~ [ZODB-Dev] DB() yields "argument 1 must be TimeStamp, not persistent.TimeStamp"

Tim Peters tim at zope.com
Thu Sep 2 14:48:05 EDT 2004


[Marty Jolly]
> Hi, I have installed Python v 2.3.3 and ZODB v 3.2.3 in order to test
> ZODB standalone.

You did more than *just* that, since doing just that much works fine.
You're going to have to remember what else you did.

> The test program failed during DB init with a TimeStamp type conflict. 
>
> From what I see the DB and BaseStorage code setup the conflict; but I
> can't get to the solution. No joy in the archives.  Would someone help a
> simple mind ~8^)   Thanks, Marty
>
> zodbTest.py

> from ZODB import FileStorage, DB
> storage = FileStorage.FileStorage('c:\\EbelInc Project\\Data
Migration\\Test.fs')
> db = DB(storage)
>
>      Inappropriate argument type: argument 1 must be TimeStamp, not
 persistent.TimeStamp

Indeed, there is no persistent.TimeStamp class in ZODB 3.2.3.  This
*suggests* you perhaps also installed an alpha or beta version of ZODB 3.3,
and left that installed then tried to install 3.2.3 on top of it.

But it's impossible to guess on this end.  For example, maybe you forced
your PYTHONPATH to an inappropriate value, etc.  With some luck, though, you
can remember what you did.



More information about the ZODB-Dev mailing list