[zope2-tracker] [Bug 392452] [NEW] Error reading oid

amitk amit.kshirsagar at yahoo.co.in
Fri Jun 26 05:06:48 EDT 2009


Public bug reported:

>>> reindex()
ERROR:ZODB.Connection:Couldn't load state for 0x0c1f88
Traceback (most recent call last):
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 704, in setstate
    self._setstate(obj)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 758, in _setstate
    self._reader.setGhostState(obj, p)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/serialize.py", line 495, in setGhostState
    state = self.getState(pickle)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/serialize.py", line 488, in getState
    return unpickler.load()
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/serialize.py", line 436, in _persistent_load
    return self._conn.get(oid)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 207, in get
    p, serial = self._storage.load(oid, self._version)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 1144, in load
    return self._storage.load(oid, self._base_version)
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 746, in load
    return self.loadEx(oid, version)[:2]
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 769, in loadEx
    data, tid, ver = self._server.loadEx(oid, version)
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/ServerStub.py", line 192, in loadEx
    return self.rpc.call("loadEx", oid, version)
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/zrpc/connection.py", line 536, in call
    raise inst # error raised by server
CorruptedDataError: Error reading oid 0x0c23d7.  Found '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xeb\xe0#\x00\x00\x00\x00\x00\x00\x0                      \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' at 3865479965
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/zenoss/zenoss/Products/ZenModel/zendmd.py", line 68, in reindex
    dmd.Devices.reIndex()
  File "/usr/local/zenoss/zenoss/Products/ZenModel/DeviceClass.py", line 724, in reIndex
    for comp in dev.getDeviceComponentsNoIndexGen():
  File "/usr/local/zenoss/zenoss/Products/ZenModel/Device.py", line 576, in getDeviceComponentsNoIndexGen
    for obj in rel():
  File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 67, in __call__
    return [ob.__of__(self) for ob in self._objects.values()]
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 704, in setstate
    self._setstate(obj)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 758, in _setstate
    self._reader.setGhostState(obj, p)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/serialize.py", line 495, in setGhostState
    state = self.getState(pickle)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/serialize.py", line 488, in getState
    return unpickler.load()
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/serialize.py", line 436, in _persistent_load
    return self._conn.get(oid)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 207, in get
    p, serial = self._storage.load(oid, self._version)
  File "/usr/local/zenoss/zenoss/lib/python/ZODB/Connection.py", line 1144, in load
    return self._storage.load(oid, self._base_version)
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 746, in load
    return self.loadEx(oid, version)[:2]
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 769, in loadEx
    data, tid, ver = self._server.loadEx(oid, version)
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/ServerStub.py", line 192, in loadEx
    return self.rpc.call("loadEx", oid, version)
  File "/usr/local/zenoss/zenoss/lib/python/ZEO/zrpc/connection.py", line 536, in call
    raise inst # error raised by server
ZODB.FileStorage.format.CorruptedDataError: Error reading oid 0x0c23d7.  Found '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xeb\xe0#\x0                      \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' at 3865479965
>>>

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
Error reading oid 
https://bugs.launchpad.net/bugs/392452
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list