Re: [Zope] Possible disaster upgrading to 2.2.4
Jonathan Cheyne writes: > just to clarify three key messages that apprae immediately after starting > up. > > couldnt' import product.ZDbase Thus, install "ZDbase" or determine, why it can not import it. > [some blurge here] > unpack sequence of wrong size Hopefully this is a consequence of the previous problem. > [blurge] > cannot import name ZDiscussions You have ZDiscussion installed? Go for it. You must first fix the problems with the products. *Later*, you may delete everything, that depends on the products. Only then, you may delete the products (from both "Product_Management" and the file system! > i tried chown -R zope * and even tried running it as root. nope. This is unrelated to your current problems. You have objects that refer to products that are no longer there, at least not free of problems. You need to install the products and/or fix the problems with the import. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
On Wednesday 29 November 2000 08:33, Jonathan Cheyne wrote: > Hi Deiter > > > Thus, install "ZDbase" or determine, why it can not import it. > > Already installed in 2.2.0 before upgrade. I have perused the output on > the console but its a bit beyond me. > > > > cannot import name ZDiscussions > > > > You have ZDiscussion installed? > > Already from before. Reinstalled as well no joy. I also tried a new > install of 2.2.4 not an upgrade and installed all my tar ball products. > things work until i copy in my data.fs then barf. i think this has manifested itself since zope 2.2.2bx. make sure to add an addtional ',' in ZDBase/ZDiscussion.py __ac_permissions__ -8<--- __ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)), )^ -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Get the tables! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
Hi Deiter > Thus, install "ZDbase" or determine, why it can not import it. Already installed in 2.2.0 before upgrade. I have perused the output on the console but its a bit beyond me. > > cannot import name ZDiscussions > You have ZDiscussion installed? Already from before. Reinstalled as well no joy. I also tried a new install of 2.2.4 not an upgrade and installed all my tar ball products. things work until i copy in my data.fs then barf. I think that the stuff about export then import into a new data.fs 'sounds' the most likely solution: I certainly intend to try once I have experimented with how to do that. :-) Cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
Any idea of what version of ZDiscussions... since I do have a little something to do with that. I have been able to do upgrades. J At 12:41 PM -0500 11/28/2000, Chris McDonough wrote: >"ZDBase" isn't part of Zope 2.2.4. It's an add-on (but you probably knew >that already). > >The ZDiscussions product AFAICT does something very wrong when it installs >itself for the first time. There have been numerous reports of problems >with it when the Zope underneath of it changes. I don't know why. It'd be >great to get it figured out. I have a feeling that it plays games by >installing some sort of singleton somewhere in the objectbase which doesn't >get cleaned up when it's uninstalled. > >Other folks said packing didn't help. > >"ZODB corruption" (which I continue to maintain --somewhat quixotically-- >that it's really not, not in a literal sense anyway) will continue to >manifest itself in the way you see it now. If it's not otherwise >interrupting operations, the only continued symptoms will be the oid errors >you see. You might be able to "start anew" by exporting all the objects in >your Zope root to .zexp or .xml files (as well as all your TTW ZClass >Products) and by subsequently reinstalling them in a new 2.2.4 instance >(along with any requisite disk-based Products). > >- Original Message - >From: "Jonathan Cheyne" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, November 28, 2000 12:09 PM >Subject: Re: [Zope] Possible disaster upgrading to 2.2.4 > > >> ok, its deffo to do with my data.fs cos the errors only start after that >> has been copied across. But the errors are different if i compare >> the console output from a failing 2.2.4 to a 2.2.0. If i do not install >> zdiscussions on 2.2.0 i only get the oid errors as items requiring display >> are requested from the database. with 2.4.4 i get the extra cannot import >> errors before zope starts regardless of whether zdiscussions are installed >> or not. something in zdbase is very different in 2.4.4. >> >> questions: >> >> 1. Will packing my data.fs help? I havent done this since well never. >> >> 2. Is the potential corruption of my data.fs likely to explode in my face >> without warning or is it/ will it only manifest itself during things liek >> product installs, upgrades etc? >> >> cheers >> >> Jonathan >> >> >> ___ >> Zope maillist - [EMAIL PROTECTED] >> http://lists.zope.org/mailman/listinfo/zope >> ** No cross posts or HTML encoding! ** >> (Related lists - >> http://lists.zope.org/mailman/listinfo/zope-announce >> http://lists.zope.org/mailman/listinfo/zope-dev ) >> >> > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
"ZDBase" isn't part of Zope 2.2.4. It's an add-on (but you probably knew that already). The ZDiscussions product AFAICT does something very wrong when it installs itself for the first time. There have been numerous reports of problems with it when the Zope underneath of it changes. I don't know why. It'd be great to get it figured out. I have a feeling that it plays games by installing some sort of singleton somewhere in the objectbase which doesn't get cleaned up when it's uninstalled. Other folks said packing didn't help. "ZODB corruption" (which I continue to maintain --somewhat quixotically-- that it's really not, not in a literal sense anyway) will continue to manifest itself in the way you see it now. If it's not otherwise interrupting operations, the only continued symptoms will be the oid errors you see. You might be able to "start anew" by exporting all the objects in your Zope root to .zexp or .xml files (as well as all your TTW ZClass Products) and by subsequently reinstalling them in a new 2.2.4 instance (along with any requisite disk-based Products). - Original Message - From: "Jonathan Cheyne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 28, 2000 12:09 PM Subject: Re: [Zope] Possible disaster upgrading to 2.2.4 > ok, its deffo to do with my data.fs cos the errors only start after that > has been copied across. But the errors are different if i compare > the console output from a failing 2.2.4 to a 2.2.0. If i do not install > zdiscussions on 2.2.0 i only get the oid errors as items requiring display > are requested from the database. with 2.4.4 i get the extra cannot import > errors before zope starts regardless of whether zdiscussions are installed > or not. something in zdbase is very different in 2.4.4. > > questions: > > 1. Will packing my data.fs help? I havent done this since well never. > > 2. Is the potential corruption of my data.fs likely to explode in my face > without warning or is it/ will it only manifest itself during things liek > product installs, upgrades etc? > > cheers > > Jonathan > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
ok, its deffo to do with my data.fs cos the errors only start after that has been copied across. But the errors are different if i compare the console output from a failing 2.2.4 to a 2.2.0. If i do not install zdiscussions on 2.2.0 i only get the oid errors as items requiring display are requested from the database. with 2.4.4 i get the extra cannot import errors before zope starts regardless of whether zdiscussions are installed or not. something in zdbase is very different in 2.4.4. questions: 1. Will packing my data.fs help? I havent done this since well never. 2. Is the potential corruption of my data.fs likely to explode in my face without warning or is it/ will it only manifest itself during things liek product installs, upgrades etc? cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Possible disaster upgrading to 2.2.4
I was thinking about downloading the ZDiscussions product and install it but from what I can see, it looks like it needs some fixing. I intend to upgrade to zope 2.2.4 when it was proven that it is stable but I don't want to run into more troubles that I can chew on. I will need a Discussion board when the site go live so should I upgrade Zope and wait for another Discussion Product to come up or install ZDiscussion and hold on the Zope upgrade? TIA Dany > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Bill > Welch > Sent: Tuesday, November 28, 2000 11:50 AM > To: [EMAIL PROTECTED] > Cc: Jonathan Cheyne > Subject: Re: [Zope] Possible disaster upgrading to 2.2.4 > > > On Tue, 28 Nov 2000, Jonathan Cheyne wrote: > > Ah, I tried reinstalling zddiscussions, no joy, i tried deleting > > zdiscussions but when you restart zeop it reinstalls the > two products as > > broken. > > You have to delete it from lib/python/Products as well, but > it's a red > herring for the real issue (see below). > > > i tried a new install of 2.2.4 then copy across my > data.fs bits and untar > > various products in use on the site, but, exactly the > same message. so it > > may not be th eupgrade but something in 2.2.4 itself that > my data.fs > > dislikes. > > No, it's your data.fs that's the problem. It's been > corrupted the same way > several others have been the past few months (ZDiscussions > is suspiciously > overrepresented as the pickled data in the traceback). See > the 'Is data.fs > corrupted' thread. > > Bill. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
Yes, there definitely seems to be something funky with ZDiscussions. It's been at the heart of several threads which claim "ZODB corruption". If someone had the time to figure it out, I think we'd all feel better. ;-) - Original Message - From: "Bill Welch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Jonathan Cheyne" <[EMAIL PROTECTED]> Sent: Tuesday, November 28, 2000 10:50 AM Subject: Re: [Zope] Possible disaster upgrading to 2.2.4 > On Tue, 28 Nov 2000, Jonathan Cheyne wrote: > > Ah, I tried reinstalling zddiscussions, no joy, i tried deleting > > zdiscussions but when you restart zeop it reinstalls the two products as > > broken. > > You have to delete it from lib/python/Products as well, but it's a red > herring for the real issue (see below). > > > i tried a new install of 2.2.4 then copy across my data.fs bits and untar > > various products in use on the site, but, exactly the same message. so it > > may not be th eupgrade but something in 2.2.4 itself that my data.fs > > dislikes. > > No, it's your data.fs that's the problem. It's been corrupted the same way > several others have been the past few months (ZDiscussions is suspiciously > overrepresented as the pickled data in the traceback). See the 'Is data.fs > corrupted' thread. > > Bill. > > > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
On Tue, 28 Nov 2000, Jonathan Cheyne wrote: > Ah, I tried reinstalling zddiscussions, no joy, i tried deleting > zdiscussions but when you restart zeop it reinstalls the two products as > broken. You have to delete it from lib/python/Products as well, but it's a red herring for the real issue (see below). > i tried a new install of 2.2.4 then copy across my data.fs bits and untar > various products in use on the site, but, exactly the same message. so it > may not be th eupgrade but something in 2.2.4 itself that my data.fs > dislikes. No, it's your data.fs that's the problem. It's been corrupted the same way several others have been the past few months (ZDiscussions is suspiciously overrepresented as the pickled data in the traceback). See the 'Is data.fs corrupted' thread. Bill. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
Ah, I tried reinstalling zddiscussions, no joy, i tried deleting zdiscussions but when you restart zeop it reinstalls the two products as broken. i tried a new install of 2.2.4 then copy across my data.fs bits and untar various products in use on the site, but, exactly the same message. so it may not be th eupgrade but something in 2.2.4 itself that my data.fs dislikes. just to clarify three key messages that apprae immediately after starting up. couldnt' import product.ZDbase [some blurge here] unpack sequence of wrong size [blurge] cannot import name ZDiscussions i tried chown -R zope * and even tried running it as root. nope. I will try reinstalling 2.2.0 and see what happens. gonna be a long long night Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
If I were you, I'd see if I could get ZDiscussions working under your current setup. - Original Message - From: "Jonathan Cheyne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 28, 2000 9:51 AM Subject: [Zope] Possible disaster upgrading to 2.2.4 > > Hi all, been very very foolish and didnt backup my entire zope > installation prior to untarring the 2.2.x to 2.2.4 diff (binary) tgz. > > after restarting i get a message "couldnt import product.ZDbase" and one > or two others, then screeds of oid errors then a start. But the site is a > bit slaughtered because anything basedon a zclass I created durny work. > even though it is there and not shown as brokwen itself. the only two > shown as broken are zdbase and zdconfera. my zclass is only based on > ZObject, CatalogAwareBase, _ZClass_for_Renderable so I am a bit stumped. > > when I try to list in magament view, the contents of any folder containing > 1 or more instances of my zclass, the console shows things like: > > -- > 2000-11-28T14:37:38 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\000\000\000k' > Traceback (innermost last): > File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, > line 448, in setstate > File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, > line 213, in _persistent_load > (Info: ) > File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, > line 154, in __getitem__ > (Info: ('\000\000\000\000\000\000\003\266', > '(cExtensionClass\012ExtensionClass\012q\001(U\006ZDItemq\002(cZClasses.ZCla ss\012PersistentClass\012q\003cProducts.ZDBase.ZDiscussions\012ZDItem\012q\0 04cOFS.SimpleItem\012SimpleItem\012q\005tq\006}q\007(U\004iconq\010UWControl _Panel/Products/ZDiscussions/ZDTopic/propertysheets/methods/ZDItem%20/ziconI mageq\011U\012_p_changedq\012K\001U\007__doc__q\013U\021ZDiscussions > Itemq\014U\006_p_oidq\015U\010\000\000\000\000\000\000\002Lq\016U\011meta_ty peq\017U\021ZDiscussions > Itemq\020U\016propertysheetsq\021(U\010\000\000\000\000\000\000\003\271q\022 (NU\010\000\000\000\000\000\000\003\265q\023Qttq\024QU\012index_htmlq\025cZC lasses.Method\012MW\012q\026NRq\027}q\030U$_ZClassMethodPermissionMapperMeth od_q\031(U\010\000\000\000\000\000\000\003\272q\032(U\016OFS.DTMLMethodq\033 cOFS.DTMLMethod\012DTMLMethod\012q\034ttq\035QsbU\016manage_optionsq\036(}q\ 037(U\005labelq > U\012Propertiesq!U\006actionq"U\025manage_propertiesFormq#u}q$(U\005labelq%U \010Securityq&U\006actionq\'U\015manage_accessq(u}q)(h%U\004Viewq*h\'U\012in dex_htmlq+utq,U\012ziconImageq-(U\010\000\000\000\000\000\000\003\273q.(U\01 1OFS.Imageq/cOFS.Image\012Image\012q0tq1tq2QU\022__ac_permissions__q3)U\011_ p_serialq4U\010\0030\226a\274;\204\314q5U\012__module__q6U\031*73biqpAI2QDa2 iKPitv57g==q7utq8t.N.')) > Could not load oid , pickled data in traceback info maycontain > clues > > > -- > 2000-11-28T14:44:30 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\000\000\003\236' > Traceback (innermost last): > File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, > line 448, in setstate > SystemError: Failed to import class _ZClass_for_ZDTopic from module > Products.ZDBase > > any clues no matter how trivial gratefully received > > Jonathan > London > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )