Re: [Zope-dev] Runaway processes

2007-12-14 Thread Chris Withers
Andreas Jung wrote: About 6 months to 1 year ago, I have read reports about experiments on using Zope directly from mod_python in the Zope mailing list. Since Zope provides a WSGI interface you can run Zope within almost all WSGI-enabled enviroment. Am I right in thinking this is exactly

Re: [Zope] Appending to a file via manage_edit?

2007-12-14 Thread Chris Withers
Andreas Jung wrote: Sorry, but that's a pretty uncommon usecase. If you upload a file you're basically interested to store/replace it as a whole. That's how OFS.File is implemented. Although it probably would be *that* hard to hack an external method or some such that *did* update the

[Zope-dev] getting RestrictedPython working on Python 2.5

2007-12-05 Thread Chris Withers
Hi All, I'm looking to get RestrictedPython working in Python 2.5. Has any work been done on this so far? My first question is about the right way to get a checkout that I can develop in now. In years gone by, I would have created a branch of the whole of zope 3, checked it out and then

Re: [Zope-dev] Re: getting RestrictedPython working on Python 2.5

2007-12-05 Thread Chris Withers
Philipp von Weitershausen wrote: ($z refers to svn+ssh://svn.zope.org/repos/main on my system) Where does this put the code that I'd be changing? Uh, you checked it out (first line: svn co). Sorry, I'm used to things like python setup.py install putting all manner of things in all manner

[Zope-dev] Re: Additional locales for zope.i18n.locales.data?

2007-11-29 Thread Chris Withers
Tres Seaver wrote: Please separate out the dependency problem from NIH: in this case, zope.i18n predates the NIH package by *years* (the i18n support was the topic of the *first* extra-mural Zope3 sprint, in January of 2002). Actually no, if I understand Philipp's comment correctly, the NIH

Re: [Zope] Re: Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy

2007-11-29 Thread Chris Withers
Martijn Faassen wrote: the work of collecting interesting Zope 2 products, contacting the authors (not strictly necessary but always a good thing to do) and checking them in, possibly cleaning things up here and there. Well, I think is is fine for products where the original maintainer has

[Zope-dev] Re: unregistering components?

2007-11-28 Thread Chris Withers
Philipp von Weitershausen wrote: So zope.app.component replaces the getSiteManager implementation in zope.component? :-( Yes. It's a shame this couldn't have been implemented in a more component-architecture-oriented way, but I'm guess things get chicken-and-egg-y at this point?

Re: [Zope-dev] Re: Additional locales for zope.i18n.locales.data?

2007-11-28 Thread Chris Withers
Philipp von Weitershausen wrote: It would be interesting to get in touch with the original authors and ask them whether zope.i18n's 4 or so dependencies still make it too tied to Zope 3. For me, it's be interesting to see what it'd take to drop zope.18n completely and just use Babel ;-)

[Zope-dev] Re: unregistering components?

2007-11-28 Thread Chris Withers
Philipp von Weitershausen wrote: zope.app.component.site contains the LocalSiteManager class. This is the persistent component registry used in Zope 3's standard ISites. It inherits from zope.component.persistentregistry.PersistentComponents which in turn inherits from

[Zope-dev] Re: unregistering components?

2007-11-26 Thread Chris Withers
Philipp von Weitershausen wrote: Yes. It returns the one and only global registry. Am I right in thinking the global registry is _only_ used if no context is supplied? No. One should never have to supply an explicit context. Surely that's only the case if you're using zope's traversal

[Zope-dev] Re: unregistering components?

2007-11-26 Thread Chris Withers
Philipp von Weitershausen wrote: I'm guessing that if you are, you either need to stick with the one global registry or manage either ISites or IComponentLookup's yourself? Not sure what you mean by if you are. Sorry, meant if you aren't... If you mean a different ISite, where is it

[Zope-dev] deferredimport?

2007-11-25 Thread Chris Withers
Hi All, Is deferredimport handy for dealing with circular import problems, or was it targetted at solving another problem? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry? If so, how come it's not called getGlobalComponentRegistry? How do you set up nested

[Zope-dev] Re: deferredimport?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: Chris Withers wrote: Is deferredimport handy for dealing with circular import problems, Sure. Is this it's primary reason for existence? Often, especially for package modules, you want to import names for convenience, but not actually perform

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: On 25 Nov 2007, at 13:37 , Chris Withers wrote: Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry? Yes

[Zope-dev] unregistering components?

2007-11-24 Thread Chris Withers
Hi All, Does the component architecture support un-registering adapters and the like? If not, what would it take to make it do so? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-22 Thread Chris Withers
Dieter Maurer wrote: Chris Withers wrote at 2007-11-20 23:55 +: Dieter Maurer wrote: You execute their code in a globals the __builtins__ of which contains precisely the builtins you want to give them. unfortunately that still leaves the import problems, correct? The import command

Re: [Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-22 Thread Chris Withers
Dieter Maurer wrote: Chris Withers wrote at 2007-11-20 23:55 +: Dieter Maurer wrote: You execute their code in a globals the __builtins__ of which contains precisely the builtins you want to give them. unfortunately that still leaves the import problems, correct? The import command

Re: [Zope-dev] easier install

2007-11-22 Thread Chris Withers
Chris McDonough wrote: FYI, this is somewhat related to the convos we've had about the KGS/PyPi/buildout/setuptools/easy_install: http://www.plope.com/Members/chrism/easier_install This looks awesome. Is this maybe something that should be thrown at the distutils sig to see if they can use

Re: [Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-22 Thread Chris Withers
Dieter Maurer wrote: Security questions are very delicate. Nobody will probably give you a garantee that the approach is really safe. This is why my gut feel is to stick with RestrictedPython as it has been pretty well battle tested :-) cheers, Chris -- Simplistix - Content Management,

[Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-20 Thread Chris Withers
Philipp von Weitershausen wrote: Indeed, but how do you prevent importing and insecure builtins like open without RestrictedPython? Well, they can only use the builtins you give them, right? Hmm, not sure what you mean by this? How do you choose what builtins to give them? And the

Re: [Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-20 Thread Chris Withers
Martijn Faassen wrote: One bit that might be problematic is 'proxy leaking'. I imagine if you use this you're going to leak proxied objects into the rest of your system whenever you make a call into your system. Actually, I'm hoping I can have anything content-object like always proxied.

Re: [Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-20 Thread Chris Withers
Martijn Faassen wrote: There will be a problem if proxies get into subsystems without any security declarations. Most security policies should forbid access in that case. You might be surprised how many things you'll need to add security declarations for. In my experience this seriously kills

Re: [Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-20 Thread Chris Withers
Dieter Maurer wrote: You execute their code in a globals the __builtins__ of which contains precisely the builtins you want to give them. unfortunately that still leaves the import problems, correct? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Plone formgen

2007-11-20 Thread Chris Withers
sujitha mary wrote: hi, i have installed Plone formgen on Plone 3.0.but I couldn't find the custom action component in the overrides section.Plz help me. How about asking on a plone list? Chris -- Simplistix - Content Management, Zope Python Consulting -

[Zope-dev] does zope 3 still have a restricted python environment?

2007-11-19 Thread Chris Withers
Hi All, I know we have security proxies nowadays and I'm hoping these have made things much more efficient that the old Zope 2 way of doing things (anyone have any ideas on this?) but is there still a way of running a piece of python in an environment where imports are controlled and dangerous

Re: [Zope-dev] does zope 3 still have a restricted python environment?

2007-11-19 Thread Chris Withers
Chris Withers wrote: I know we have security proxies nowadays and I'm hoping these have made things much more efficient that the old Zope 2 way of doing things (anyone have any ideas on this?) but is there still a way of running a piece of python in an environment where imports are controlled

[Zope-dev] RestrtrictedPython vs zope.security.untrustedpython

2007-11-19 Thread Chris Withers
Tres Seaver wrote: Both are. RestrictedPython is still used in Zope2. Ah, so RestrictedPython is actually what's used for Script (Python)'s in current Zope 2 releases? That's a big positive selling point for me ;-) I think RestrictedPython is also used (ie: bundled with) Zope 3 given the

[Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-19 Thread Chris Withers
Philipp von Weitershausen wrote: Yes, it's a low-level compiler for Python code that replaces certain operations such as getattr with respective guards. You'll have to provide such guards, though. Script (Python) is based on Shared.DC.Scripts which implements such guards that do checks based

[Zope-dev] Re: RestrtrictedPython vs zope.security.untrustedpython

2007-11-19 Thread Chris Withers
Philipp von Weitershausen wrote: On 19 Nov 2007, at 20:26 , Chris Withers wrote: So, I'm guessing RestrictedPython is the one to aim for? No idea what you need... http://mail.python.org/pipermail/python-list/2007-November/466438.html It seems like zope.security does exactly what you need

Re: [Zope-dev] Re: why external version indexes don't fulfill all use cases for development

2007-11-16 Thread Chris Withers
Stephan Richter wrote: On Thursday 15 November 2007, Chris Withers wrote: Have all the things that have lead to buildout/kgs/etc been brought to the attention of the distutils sig? This *must* be a problem that all decent sized python frameworks are facing. We are still experimenting. I think

[Zope-dev] Re: mapping from collector numbers to launchpad numbers?

2007-11-16 Thread Chris Withers
Tres Seaver wrote: How do you go about mapping from old collector issue numbers to new launchpad ticket numbers? You let the www.zope.org redirect you. Well, I'm not sure it does... I'm looking at a changelog and it has a specific old collector number against a change. How do I map from

Re: [Zope-dev] Zope without Zope

2007-11-16 Thread Chris Withers
Lennart Regebro wrote: On Nov 16, 2007 11:41 AM, Lennart Regebro [EMAIL PROTECTED] wrote: On Nov 16, 2007 3:38 AM, Martin Aspeli [EMAIL PROTECTED] wrote: Help appreciated! Well, I suggest you forget about ZCML and try to use the CA directly from Python. The Pylons people would probably

Re: [Zope-dev] Re: why external version indexes don't fulfill all use cases for development

2007-11-15 Thread Chris Withers
Dieter Maurer wrote: Chris Withers wrote at 2007-11-14 09:14 +: Tres Seaver wrote: I've never known of transactions in anything to do with setuptools... I wasn't literally referring to a transaction, in the ZODB sense -- I meant, install using a separate run of easy_install'. Unless I'm

[Zope-dev] minimum required for...

2007-11-15 Thread Chris Withers
Hi All, Kindof related to the packaging discussion... How do I get/install the minimum needed to have: - http/ftp/webdav servers - url publishing - security - component architecture cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

[Zope-dev] mapping from collector numbers to launchpad numbers?

2007-11-15 Thread Chris Withers
Hi All, How do you go about mapping from old collector issue numbers to new launchpad ticket numbers? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist -

[Zope-dev] Re: why external version indexes don't fulfill all use cases for development

2007-11-14 Thread Chris Withers
Tres Seaver wrote: I've never known of transactions in anything to do with setuptools... I wasn't literally referring to a transaction, in the ZODB sense -- I meant, install using a separate run of easy_install'. Unless I'm missing something, that seems... sub-optimal. So I have to do

[Zope-dev] Re: why external version indexes don't fulfill all use cases for development

2007-11-13 Thread Chris Withers
Tres Seaver wrote: If I specify index as above, how do I get other packages which may not appear in that index? You install them in a separate transaction: the 'index_url' setting in a pacakge setup.py only governs where setuptools goes to find packages which are dependencies of that package.

Re: [Zope-dev] why external version indexes don't fulfill all use cases for development

2007-11-12 Thread Chris Withers
Stephan Richter wrote: The easiest way to do this is to add the following line to the buildout section of the package's `buildout.cfg` file: index = http://download.zope.org/zope3.4 (I know you know that Jim; it is for the benefit of people reading this mail. ;-) I've been trying to follow

Re: [Zope-Checkins] SVN: Zope/branches/2.10/ Backported discouraged warning for manage_* events from trunk

2007-11-10 Thread Chris Withers
Hanno Schlichting wrote: Log message for revision 81167: Backported discouraged warning for manage_* events from trunk If this stuff isn't going away, warnings shouldn't be omitted at all, regardless of the wording... If these methods are staying around, by all means put comments in the

Re: [Zope-Checkins] SVN: Zope/trunk/ Made Helpsys.HelpSys internal ZCatalog creation lazy, so it isn't created unless first accessed.

2007-11-10 Thread Chris Withers
Hanno Schlichting wrote: Log message for revision 81408: Made Helpsys.HelpSys internal ZCatalog creation lazy, so it isn't created unless first accessed. This seems a little pointless as either: - the catalog will get created as soon as any help is indexed, which will be always - the

[Zope-dev] Re: bug in ZopePageTemplate.py?

2007-11-10 Thread Chris Withers
Tres Seaver wrote: MailTemplates subclass ZopePageTemplate and expect to be text/plain by default... That code is there only when reading from the default content, right? Yep. And that file is *definitely* 'text/html'. Well, not in the subclass no... Why don't you just override it at

[Zope-dev] bug in ZopePageTemplate.py?

2007-11-09 Thread Chris Withers
Hi Guys, Can you remember why you added the following line to ZopePageTemplate.py? content_type = 'text/html' It seems to arbitarily lock new page templates (or subclasses of them) into text/html mode. MailTemplates subclass ZopePageTemplate and expect to be text/plain by default...

Re: [Zope] Re: deprecated products?

2007-10-17 Thread Chris Withers
Mihamina Rakotomandimby wrote: For example, Products last modified in 2002 are definitely out of date. It will never work on current releases... Really? Squishdot was last released about then, and it still runs just fine ;-) I dare say the same is true of TinyTablePlus and that's even

Re: [Zope] HOw to create a Zope Instance ? - ZeOmega and related info

2007-10-17 Thread Chris Withers
sathya wrote: snip regards sathya Whilst all very interesting, that doesn't actually answer the question of whether or not your hundreds of employees actually talk to each other ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] Launchpad Janitor?

2007-10-15 Thread Chris Withers
Jamu Kakar wrote: They're related to automated bug expiry. I'm pretty sure automated bug expiry is a very bad thing. What do other people feel? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope-dev] Launchpad Janitor?

2007-10-13 Thread Chris Withers
Hi All, Does anyone know what those Launchpad Janitor messages mean? ...and does anyone have the ability to remove the stupid exclusion of .eml attachments (which Thundbird and other mail clients use when forwarding a mail as an attachment...) Chris -- Simplistix - Content Management, Zope

Re: [Zope] How can I get graph statistics

2007-10-11 Thread Chris Withers
Jonathan Salazar Santos wrote: I am wondering if..., ¿Could some body tell me (help me) how to do graph statistics on the fly with DTML or python? I need to create reports with statistics on the fly. Reportlab (http://www.reportlab.org) has some cool charting stuff... Chris -- Simplistix -

[Zope] finding which request dragged all the objects into memory

2007-10-11 Thread Chris Withers
Hi All, Anyone found any good logging methods or other strategies for determining which request dragged all the object in the zodb into memory? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] I'd lobe to merge the zope3-dev and zope-dev lists

2007-10-05 Thread Chris Withers
Jim Fulton wrote: Any objections? This would basically involve retiring the zope3-dev list and moving zope3 developers to the zope-dev list. +1 from me :-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] HOw to create a Zope Instance ?

2007-10-04 Thread Chris Withers
System User wrote: How t create a zope instance, how to give database connections to it? You're at Zeomega, I'm sure there's someone who can help you out there... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] UTF encoding problem w/ ZPT's (No, not the usual :)

2007-08-30 Thread Chris Withers
Doyon, Jean-Francois wrote: So I see this: Error Type: TypeError Error Value: 'unicode' object is not callable Usual comments, full traceback please. This doesn't look like a normal encoding error but a bug in code somewhere... The only difference I can see is that the file went through

Re: [Zope] How do I eval a variable within the acquisition path?

2007-08-22 Thread Chris Withers
Tim Nash wrote: category = REQUEST.form['category'] animal = REQUEST.form['animal'] print context.Vet.category.animal.vaccinateplan() print context.Vet[category][animal].vaccinateplan() cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Form-Through-Script

2007-08-15 Thread Chris Withers
[EMAIL PROTECTED] wrote: 1)?I have a form that I need to send to a script and then send off to a URL (PayPal). I need to process it through the script to renumber things for PP. How do I do this? I imagine I add an element to the PT like so: form

Re: [Zope] Re: zope 2.10.4 for windows installer

2007-08-15 Thread Chris Withers
Sidnei da Silva wrote: New build is available: http://files.enfoldsystems.com/Zope-2.9.8-Final-7409.exe After some light testing, it's also now officially up: http://www.zope.org/Products/Zope/2.9.8 cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] How Do I Structure This?

2007-08-15 Thread Chris Withers
Ah Tony, looks like the penny is yet to drop... [EMAIL PROTECTED] wrote: Bummer. Well, I'm trying to call a script that will render content to the Web, like this: a tal:attributes=href python:here.a_script(str(x)) My guess is that what you're _really_ trying to do here is: a href=

Re: [Zope] Another Structure Problem

2007-08-15 Thread Chris Withers
[EMAIL PROTECTED] wrote: a href=http://203.223.152.46:8080/lariman.com/s/renumberTheCart?doc=lt;divgt;lt;input type=quot;hiddenquot; name=quot;redirect_cmdquot; value=quot;_cartquot;gt; etc. Is there a way to work around this? Of course not, you don't need url quoting, that would be silly

Re: [Zope] How Do I Structure This?

2007-08-15 Thread Chris Withers
[EMAIL PROTECTED] wrote: I tried this: a tal:attributes=href string:${here/a_script}?doc=${x} but got this error: Error Type: TypeError Error Value: a_script() takes exactly 1 argument (0 given) Yeah, as you discovered later, leaving bits of things people suggest off is stupid ;-) So it

Re: [Zope] How Do I Structure This?

2007-08-15 Thread Chris Withers
Andreas Jung wrote: a href= tal:attributes=href string:${here/a_script/absolute_url}?avar=${x}/ ...but next you'll be wondering how to url quote x. By using the well-know url_quote() or url_quote_plus() methods. ...and in a page template? ;-) Chris -- Simplistix - Content Management,

Re: [Zope] debugging memory exhaustion

2007-08-14 Thread Chris Withers
Dieter Maurer wrote: Then, you use the ZServer.medusa.monitor_client[_win32] to connect to your monitor server. Where/what is this? You will be asked for authentication and use the emercency user and its password. After successful authentication, you have a Python interpreter

Re: [Zope] debugging memory exhaustion

2007-08-13 Thread Chris Withers
Dieter Maurer wrote: ZODB.DB.DB provides methods for detailed analysis of the cached objects. Cool, I'll bear that in mind... It is used for the Extreme cache detail ZMI page but can also be used differently (e.g. from an External Methode or via the ZServer Monitor Server interactively).

Re: [Zope] Re: zope 2.10.4 for windows installer

2007-08-13 Thread Chris Withers
chan.yinghoong wrote: Chris Withers [EMAIL PROTECTED] writes: Are there plans to release Zope 2.9.8 window installer also? Sidnei, could you crank the handle? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-11 Thread Chris Withers
Dieter Maurer wrote: Chris Withers wrote at 2007-8-10 07:38 +0100: ... I'm thinking something along the lines of create intSet.py something like as follows and putting it somewhere on the PYTHONPATH: class intSet(Persistent): def __setstate__(self,...): ... Would that work

Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-10 Thread Chris Withers
Laurence Rowe wrote: This is just an idea, but zeo is backwards compatible right? So perhaps you could connect a 2.7 client to a 2.8 zeo server and as long as you know the oids of the intSets you should be able to load them and do your conversion. An interesting idea, assuming it works, how

Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-10 Thread Chris Withers
Dieter Maurer wrote: 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. Yeah,

Re: [Zope] debugging memory exhaustion

2007-08-10 Thread Chris Withers
Jonathan wrote: 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!). Answering a question I haven't asked isn't

Re: [Zope] zope 2.10.4 for windows installer, when will it be available?

2007-08-10 Thread Chris Withers
anton wrote: 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? Likely on Saturday... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] Re: _p_resolveConflict not called on conflict

2007-08-10 Thread Chris Withers
Martijn Pieters wrote: 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. Really? I'm pretty sure it implements the relevent storage interfaces

[Zope-dev] compiling intSet.c on Zope 2.8.8

2007-08-09 Thread Chris Withers
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

Re: [Zope] Re: _p_resolveConflict not called on conflict

2007-08-09 Thread Chris Withers
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

[Zope] debugging memory exhaustion

2007-08-09 Thread Chris Withers
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

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Chris Withers
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

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Chris Withers
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

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-08 Thread Chris Withers
Martijn Pieters wrote: See the Caveats and Dangers section in: http://svn.zope.org/ZODB/trunk/src/ZODB/ConflictResolution.txt?rev=77078view=markup Conflict Resolution is a feature of a ZODB storage, and as the storage is the responsibility of the ZEO server, takes place there. We, not

[Zope-Annce] MailingLogger 3.2.0 Released!

2007-07-31 Thread Chris Withers
With help from Jens Vagelpohl, I'm pleased to announce a new release of Mailinglogger that now supports filtering of log entries... Mailinglogger enables log entries to be emailed either as the entries are logged or as a summary at the end of the running process. This pair of enhanced emailing

[Zope-Annce] Stepper 1.5.0 Released!

2007-07-31 Thread Chris Withers
Stepper is a framework for scripting and running asynchronous tasks on Zope servers. This is a new release fixing several bugs and introducing some new features. The major changes for this release were: - The location of the config module is now configurable rather than being fixed to

Re: [Zope] ZOPE and ZEO

2007-07-31 Thread Chris Withers
Sudesh soni wrote: I used Zope mirrot to load balance as I have two zope servers coupled to ZEO. All the clients know primary URL, so whenever clients access that URI , they will be redirected randomly to second zope server which is running on different URI [subdomain] OR will be served by

Re: [Zope] Conflict error

2007-07-31 Thread Chris Withers
Sudesh soni wrote: I have connect on demand property set for DA connection Is that an issue? Shouldn't be, no. But, you can always check with the eGenix guys... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope] MailingLogger 3.2.0 Released!

2007-07-31 Thread Chris Withers
With help from Jens Vagelpohl, I'm pleased to announce a new release of Mailinglogger that now supports filtering of log entries... Mailinglogger enables log entries to be emailed either as the entries are logged or as a summary at the end of the running process. This pair of enhanced emailing

[Zope] Stepper 1.5.0 Released!

2007-07-31 Thread Chris Withers
Stepper is a framework for scripting and running asynchronous tasks on Zope servers. This is a new release fixing several bugs and introducing some new features. The major changes for this release were: - The location of the config module is now configurable rather than being fixed to

Re: [Zope] Conflict errors

2007-07-30 Thread Chris Withers
Sudesh soni wrote: I am frequently recieving conflict errors like below in Zope logs. Then I'd suggest having a good google and and read up on ConflictErrors. You likely have a problem with your app's design that is causing a ConflictError hotspot... We have ZEO implemented with 2 Zope

Re: [Zope] ZOPE and ZEO

2007-07-30 Thread Chris Withers
Sudesh soni wrote: BlankIf two diiferent Zope clients are sharing a ZEO storage, then how to adjust siteroot to serve the request coming to individual Zope clients. Why would you want to do that? I am asking because when two Zope servers are up with different URI/subdomain and when I open

Re: [Zope] Conflict error

2007-07-30 Thread Chris Withers
Sudesh soni wrote: BlankIs the below error in Zope is due to adapter performance issue? I doubt it. Error Type: ConflictError Error Value: database conflict error (oid 0x0ac7, class Products.mxODBCZopeDA.ZopeDA.ZopeConnection, serial this txn started with 0x036f49361ca9d8ee 2007-07-28

Re: [Zope] TOC ondelete event

2007-07-30 Thread Chris Withers
[EMAIL PROTECTED] wrote: 2) However the only way I see is: a- keep the session id in the request b- if request.savedsessionidsession.id then alert session timed out This won't work as you expect. Specifically, request.savedsessionid will never be there when you want it, since a request is

Re: [Zope] MailHost and Bcc

2007-07-13 Thread Chris Withers
Catherine E. Reinehr wrote: try: mailhost=getattr(context, context.superValues('Mail Host')[0].id) except: raise AttributeError, cant find a Mail Host object ...passing comment, this is extremely bad code. A bare try/except is bad. Why catch the exception in the first place, just let

Re: [Zope] catching shorter URLs

2007-07-09 Thread Chris Withers
Ken Ara wrote: Aaron, The Path Handler product (http://www.zope.org/Members/NIP/PathHandler) is your friend. Well, it would have been, but it's not necessary nowadays... Normally, you would create a path handler called 'games' and point it to your display_game method. To obtain the result

Re: [Zope] Zope products that allows people to Add Commentsto publications

2007-06-29 Thread Chris Withers
Shane Graber wrote: So in order to be running the latest code base the implementer should be doing a svn/trunk checkout of SquishDot? It would be helpful to have this posted someplace on squishdot.org. It sure would, that's why the article you refer to below suggests doing just that ;-)

Re: [Zope] Zope products that allows people to Add Comments to publications

2007-06-27 Thread Chris Withers
Andreas Jung wrote: Forget Squishdot, it's unmaintained since 4 years. Urm, excuse me, but that's just plain lies. I actively maintain Squishdot. The svn trunk works fine in Zope 2.9 and should be fine in Zope 2.10. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] Zope products that allows people to Add Comments topublications

2007-06-27 Thread Chris Withers
Andreas Jung wrote: Plone? yes, that well-known light weight solution that has a plethora of decent discussion software ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___

Re: [Zope] Zope products that allows people to Add Comments to publications

2007-06-27 Thread Chris Withers
Andreas Jung wrote: Urm, excuse me, but that's just plain lies. I actively maintain Squishdot. My info is from http://www.squishdot.org/Download/Squishdot/ I won't do any releases without replacing the skin, which is still the same horrific dtml that was there when I first started using

Re: [Zope] Zope products that allows people to Add Commentsto publications

2007-06-27 Thread Chris Withers
kamal hamzat wrote: Then what i have done wrong to be getting the error and how do i correct it. You're not using the svn trunk of Squishdot, you're likely trying to use the 1.5.0 release... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope-dev] eggs

2007-06-07 Thread Chris Withers
Philipp von Weitershausen wrote: * as newer versions of specific zope.* or ZODB packages are released, you can individually install those or not. There'll be no need to wait for another Zope 2 release. I actually see this as a downside to this. Having a single version number for zope is a

Re: [Zope] Zope 2.9 windows

2007-06-07 Thread Chris Withers
Chris Hoy wrote: Hi I have a customer that using windows xp, The zope server is giving the following error when starting up \zope\lib\python\Zserver\medusa\thread\select_trigger.py, line 133, in __init__ a.listen(1) File (string), line 1, in listen socket.error: (10022, 'Invalid argument')

Re: [Zope] Zope 2.7 - sporadic service hangup

2007-06-01 Thread Chris Withers
Marcel Hartmann wrote: Hi, we notice two or three times a day some kind of hangup of the zope service. After hangup there is no response requesting urls/manage interface cannot be accessed, too. Restarting the zope service resolves all problems until the next hangup. DeadlockDebugger is

[Zope-dev] Re: [ZODB-Dev] [Bug] ZODB invalidation processing

2007-05-29 Thread Chris Withers
Dieter Maurer wrote: In our private Zope version, I have still a note like this: # DM 2005-08-22: always call '_flush_invalidations' as it does # more than cache handling only self._flush_invalidations() if self._reset_counter != global_reset_counter:

Re: [Zope-dev] many conflict errors

2007-05-24 Thread Chris Withers
Joachim Schmitz wrote: Module tempstorage.TemporaryStorage, line 200, in store ConflictError: database conflict error (oid 0x2b, class Products.faster.sessiondata.SessionDataContainer, serial this txn started with 0x036dd29c28404f33 2007-05-23 16:28:09.433877, serial currently committed

Re: [Zope] Scaling problems, or something else?

2007-05-22 Thread Chris Withers
Dieter Maurer wrote: I had to enhance ZEO to report which transactions are blocking in order to quickly resolve problems. It would be nice if you could feed those enhancements back into the source tree... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] Zope-konsulter i Sverige - People/companies working/consulting with Zope in Sweden

2007-05-17 Thread Chris Withers
Dario wrote: I am doing some small research for my university and we need to get a realistic estimate of how easy/hard it is to get hold of Zope-compentence for hire in Sweden. Why does it have to be in Sweden? What about python expertise in general? cheers, Chris -- Simplistix - Content

[Zope] MailingLogger 3.1.0 Released!

2007-05-17 Thread Chris Withers
Hot on the heals of the 3.0.0 release, this 3.1.0 release offers support for SMTP hosts that require authentication in order to send mail... Mailinglogger enables log entries to be emailed either as the entries are logged or as a summary at the end of the running process. This pair of enhanced

Re: [Zope] Scaling problems, or something else?

2007-05-15 Thread Chris Withers
Gaute Amundsen wrote: On Thursday 10 May 2007 17:57, Paul Winkler wrote: On Thu, May 10, 2007 at 02:10:40AM +0200, Gaute Amundsen wrote: On Wednesday 09 May 2007 16:41, Paul Winkler wrote: On Wed, May 09, 2007 at 12:07:54PM +0200, Gaute Amundsen wrote: So there is no other possible limit in

<    3   4   5   6   7   8   9   10   11   12   >