AW: Hilfe: Zope startet nicht mit ERROR ZODB.Connection

<[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
 
Hallo Christian, hallo Liste, 

Ich bin nicht weiter gekommen. 
[1]  Mit dein Produkt bekomme ich ein POSKeyError. So war die Traceback:

Starting debugger (the name "app" is bound to the top-level Zope object)
  from zope.app.content_types import find_binary
----------------------------------------------
MultiDBStart abgearbeitet.
----------------------------------------------
2009-06-09 20:30:27 ERROR ZODB.Connection Couldn't load state for 0x01
Traceback (most recent call last):
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 804, in setstate
    self._setstate(obj)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 863, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 543, in load_multi_oid
    return reader.load_oid(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 537, in load_oid
    return self._conn.get(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 244, in get
    p, serial = self._storage.load(oid, self._version)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line 523, in load
    pos = self._lookup_pos(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line 515, in _lookup_pos
    raise POSKeyError(oid)
POSKeyError: 0x2793
2009-06-09 20:30:27 ERROR ZODB.Connection Couldn't load state for 0x01
Traceback (most recent call last):
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 804, in setstate
    self._setstate(obj)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 863, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 543, in load_multi_oid
    return reader.load_oid(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 537, in load_oid
    return self._conn.get(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 244, in get
    p, serial = self._storage.load(oid, self._version)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line 523, in load
    pos = self._lookup_pos(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line 515, in _lookup_pos
    raise POSKeyError(oid)
POSKeyError: 0x2793
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "D:\Programme\2.11.1\Zope\lib\python\Zope2\__init__.py", line 51, in app
    startup()
  File "D:\Programme\2.11.1\Zope\lib\python\Zope2\__init__.py", line 47, in startup
    _startup()
  File "D:\Programme\2.11.1\Zope\lib\python\Zope2\App\startup.py", line 110, in startup
    OFS.Application.initialize(application)
  File "D:\Programme\2.11.1\Zope\lib\python\OFS\Application.py", line 309, in initialize
    initializer.initialize()
  File "D:\Programme\2.11.1\Zope\lib\python\OFS\Application.py", line 330, in initialize
    self.install_cp_and_products()
  File "D:\Programme\2.11.1\Zope\lib\python\OFS\Application.py", line 350, in install_cp_and_products
    app._setObject('Control_Panel', cpl)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 804, in setstate
    self._setstate(obj)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 863, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 543, in load_multi_oid
    return reader.load_oid(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\serialize.py", line 537, in load_oid
    return self._conn.get(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\Connection.py", line 244, in get
    p, serial = self._storage.load(oid, self._version)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line 523, in load
    pos = self._lookup_pos(oid)
  File "D:\Programme\2.11.1\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line 515, in _lookup_pos
    raise POSKeyError(oid)
ZODB.POSException.POSKeyError: 0x2793

 
[2]  Die Versuche die POSKeyError mit fsrecover.py waren wie zum Letzt erfolglos:
D:\Programme\2.11.1\Zope\lib\python\ZODB>python fsrecover.py D:\Web\var\Data.fs D:\Web\var\Data.fs.rec
Recovering D:\GS1-Web\var\Data.fs into D:\GS1-Web\var\Data.fs.rec
. 1 . 2 . 3 . 4 . 5 . 6 . 7 . 8 . 9 . 0
0 bytes removed during recovery


[3] Der recover.py von ZODB reparieren (http://www.veit-schiele.de/dienstleistungen/technische-dokumentation/plone-entwicklerhandbuch/produktivserver/zodb-reparieren.html)
kann ich nicht laufen. Ich bekomme die Meldung:
>>> import recover
>>> recover.check(app)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'app' is not defined

Was ist deine/eure Diagnose? Welche Idden?

Gruß
Laleh





_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
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.