[Zope] Problem Packing Zope Database

Shaw, Mark Mark.Shaw@cadus.com
Fri, 14 Jan 2000 13:46:58 -0500


Oh Nooo!!

I am in the process of creating a Zope based web site.  I just now
encountered a problem where if I "Pack" my database from "Database
Management at /Control_Panel / Database", I cannot restart the database.
The error message that I receive is as follows:

I can restore a relatively recent copy of the DB and restart it, but as soon
as I pack it, it gets hosed again.  I guess that's the last time I pack my
database without first backing it up.  But who wants a db that they can't
pack.  Bummer!!!!

Do I start over with Zope again or do I change my server engine???? This was
going so well :-(

Running Zope-2.1.2 on RedHat 6.1.

________________________________________

[root@www5 Zope-2.1.2-linux2-x86]# ./stop
[root@www5 Zope-2.1.2-linux2-x86]# ./start
[root@www5 Zope-2.1.2-linux2-x86]# Traceback (innermost last):
  File "/opt/zope/Zope-2.1.2-linux2-x86/z2.py", line 436, in ?
    exec "import "+MODULE in {}
  File "<string>", line 1, in ?
  File "/opt/zope/Zope-2.1.2-linux2-x86/lib/python/Zope/__init__.py", line
130,
in ?
    OFS.Application.initialize(c)
  File "/opt/zope/Zope-2.1.2-linux2-x86/lib/python/OFS/Application.py", line
306
, in initialize
    app.Control_Panel.initialize_cache()
  File "/opt/zope/Zope-2.1.2-linux2-x86/lib/python/ZODB/Connection.py", line
391
, in setstate
    p, serial = self._storage.load(oid, self._version)
  File "/opt/zope/Zope-2.1.2-linux2-x86/lib/python/ZODB/FileStorage.py",
line 58
4, in load
    try: return self._load(oid, version, self._index, self._file)
  File "/opt/zope/Zope-2.1.2-linux2-x86/lib/python/ZODB/FileStorage.py",
line 56
0, in _load
    pos=_index[oid]
KeyError:

[root@www5 Zope-2.1.2-linux2-x86]#


Thanks in advance for any help provided.

	-Mark