Hi, I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, it seemed to publish the changes but the folder was still locked. On later tries, I encounter an error when I try to access the page after saving changes. Any suggestions? Thanks, Cathy ----- Catherine E. Reinehr Webmaster & Publications Designer Huntingdon College 1500 E. Fairview Ave. Montgomery, AL 36106 (334) 833-4429 / Flowers 103
catherine, what do you mean by version? what zope and additional products are you using? robert Catherine E. Reinehr wrote:
Hi,
I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, it seemed to publish the changes but the folder was still locked. On later tries, I encounter an error when I try to access the page after saving changes. Any suggestions?
Thanks, Cathy
-----
Catherine E. Reinehr Webmaster & Publications Designer Huntingdon College 1500 E. Fairview Ave. Montgomery, AL 36106 (334) 833-4429 / Flowers 103
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Catherine E. Reinehr schrieb:
Hi,
I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, it seemed to publish the changes but the folder was still locked. On later tries, I encounter an error when I try to access the page after saving changes. Any suggestions?
The built in version handling was deprecated long ago for exactly these problems. Which Zope version are you using? - back up your Data.fs(s) - export your structure as it is (better do this per root element) - undo your last steps (this is optional in case you cannot see important parts due to version lock) and export these objects as well - stop zope/zeo and delete Data.fs(s), restart it and create your site again using your above exports. - do not use zope versions anymore. if your zope is old, try to upgrade while you are working on it. In this case, you can skip step 4. HTH Tino
I'm running 2.6.2. What's the most recent stable release? 2.10.3? I hate to say this, but my Zope knowledge is very limited. I'm really only using it because it's what my predecessor used to build the web site in the first place, and she's not a whole lot of help now. I went here (http://wiki.zope.org/ZODB/FileStorageBackup) to read up on backups, but I'm afraid it doesn't make a whole lot of sense to me. ----- Catherine E. Reinehr Webmaster & Publications Designer Huntingdon College 1500 E. Fairview Ave. Montgomery, AL 36106 (334) 833-4429 / Flowers 103 -----Original Message----- From: Tino Wildenhain [mailto:tino@wildenhain.de] Sent: Tuesday, April 10, 2007 10:51 PM To: Catherine E. Reinehr Cc: zope@zope.org Subject: Re: [Zope] Problem with using versions. The built in version handling was deprecated long ago for exactly these problems. Which Zope version are you using? - back up your Data.fs(s) - export your structure as it is (better do this per root element) - undo your last steps (this is optional in case you cannot see important parts due to version lock) and export these objects as well - stop zope/zeo and delete Data.fs(s), restart it and create your site again using your above exports. - do not use zope versions anymore. if your zope is old, try to upgrade while you are working on it. In this case, you can skip step 4. HTH Tino
On Wed, Apr 11, 2007 at 09:00:12AM -0500, Catherine E. Reinehr wrote:
I'm running 2.6.2. What's the most recent stable release? 2.10.3?
Yes, but the Version feature was removed after zope 2.7.
From the changelog for zope 2.8: "* Removed Version objects from the add menu. Versions are agreed to be a feature that should not be used as it is not well implemented and allows for data loss."
I hate to say this, but my Zope knowledge is very limited. I'm really only using it because it's what my predecessor used to build the web site in the first place, and she's not a whole lot of help now.
That's never a fun situation to be in with any technology... if your budget affords it, it might be cost effective to bring in a consultant for a short time to explore your predecessor's system and get you up to speed on it. To learn about versions, read this: http://www.plope.com/Books/2_7Edition/ZopeServices.stx#1-3 especially note the "Caveat: Versions and ZCatalog" which might be related to your problems (just guessing... we don't know if you're using a ZCatalog).
I went here (http://wiki.zope.org/ZODB/FileStorageBackup) to read up on backups, but I'm afraid it doesn't make a whole lot of sense to me.
We can't guess which parts don't make sense to you :) Maybe come back with more specific questions here or on IRC? The #zope channel on irc.freenode.net is often quiet, but there's a lot of knowledgable zope people in #plone and that channel is more active. -- Paul Winkler http://www.slinkp.com
Okay. I'll see about upgrading to 2.10.3 and check out that web site to read up on versions. I think what I may need to do is just recreate my changes outside of the version, which of course will take longer, but at least I won't risk losing anything. I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/ Thanks, all, for the help; I really appreciate it! Cathy ----- Catherine E. Reinehr Webmaster & Publications Designer Huntingdon College 1500 E. Fairview Ave. Montgomery, AL 36106 (334) 833-4429 / Flowers 103 -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Paul Winkler Sent: Wednesday, April 11, 2007 1:07 PM To: zope@zope.org Subject: Re: [Zope] Problem with using versions. On Wed, Apr 11, 2007 at 09:00:12AM -0500, Catherine E. Reinehr wrote:
I'm running 2.6.2. What's the most recent stable release? 2.10.3?
Yes, but the Version feature was removed after zope 2.7.
From the changelog for zope 2.8: "* Removed Version objects from the add menu. Versions are agreed to be a feature that should not be used as it is not well implemented and allows for data loss."
I hate to say this, but my Zope knowledge is very limited. I'm really only using it because it's what my predecessor used to build the web site in the first place, and she's not a whole lot of help now.
That's never a fun situation to be in with any technology... if your budget affords it, it might be cost effective to bring in a consultant for a short time to explore your predecessor's system and get you up to speed on it. To learn about versions, read this: http://www.plope.com/Books/2_7Edition/ZopeServices.stx#1-3 especially note the "Caveat: Versions and ZCatalog" which might be related to your problems (just guessing... we don't know if you're using a ZCatalog).
I went here (http://wiki.zope.org/ZODB/FileStorageBackup) to read up on backups, but I'm afraid it doesn't make a whole lot of sense to me.
We can't guess which parts don't make sense to you :) Maybe come back with more specific questions here or on IRC? The #zope channel on irc.freenode.net is often quiet, but there's a lot of knowledgable zope people in #plone and that channel is more active. -- Paul Winkler http://www.slinkp.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Wed, Apr 11, 2007 at 01:53:42PM -0500, Catherine E. Reinehr wrote:
I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/
Not your fault, all the old documentation encourages people to use them :( -- Paul Winkler http://www.slinkp.com
Catherine E. Reinehr wrote at 2007-4-11 13:53 -0500:
I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/
"Version" was a very nice thing. We used it intensively back in the old days of TTW development. They are far less usefull, as soon as "global" objects (like catalogs and idexes) are involved. "Version"s were really broken only for a short time span -- after the massive restructuring of the ZODB code. The bug introduced there was small (a "break" at the wrong place) but very far reaching (the "Version" stopped to process its objects after the first one). The problem was quickly fixed. -- Dieter
Catherine E. Reinehr wrote at 2007-4-10 20:01 -0500:
I've been working in a version for over a week and finally finished my changes today. I saved them and quit the version, but the affected folder still has a lock on it. I've tried four times now to save my changes, and it's just not working. The first time, it seemed to publish the changes but the folder was still locked. On later tries, I encounter an error when I try to access the page after saving changes. Any suggestions?
When the ZODB 3.2 code has been restructured (previously, it was tense and efficient but very difficult to read) some bad bugs have been introduced affecting the "Version" handling. Maybe, you are using such a ZODB version. In this case, searching old mailing list article may come up with some information on how to fix your problem. -- Dieter
participants (5)
-
Catherine E. Reinehr -
Dieter Maurer -
Paul Winkler -
robert rottermann -
Tino Wildenhain