[ZODB-Dev] Errors running a Stress Test

Tim Peters tim at zope.com
Tue Mar 23 13:05:42 EST 2004


[Brandon Ehle]
> ...
> You wanted all the exceptions that I did not post last time so here
> goes. :)

Thanks!

> *****
> I get one of these at startup (server side) when the DB is being
> created.  Is this just an error related to fact that it's looking for
> the database before it exists?
>
> Traceback (most recent call last):
>  File "C:\Python23\Lib\site-packages\ZEO\zrpc\connection.py",
        line 266, in handle_request
>    ret = meth(*args)
>  File "C:\Python23\Lib\site-packages\ZEO\StorageServer.py",
        line 238,in loadEx
>    return self.storage.loadEx(oid, version)
>  File "C:\Python23\Lib\site-packages\ZODB\FileStorage\FileStorage.py",
        line 529, in loadEx
>    pos = self._lookup_pos(oid)
>  File "C:\Python23\Lib\site-packages\ZODB\FileStorage\FileStorage.py",
        line 520, in _lookup_pos
>    raise POSKeyError(oid)
> POSKeyError: 0000000000000000

Right.  You'll always get a POSKeyError on oid 0 (the root object) when
creating a new database; it's expected (indeed, inevitable).  So this one
won't change, but should be seen only once.




More information about the ZODB-Dev mailing list