[Zope] version deleted but there is still a version lock

Andy Pahne ap@net22.net
Mon, 15 Nov 1999 15:02:31 +0100


----- Original Message -----
From: Paul Everitt <paul@digicool.com>
To: Andy Pahne <ap@net22.net>
Cc: <zope@zope.org>
Sent: Monday, November 15, 1999 2:31 PM
Subject: Re: [Zope] version deleted but there is still a version lock


> Andy Pahne wrote:
> > I have a Zope folder which contained a version a long time ago. The
version
> > was deleted, but in the management-screens I always get a version lock.
I
> > cannot add documents, and I cant change a few of the existing docs.

Paul Everitt then wrote :
> Yep, this happens to me a lot.  Fortunately it isn't that hard to fix --
> just create a new version in the same folder with the same id as the
> previous one (or go to Undo and remove the deletion of the Version).
> Once the Version is back, you can save the changes, discard the changes,
> etc.
>
> --Paul

Yes, that was the idea that I had first. But I can't create a version.
Here's the result if I try to do so:
The Server has encountered an error while publishing this resource.

Error Type: VersionLockError
Error Value: ("'\\000\\000\\000\\000\\000\\000\\002\\017'",
'projectsite/schomburg/dirki')

and in the source of the error-page:
Traceback (innermost last):
  File /zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /zope/Zope-2.0.1-src/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
  File /zope/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 169, in
publish
  File /zope/Zope-2.0.1-src/lib/python/ZODB/Transaction.py, line 237, in
commit
  File /zope/Zope-2.0.1-src/lib/python/ZODB/Connection.py, line 323, in
commit
    (Info: (('OFS.Folder', 'Folder'), '\000\000\000\000\000\000\002\017',
''))
  File /zope/Zope-2.0.1-src/lib/python/ZODB/FileStorage.py, line 502, in
store
    (Object: /zope/Zope-2.0.1-src/var/Data.fs)
VersionLockError: (see above)

???
Yours,
Andy