Re: strange exception

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FhYrjSM2SnSSKmZQ3swivPvzabtT6-a8+V1A3AYfnWCYA@mail.gmail.com>
On Thu, Dec 22, 2016 at 4:25 AM, Sanjay Rao <[email protected]> wrote:

> Does anyone has any idea that in what conditions this exception can occur ?
>

Not really. I don't recall ever seeing this. An off-hand guess would be
some sort of threading or (given your follow-up message) perhaps a
process-contention issue of some sort.

Please describe your setup, especially how you're using processes and
threads.

Jim


>
>   File "C:\Python27\lib\site-packages\zope\app\component\hooks.py", line
> 89, in getSiteManager
>     context, zope.component.getGlobalSiteManager())
>   File "C:\Python27\lib\site-packages\zope\app\component\hooks.py", line
> 95, in adapter_hook
>     return siteinfo.adapter_hook(interface, object, name, default)
>   File "C:\Python27\lib\site-packages\zope\app\component\site.py", line
> 407, in SiteManagerAdapter
>     current = getattr(current, '__parent__', None)
>   File "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\
> ZODB\Connection.py", line 899, in setstate
>     self._setstate(obj, oid)
>   File "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\
> ZODB\Connection.py", line 943, in _setstate
>     p, serial = self._storage.load(oid, '')
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\
> ZEO\ClientStorage.py", line 825, in load
>     result = self.loadBefore(oid, m64)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\
> ZEO\ClientStorage.py", line 851, in loadBefore
>     self._cache.store(oid, tid, end, data)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py",
> line 139, in _locked_wrapper
>     return func(inst, *args, **kwargs)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py",
> line 647, in store
>     self._store(oid, start_tid, end_tid, data, size)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py",
> line 661, in _store
>     nfreebytes = self._makeroom(size+1)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py",
> line 447, in _makeroom
>     del current[oid]
>   File "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\
> ZODB\fsIndex.py", line 167, in __delitem__
>     del tree[key[6:]]
> KeyError: '_\t'
>
> --
> You received this message because you are subscribed to the Google Groups
> "zodb" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jim Fulton
http://jimfulton.info

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.