[ZODB-Dev] 3.10.0b6 traceback

Jim Fulton jim at zope.com
Fri Sep 10 08:07:49 EDT 2010


These both look like ZODB bugs.

Thanks.

Jim

On Fri, Sep 10, 2010 at 2:48 AM, Wichert Akkerman <wichert at wiggy.net> wrote:
> And another one, not sure if it is related:
>
> Traceback (most recent call last):
>   File
> "/srv/software/buildout/eggs/WebError-0.10.2-py2.6.egg/weberror/errormiddleware.py",
> line 162, in __call__
>     app_iter = self.application(environ, sr_checker)
>   File
> "/srv/software/buildout/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py",
> line 88, in __call__
>     app_iter = self.application(environ, replace_start_response)
>   File
> "/srv/software/buildout/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py",
> line 23, in __call__
>     result = self.application(environ, save_status_and_headers)
>   File
> "/srv/software/buildout/eggs/repoze.filesafe-1.0-py2.6.egg/repoze/filesafe/__init__.py",
> line 31, in __call__
>     return self.app(environ, start_response)
>   File
> "/srv/software/buildout/eggs/Beaker-1.5.4-py2.6.egg/beaker/middleware.py",
> line 152, in __call__
>     return self.wrap_app(environ, session_start_response)
>   File
> "/srv/software/buildout/eggs/repoze.bfg-1.3a12-py2.6.egg/repoze/bfg/router.py",
> line 91, in __call__
>     root = root_factory(request)
>   File "/srv/software/buildout/src/s4u.site/s4u/site/run.py", line 111,
> in get_root
>     return appmaker(conn.root())
>   File
> "/srv/software/buildout/src/s4u.site/s4u/site/content/__init__.py", line
> 27, in appmaker
>     return zodb_root["cms_root"]
>   File "/usr/lib/python2.6/UserDict.py", line 18, in __getitem__
>     if key in self.data:
>   File
> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/persistent/mapping.py",
> line 30, in __get__
>     return self.func(inst)
>   File
> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/persistent/mapping.py",
> line 99, in data
>     data = self.__dict__.pop('_container')
> KeyError: 'pop(): dictionary is empty'
>
>
> On 2010-9-10 08:40, Wichert Akkerman wrote:
>> I just got the following traceback from a system running 3.10.0b6:
>>
>> Traceback (most recent call last):
>>     File
>> "/srv/software/buildout/eggs/WebError-0.10.2-py2.6.egg/weberror/errormiddleware.py",
>> line 162, in __call__
>>       app_iter = self.application(environ, sr_checker)
>>     File
>> "/srv/software/buildout/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py",
>> line 88, in __call__
>>       app_iter = self.application(environ, replace_start_response)
>>     File
>> "/srv/software/buildout/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py",
>> line 23, in __call__
>>       result = self.application(environ, save_status_and_headers)
>>     File
>> "/srv/software/buildout/eggs/repoze.filesafe-1.0-py2.6.egg/repoze/filesafe/__init__.py",
>> line 31, in __call__
>>       return self.app(environ, start_response)
>>     File
>> "/srv/software/buildout/eggs/Beaker-1.5.4-py2.6.egg/beaker/middleware.py",
>> line 152, in __call__
>>       return self.wrap_app(environ, session_start_response)
>>     File
>> "/srv/software/buildout/eggs/repoze.bfg-1.3a12-py2.6.egg/repoze/bfg/router.py",
>> line 91, in __call__
>>       root = root_factory(request)
>>     File "/srv/software/buildout/src/s4u.site/s4u/site/run.py", line 111,
>> in get_root
>>       return appmaker(conn.root())
>>     File
>> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/Connection.py",
>> line 359, in root
>>       return RootConvenience(self.get(z64))
>>     File
>> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/Connection.py",
>> line 257, in get
>>       self._cache.new_ghost(oid, obj)
>> AssertionError: The given oid is already in the cache
>>
>> is that likely to be a ZODB bug, or a bug in our application?
>>
>> Wichert.
>>
>
>
> --
> Wichert Akkerman <wichert at wiggy.net>   It is simple to make things.
> http://www.wiggy.net/                  It is hard to make things simple.
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> https://mail.zope.org/mailman/listinfo/zodb-dev
>



-- 
Jim Fulton


More information about the ZODB-Dev mailing list