[Zope-dev] compiling intSet.c on Zope 2.8.8
Hi All, Anyone know how I can compile intSet.c for Zope 2.8.8? I'm trying to help out a customer who didn't manage to get rid of all persistent instances of this class before moving to Zope 2.8 when the class disappeared. I tried just copying intSet.so from a Zope 2.7.8 build, but when I tried to import it, I got this error: import intSet Traceback (most recent call last): File stdin, line 1, in ? AttributeError: 'module' object has no attribute 'CAPI' Any ideas? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Wed Aug 8 12:00:00 2007 UTC to Thu Aug 9 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Aug 8 20:55:14 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008157.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Aug 8 20:56:45 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008158.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Aug 8 20:58:17 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008159.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Aug 8 20:59:47 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008160.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Wed Aug 8 21:01:18 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-August/008161.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: compiling intSet.c on Zope 2.8.8
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Hi All, Anyone know how I can compile intSet.c for Zope 2.8.8? I'm trying to help out a customer who didn't manage to get rid of all persistent instances of this class before moving to Zope 2.8 when the class disappeared. I tried just copying intSet.so from a Zope 2.7.8 build, but when I tried to import it, I got this error: import intSet Traceback (most recent call last): File stdin, line 1, in ? AttributeError: 'module' object has no attribute 'CAPI' Any ideas? Copy the 'Components/BTree' directory from a Zope 2.7 checkout into your $SOFTWARE_HOME/lib. Copy the 'setup.py' from Zope 2.7, and hack it apart to include only the bits which built the old BTrees. Then run that new setup_old_btrees.py script. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGuydA+gerLs4ltQ4RAnEZAKCUiogKY1IU4Lk9iqXgPmOJtea5QgCgw2cs dOIHj28nh20+6nVRb/9Yz+I= =/sbp -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8
Tres Seaver wrote at 2007-8-9 10:40 -0400: ... Copy the 'Components/BTree' directory from a Zope 2.7 checkout into your $SOFTWARE_HOME/lib. Copy the 'setup.py' from Zope 2.7, and hack it apart to include only the bits which built the old BTrees. Then run that new setup_old_btrees.py script. The reason that Jim dropped support for the old BTree was to save time by not converting them to the new type = new style class paradigme which is now used by Persistent. It is likely that BTree will not work in a new (post Zope 2.7) environment even if build anew. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope] Re: _p_resolveConflict not called on conflict
Martijn Pieters wrote: That's what he's saying, yes. ClientStorage is a proxy for the storages in the ZEO server, and it cannot know what features those storages support. It therefore doesn't know anything about conflict resolution. Indeed, but it's still a storage, there's no reason for it not to do conflict resolution itself. I thought it did ;-) Wouldn't it be beneficial if it *did* do conflict resolution? (afterall, if the conflict can be resolved on the client, why go all the way to the storage server to do the conflict resolution there?) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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 )
Re: [Zope] Re: _p_resolveConflict not called on conflict
On 8/9/07, Chris Withers [EMAIL PROTECTED] wrote: Hmmm, I guess I thought ClientStorage was conflict resolving, it sounds like you're saying it's not? That's what he's saying, yes. ClientStorage is a proxy for the storages in the ZEO server, and it cannot know what features those storages support. It therefore doesn't know anything about conflict resolution. -- Martijn Pieters ___ 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 )
[Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x
Doug Morse, on 2007-08-09: Hello Fellow Zopers, I'm trying to migrate an older Zope installation (2.5.x) to Zope 2.9 and I'm having some trouble. I can mount the old ZODB in the new installation -- it shows up under the database control panel with the correct size (4.4M) -- but it appears to be empty. By empty, I mean there are no folders or objects present when I view the mount point using the ZMI, and I get Resource Not Found errors when trying to view object I know to be there. I'm not getting any error messages within the ZMI or in the events.log file regarding problems with the older Data.fs file or mounting it. A 4.4 MB Data.fs *is* rather empty. That is only marginally bigger than the size you get when you start with a fresh zope instance. Are you sure the objects you expect are actually there when you start a 2.5 Zope with this database? I'm wondering if there's some sort of upgrading of the ZODB file I need to perform? Any help with this would be MOST appreciated, as I'm not turning up anything in the docs, with google, or any other means I can think of, and I need to get this site migrated. Not sure, but you might need to first upgrade to 2.6, then 2.7, then 2.8, then 2.9. At least I would not be surprised if that is the case. Just for completeness: The only thing different about the new Zope installation is that the old Data.fs file is being mounted within Zope under a subdirectory (e.g., /sitename) instead of the root directory (i.e., /). There's a new ZODB mounted at the root directory, and several other new ZODBs mounted in other subdirectories for new sites -- they all work fine but also were created using Zope 2.9, not Zope 2.5. I would first migrate the 2.5 database to 2.9 in a separate zope instance with only this database, not any others. After that you can try mounting that migrated database together with the others. This is just a guess though: I have never tried anything like this. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ Do not worry about your difficulties in computers, I can assure you mine are still greater. ___ 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 )
Re: [Zope] Re: _p_resolveConflict not called on conflict
On 8/9/07, Chris Withers [EMAIL PROTECTED] wrote: Indeed, but it's still a storage, there's no reason for it not to do conflict resolution itself. I thought it did ;-) It's not a storage at all. It's a stub for the actual storage which lives in the server. That's a enormous difference. In fact, it would be better if ClientStorage was renamed to ClientStorageProxy or something. Wouldn't it be beneficial if it *did* do conflict resolution? (afterall, if the conflict can be resolved on the client, why go all the way to the storage server to do the conflict resolution there?) Wouldn't it be nice is a big difference from I thought it did :-) It would be nice, but I am not sure it can do it. Conflicts are detected at the storage level, and as that level lives in the ZEO server, that's where resolution has to take place. Propagating the conflict back to the client because it *may* do conflict resolution would be less efficient still, as in most cases there is no conflict resolution available. -- Martijn Pieters ___ 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 )
Re: [Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x
Hi Maurits, Thanks for the speedy reply! Hmmm... you make a good point about the ZODB file size. At installation, though, there was a notable difference. The new, default Data.fs was 2.9MB, whereas the mounted, older Data.fs (renamed, of course) was/is 4.4MB. I like your suggestion re: just upgrading though each minor release number. If someone doesn't suggest an alternative, speedier route, then I'll do as you suggest. Thanks! Doug On Thu, Aug 09, 2007 at 08:49:07AM +, Maurits van Rees wrote: Doug Morse, on 2007-08-09: Hello Fellow Zopers, I'm trying to migrate an older Zope installation (2.5.x) to Zope 2.9 and I'm having some trouble. I can mount the old ZODB in the new installation -- it shows up under the database control panel with the correct size (4.4M) -- but it appears to be empty. By empty, I mean there are no folders or objects present when I view the mount point using the ZMI, and I get Resource Not Found errors when trying to view object I know to be there. I'm not getting any error messages within the ZMI or in the events.log file regarding problems with the older Data.fs file or mounting it. A 4.4 MB Data.fs *is* rather empty. That is only marginally bigger than the size you get when you start with a fresh zope instance. Are you sure the objects you expect are actually there when you start a 2.5 Zope with this database? I'm wondering if there's some sort of upgrading of the ZODB file I need to perform? Any help with this would be MOST appreciated, as I'm not turning up anything in the docs, with google, or any other means I can think of, and I need to get this site migrated. Not sure, but you might need to first upgrade to 2.6, then 2.7, then 2.8, then 2.9. At least I would not be surprised if that is the case. Just for completeness: The only thing different about the new Zope installation is that the old Data.fs file is being mounted within Zope under a subdirectory (e.g., /sitename) instead of the root directory (i.e., /). There's a new ZODB mounted at the root directory, and several other new ZODBs mounted in other subdirectories for new sites -- they all work fine but also were created using Zope 2.9, not Zope 2.5. I would first migrate the 2.5 database to 2.9 in a separate zope instance with only this database, not any others. After that you can try mounting that migrated database together with the others. This is just a guess though: I have never tried anything like this. ___ 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 )
Re: [Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x
- Original Message - From: Doug Morse [EMAIL PROTECTED] To: Maurits van Rees [EMAIL PROTECTED] Cc: zope@zope.org Sent: Thursday, August 09, 2007 9:18 AM Subject: Re: [Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x Hi Maurits, Thanks for the speedy reply! Hmmm... you make a good point about the ZODB file size. At installation, though, there was a notable difference. The new, default Data.fs was 2.9MB, whereas the mounted, older Data.fs (renamed, of course) was/is 4.4MB. I like your suggestion re: just upgrading though each minor release number. If someone doesn't suggest an alternative, speedier route, then I'll do as you suggest. I would try the following: 1) Create a new, clean 2.9.x installation 2) Copy the Data.fs file (your 2.5.x version) And see if it works. It could be that your non-root installation is messing things up. If you have any ZCatalogs you will need to fix up the indexes (see the READMEs, there was some change in 2.6? 2.8? that requires a utility to update the indexes). Jonathan ___ 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 )
[Zope] zope 2.10.4 for windows installer, when will it be available?
Hi, its now over a motch that zope 2.10.4 was released. Does anybody have an idea when there will be a windows installer? Thanks Anton ___ 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 )
Re: [Zope] missing images
Thanks, Paul. We weren't able to directly use the CVS version -- we had to make a few additional mods -- but we looked at your code to help us with ours. Have a nice day! --- Paul Winkler [EMAIL PROTECTED] wrote: Sounds like a previously reported bug, http://sourceforge.net/tracker/index.php?func=detailaid=1352783group_id=28073atid=392340 I think this is fixed in CVS, but the original reporter never replied. Can you try ZSyncer from CVS and let me know? cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/zsyncer login cvs -z3 \ -d:pserver:[EMAIL PROTECTED]:/cvsroot/zsyncer \ co -P ZSyncer If that doesn't help, unfortunately I am on vacation for the rest of the month so I won't be able to look at this until September at the earliest. -PW On Tue, Aug 07, 2007 at 09:45:28AM -0700, baiewola wrote: I recently installed ZSyncer 0.7.1 in Zope 2.7.2, added a ZSyncer object and configured it. It sync'd perfectly. Today, when I clicked the sync tab to sync, I noticed that all of the images that indicate whether an item is okay, out of date, etc., are showing up as question marks. The only thing that changed is that I put Zope behind Apache Sunday evening. But I can't specifically trace it to that action, because I didn't test ZSyncer right after putting it behind Apache. Has anyone seen this, and if so can you tell me how to resolve it? Thanks! Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.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 ) -- 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 ) Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz ___ 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 )
Re: [Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x
Hi Jonathan, Ah, great point -- I hadn't thought about that re: mounting the old Data.fs root vs. non-root. I'll give that a try right away -- that could be a quick and simple fix. Great thinking! One thing I can say right off is that this difference (i.e., root-mounted vs. non-root-mounted) did *not* matter when migrating from one Zope 2.9 installation to another Zope 2.9 installation. That was something I've had to do along the way here and worked without a hitch. Let's see what happen, though. I'll try it later today and report back. Thanks again! Doug On Thu, Aug 09, 2007 at 09:25:35AM -0400, Jonathan wrote: - Original Message - From: Doug Morse [EMAIL PROTECTED] To: Maurits van Rees [EMAIL PROTECTED] Cc: zope@zope.org Sent: Thursday, August 09, 2007 9:18 AM Subject: Re: [Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x Hi Maurits, Thanks for the speedy reply! Hmmm... you make a good point about the ZODB file size. At installation, though, there was a notable difference. The new, default Data.fs was 2.9MB, whereas the mounted, older Data.fs (renamed, of course) was/is 4.4MB. I like your suggestion re: just upgrading though each minor release number. If someone doesn't suggest an alternative, speedier route, then I'll do as you suggest. I would try the following: 1) Create a new, clean 2.9.x installation 2) Copy the Data.fs file (your 2.5.x version) And see if it works. It could be that your non-root installation is messing things up. If you have any ZCatalogs you will need to fix up the indexes (see the READMEs, there was some change in 2.6? 2.8? that requires a utility to update the indexes). Jonathan ___ 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 )
[Zope] Re: AttributeError: _get_filename
Garito wrote: Hi! I try to use Photo Folder 1.3.1 on a Zope 2.9.6 but when I try to upload a photo Zope raise's this error: Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.Photo.Photo, line 754, in manage_addPhoto Module OFS.ObjectManager, line 333, in _setObject Module zope.event, line 23, in notify Module zope.app.event.dispatching, line 66, in dispatch Module zope.component, line 181, in subscribers Module zope.component.site, line 89, in subscribers Module zope.interface.adapter , line 481, in subscribers Module zope.app.event.objectevent, line 192, in objectEventNotify Module zope.component, line 181, in subscribers Module zope.component.site, line 89, in subscribers Module zope.interface.adapter , line 481, in subscribers Module OFS.subscribers, line 114, in dispatchObjectMovedEvent Module OFS.subscribers, line 137, in callManageAfterAdd Module Products.Photo.Photo, line 697, in manage_afterAdd Module Products.Photo.Photo, line 375, in imagecomment AttributeError: _get_filename Any one could help me, please? Check your versions against the supported ones, specifically Zope. It looks to me like the Photo class stores a PhotoImage in its '_original' attributes, and the PhotoImage is supposed to inherit the '_get_filename' method from the base Zope Image object. It may be that this changed between versions, though I don't see it in any of my versions of Zope. And I have a lot. You may have to contact the author/maintainer to see how this is supposed to work. Perhaps it is simply a bug. --jcc -- Connexions http://cnx.org Building Websites with Plone http://plonebook.packtpub.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 )
[Zope] debugging memory exhaustion
Hi All, I'm suffering with an app server that keeps blowing through all its memory. I have a suspicion this is due to a dodgy python script or page template pulling too many objects into memory. However, by the time I know to look, the app server throws MemoryErrors for each and every request. What're the best ways to go about debugging this? Would DeadlockDebugger help or will it suffer from the same problem? Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole, but these kinds of things always seem to stall at the development stage :-( cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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 )
Re: [Zope] debugging memory exhaustion
- Original Message - From: Chris Withers [EMAIL PROTECTED] To: zope list user zope@zope.org Sent: Thursday, August 09, 2007 12:09 PM Subject: [Zope] debugging memory exhaustion Hi All, I'm suffering with an app server that keeps blowing through all its memory. I have a suspicion this is due to a dodgy python script or page template pulling too many objects into memory. However, by the time I know to look, the app server throws MemoryErrors for each and every request. What're the best ways to go about debugging this? Would DeadlockDebugger help or will it suffer from the same problem? Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole, but these kinds of things always seem to stall at the development stage :-( If you're running on a linux machine you could look into the ulimit command to limit the process memory utilization, which may allow you to see what it happening. Jonathan ___ 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 )
Re: [Zope] AttributeError: Can't Pin It Down!
[EMAIL PROTECTED] wrote at 2007-7-23 08:47 -0400: ... Nothing in the error log about that :( Almost not to believe... Unless, it comes from an exception ignored by the error_log object. ... Module Products.PageTemplates.TALES, line 221, in evaluate URL: /example.com/eng/test Line 7, Column 0 Expression: PythonExpr request.contact_us_form.header() ... Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ __traceback_info__: request.contact_us_form.header() Module Python expression request.contact_us_form.header(), line 1, in expression Module ZPublisher.HTTPRequest, line 1223, in __getattr__ You did it almost right. You forgot to include the Error Type and Error Value information. Exception Type AttributeError Exception Value header This exception information seems not to correspond to the traceback you have posted. If you look carefully at your traceback, then you see that the exception comes from a request.contact_us_form.header() expression which then calls the __getattr__ of an HTTPRequest instance (which almost surely is request) -- and this __getattr__ raises an AttributeError. I do not see any reason why contact_us_form should call request's __getattr__. Thus, I expect that the AttributeError really comes from the request.contact_us_form access. If you are sure that you see Exception Value: header, then the contact_us_form really behaves extremely strange ... Well, frankly, I built this site a long time ago before PTs were in vogue and it worked just fine using DTML. I changed it to PT for you to throw and capture this error ;) Then, your translation to PT went probably wrong. Are you sure that you access your forms via request (which would be REQUEST in DTML). -- Dieter ___ 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 )
Re: [Zope] debugging memory exhaustion
Jonathan wrote: Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole, but these kinds of things always seem to stall at the development stage :-( If you're running on a linux machine you could look into the ulimit command to limit the process memory utilization, which may allow you to see what it happening. Er no, that would just exacerbate the problem. The machine itself is functional, just with low memory. Zope is throwing MemoryErrors because the OS won't give it anymore. ulimit'ing zope would just make those MemoryErrors come sooner... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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 )
Re: [Zope] SOAP - Integration?
Andreas Jung wrote at 2007-8-6 05:29 +0200: ... Technical Questions: - Is it possible to let this package work like the xml-rpc stuff. (every method is accessable through http,xml-rpc,soap?) I have implemented something like this (not yet open source and documented only in German). It does not use any Zope3 part. The SOAP part uses ZSI as SOAP middle ware but is up to now only lightly tested. It does not yet support WSDL. Unlike Zope's XML-RPC support, it is not build into the ZPublisher (more precisely ZPublisher.HTTPRequest.HTTPRequest) but requires traversal through a special RPC marshaller/demarshaller object which performs RPC marshalling/demarshalling for XML-RPC, SOAP and Repr. -- Dieter ___ 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 )
Re: [Zope] debugging memory exhaustion
- Original Message - From: Chris Withers [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope list user zope@zope.org Sent: Thursday, August 09, 2007 1:24 PM Subject: Re: [Zope] debugging memory exhaustion Jonathan wrote: Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole, but these kinds of things always seem to stall at the development stage :-( If you're running on a linux machine you could look into the ulimit command to limit the process memory utilization, which may allow you to see what it happening. Er no, that would just exacerbate the problem. The machine itself is functional, just with low memory. Zope is throwing MemoryErrors because the OS won't give it anymore. ulimit'ing zope would just make those MemoryErrors come sooner... In your original post you said: Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole If your server is still alive and Zope is throwing memory errors, then Zope has hit its specified upper memory limit. What do you want Zope to do at this point? Jonathan ___ 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 )
Re: [Zope] Export fails
Christian Schaffer wrote at 2007-8-6 14:55 +0200: ... Unfortunately, the only content of the file was one line: ZEXP The file itself is only 20k of size. Is there something I missed? Is there probably a command line tool to do exports? All you can do via the ZMI, you can do in an interactive Python interpreter session -- however, it is unlikely that the result will be different. Export uses essentially the same mechanism which is used by the ZODB itself (persistent references are expanded, though, rather than stored as references). Especially, the export of an object should contain all objects referenced (directly or indirectly) by this initial object. If this does not work in your case, then it may be necessary to debug the export process (to find out why it does not work). -- Dieter ___ 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 )
Re: [Zope] debugging memory exhaustion
Jonathan wrote: Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole If your server is still alive and Zope is throwing memory errors, then Zope has hit its specified upper memory limit. No, Zope does little if anything to control the amount of memory it uses. If it did, we wouldn't see MemoryErrors ;-) What do you want Zope to do at this point? Start dumping objects out of the ZODB object cache when it reaches a certain memory limit, preferably configurable in zope.conf. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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 )
Re: [Zope] debugging memory exhaustion
- Original Message - From: Chris Withers [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope list user zope@zope.org Sent: Thursday, August 09, 2007 5:47 PM Subject: Re: [Zope] debugging memory exhaustion Jonathan wrote: Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole If your server is still alive and Zope is throwing memory errors, then Zope has hit its specified upper memory limit. No, Zope does little if anything to control the amount of memory it uses. If it did, we wouldn't see MemoryErrors ;-) By Zope i meant the process running zope (i agree that Zope does not track process memory utilization!). What do you want Zope to do at this point? Start dumping objects out of the ZODB object cache when it reaches a certain memory limit, preferably configurable in zope.conf. There is already a way to control (within limits) the number of objects in the ZODB cache, so you must be referring to something else? (ie. a way to control memory eating 'dodgy' scripts?). Jonathan ___ 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 )