Re: [Zope] version trouble
On Mon, Feb 04, 2002 at 06:07:59PM -0500, Chris Kratz wrote:
Hi Steffen,
If Dieters suggestion didn't work, you might try going back into the version (or creating one with the same identifier, zope doesn't seem to care). Then go to each locked object and make a minor change (usually saving again is good enough). Then go save your version. That will usually unlock the orphaned locked objects. One caveat, if the item that is locked is a folder and there is nothing in the folder that is locked, create an object in that folder in your version, save the version, and then delete the object. This has worked for us.
This doesn't work, because if I try to save the locked files while working in the new version 'No longer active' I'm getting an error message: Error Type: VersionLockError Error Value: ('\'\\x00\\x00\\x00\\x00\\x00\\x00")\'', 'No longer active') MfG Steffen -- Es gibt keine perfekten Menschen, nur perfekte Absichten.
Hi Steffen, Have you deleted the original Version? If so, you might try restoring it with Undo on the container object. You can then enter that version, resave the objects and then save the version again. If you try the recreate a version to replace the old one, make sure that it is named exactly the same and in the same location. I highly doubt that the original name of that version was 'No Longer Active'. I think that is what zope says if it cannot find the version. Do you know what the original version was named? The error you are getting below is the standard locked object message and implies that you are not in the same version that has the object locked. Hence you cannot resave the object. Good luck, -Chris On Wednesday 06 February 2002 06:37 am, Steffen Hausmann wrote:
On Mon, Feb 04, 2002 at 06:07:59PM -0500, Chris Kratz wrote:
Hi Steffen,
If Dieters suggestion didn't work, you might try going back into the version (or creating one with the same identifier, zope doesn't seem to care). Then go to each locked object and make a minor change (usually saving again is good enough). Then go save your version. That will usually unlock the orphaned locked objects. One caveat, if the item that is locked is a folder and there is nothing in the folder that is locked, create an object in that folder in your version, save the version, and then delete the object. This has worked for us.
This doesn't work, because if I try to save the locked files while working in the new version 'No longer active' I'm getting an error message:
Error Type: VersionLockError Error Value: ('\'\\x00\\x00\\x00\\x00\\x00\\x00")\'', 'No longer active')
MfG Steffen
-- Chris Kratz Systems Analyst/Programmer VistaShare LLC www.vistashare.com
On Wed, Feb 06, 2002 at 12:13:00PM -0500, Chris Kratz wrote:
Hi Steffen,
Have you deleted the original Version? If so, you might try restoring it with Undo on the container object. You can then enter that version, resave the objects and then save the version again. If you try the recreate a version to replace the old one, make sure that it is named exactly the same and in the same location. I highly doubt that the original name of that version was 'No Longer Active'. I think that is what zope says if it cannot find the version. Do you know what the original version was named?
I didn't delete the version. I was just editing files of a version while the version wasn't active ( take a look at my first mail if you are interested how i did that ). The version that I was using is called 'tmp'. But if I try to change the locked files while I'm working in the version 'tmp' the 'VersionLockError' occurs. MfG Steffen -- Es gibt keine perfekten Menschen, nur perfekte Absichten.
participants (2)
-
Chris Kratz -
Steffen Hausmann