Re: [Zope] Caipirinha with Zope Sprint in Argentina and Brazil

2011-09-23 Thread Chris McDonough
On Thu, 2011-09-22 at 17:25 -0400, Roberto Allende wrote: > Hello > > Within PyCon Argentina, Plone Symposium South America and PyCon Brazil > we will run the "Caipirinha with Zope Sprint" where we'll work on ZTK > components migration to Python3 and to integrate webob with Zope. Roberto, Just F

Re: [Zope] Asynchronous triggering of events

2010-10-19 Thread Chris McDonough
On Tue, 2010-10-19 at 14:13 -0400, Brian Sullivan wrote: > So I installed 2.11.4 -- the latest that I could find and still the same > issue. Clockserver is actually built into newer Zopes and needn't be installed separately. You configure it by adding stuff to your zope.conf file, eg.:

Re: [Zope] [Zope-dev] [ZF] Announcement: 2010 Zope Foundation Board Elections and General Meeting

2010-01-22 Thread Chris McDonough
Gah, sorry for the multilist cross-post, this should have gone to the foundation list only. - C Chris McDonough wrote: > I nominate Tres Seaver. > > - C > > Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> (apologies in advan

Re: [Zope] [ZF] Announcement: 2010 Zope Foundation Board Elections and General Meeting

2010-01-22 Thread Chris McDonough
I nominate Tres Seaver. - C Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > (apologies in advance for the cross-post: we need this to reach the > whole Zope community). > > The Zope Foundation board is pleased to announce the regular 2010 > general meeting of the found

Re: [Zope] HTTP Request Denial of Service Vulnerability

2009-07-24 Thread Chris McDonough
Thanks Ryan! Were you also able (willing?) to take out the advice to not use Zope in the text? I assume that text shows up whenever a Zope-related vulnerability is encountered by the scanner. - C On 7/24/09 1:15 PM, ryan_per...@mcafee.com wrote: > Ok, the final analysis is as follows: > > We

Re: [Zope] HTTP Request Denial of Service Vulnerability

2009-07-19 Thread Chris McDonough
from a legit advisory. I smeil a fake. > > Ric > > > > On Jul 19, 2009, at 7:55 PM, Chris McDonough wrote: > >> I just sent the below via >> http://www.foundstone.com/us/contact-form.aspx . I'd >> suggest that others do the same; this company is totally wron

Re: [Zope] HTTP Request Denial of Service Vulnerability

2009-07-19 Thread Chris McDonough
r or content management system. I'd suggest getting a little more knowledge about your material before scaring folks. The Zope folks do full-disclosure of all vulnerabilities; it's up to you to discern the "scary" ones from the "ho hum" ones. This is definite

Re: [Zope] HTTP Request Denial of Service Vulnerability

2009-07-19 Thread Chris McDonough
I have no idea who "Foundstone Labs" is, nor if the denial of service vulnerability they're talking about is indeed the one fixed by http://www.zope.org/advisories/advisory-2008-08-12/ but: a) if it is, if you read it closely, you'll note that it's for Zope instances where untrusted users have

[Zope] repoze.bfg 1.0 released

2009-07-05 Thread Chris McDonough
Summary --- The first major release of the BFG web framework (aka "repoze.bfg"), version 1.0, is available. See http://bfg.repoze.org/ for general information about repoze.bfg. Details --- BFG is a Python web framework based on WSGI. It is inspired by Zope, Pylons, and Django. It make

Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-03 Thread Chris McDonough
On 5/3/09 12:40 PM, Krishnakant wrote: >>> On Sat, 2009-05-02 at 20:16 -0400, Chris McDonough wrote: >> By the way, for the record, you *might* be better off trying to serve up your >> Twisted app through WSGI and use WSGI middleware to do the >> authentication/autho

Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-03 Thread Chris McDonough
On 5/3/09 11:21 AM, Krishnakant wrote: >> On Sat, 2009-05-02 at 20:16 -0400, Chris McDonough wrote: >> No, at least without doing "some work" (where "some work" is more than just >> dropping your code into a directory and expecting Zope to pick it u

Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-03 Thread Chris McDonough
On 5/3/09 11:21 AM, Krishnakant wrote: >> On Sat, 2009-05-02 at 20:16 -0400, Chris McDonough wrote: >> No, at least without doing "some work" (where "some work" is more than just >> dropping your code into a directory and expecting Zope to pick it u

Re: [Zope] can I use my existing twisted rpc app in zope.

2009-05-02 Thread Chris McDonough
On 5/2/09 7:04 AM, Krishnakant wrote: >> It's really up to you. Personally, I would recommend looking into >> either Grok, which is based on Zope 3, or BFG, which is a minimalistic >> framework using Zope 3 technologies. >> >> http://grok.zope.org/ >> http://bfg.repoze.org/ >> > I see, By the way w

Re: [Zope] Styles of import in Zope (2 and 3)

2008-08-30 Thread Chris McDonough
One goal to shoot for when you do imports is to be able to remove an imported name by deleting a line as opposed to editing one (it makes reading diffs a bit easier). E.g. instead of: from foo import one, two, three I usually either do: import foo foo.one Or: from foo import one fro

[Zope] Re: [OT] -C

2008-01-31 Thread Chris McDonough
Peter Bengtsson wrote: Chris McDonough wrote: > Ricardo Newbery wrote: >> >> On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote: >> [snip] > > - C > > A HA!! That's where that notorious `-C` comes from that we all see in the str(REQUEST) on the

Re: [Zope] Re: Zeo and conflict resolution (was "suddenly confused")

2008-01-30 Thread Chris McDonough
Ricardo Newbery wrote: On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Has anyone given thought to maybe providing a more general class with conflict resolution in the core distribution? The Length class works for simple

Re: [Zope] problem authenticating, even with emergency user

2008-01-30 Thread Chris McDonough
FWIW, it is typically better to install mysql-python with an --rpath, e.g. python setup.py build_ext --rpath=/path/to/mysql/lib python setup.py install This prevents you from ever needing to set LD_LIBRARY_PATH in programs that use the library. You might need to change the mysql-python's site.

Re: [Zope] Re: suddenly confused

2008-01-30 Thread Chris McDonough
Dieter Maurer wrote: Ricardo Newbery wrote at 2008-1-29 01:19 -0800: ... Apologies for jumping late in this thread but how precisely should "App.FindHomes" be imported? Someone else reported about a ZEO patch that does the same thing without a need to import "App.FindHomes". That's here:

Re: [Zope] Package recommendations (?) for minimal ZCA environment

2008-01-28 Thread Chris McDonough
[EMAIL PROTECTED] wrote: All: I figured I would survey this list for recommendations of zope packages that have minimal dependencies -- specifically for non-web, non-ZODB ZCA applications. My criteria for this minimal environment: 1. No ZCML, ZODB, or zope.app.* dependencies. 2. Egg available

Re: [Zope] Re: suddenly confused

2008-01-19 Thread Chris McDonough
On Jan 19, 2008, at 1:39 PM, Dieter Maurer wrote: Tres Seaver wrote at 2008-1-18 21:06 -0500: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear wrote: I'm doing my first zeo setup, and suddenly I'm not sure about my products directory. Do I put all products in a products directory of

Re: [Zope] ZPL and GPL: What should one consider when choosing a license?

2007-12-21 Thread Chris McDonough
On Dec 21, 2007, at 3:53 PM, Ross Patterson wrote: Unfortunately, the comment by Chris McDonough mentioned in the latter doesn't seem to be accessible any more. I'd love to read it. It said: """ I don't think Plone is "bad" because it uses the GPL.

Re: [Zope] Deploying with buildout

2007-08-28 Thread Chris McDonough
On Aug 28, 2007, at 5:55 PM, Ross Patterson wrote: Putting these packages in your Zope instance home's "lib/python" directory should get them found before the others. For Products, you can use an additional "products-path" directive in zope.conf and put files in there. I don't know how to te

Re: [Zope] Deploying with buildout (was: buildout, instancemanager, and eggs)

2007-08-28 Thread Chris McDonough
On Aug 27, 2007, at 10:59 PM, Ross Patterson wrote: We have a Plone 3.0/Zope 2.10 application that we need to develop on, maintain and deploy to a ZEO server and multiple ZEO clients. Currently we use svn bundles of Zope and Plone and our own packages and products in one big svn:externals def

Re: [Zope] temp_folder not MountTemporaryFolder?

2007-06-24 Thread Chris McDonough
the MointPoint, but I have not found where this is done. Thanks for your response, and best regards, Manuel. On 6/24/07, Chris McDonough <[EMAIL PROTECTED]> wrote: /temp_folder is a "mount point" (see your zope.conf file). Whether or not you put a session data container inside

Re: [Zope] temp_folder not MountTemporaryFolder?

2007-06-24 Thread Chris McDonough
On Jun 24, 2007, at 9:31 PM, Manuel Vázquez Acosta wrote: Let me see if I got this right: According to ZODB.Mount.MountPoint: mount points are Zope objects that, when traversed, accesses a different database. You got it. Do they report themselves as the container-class defined in zope.conf

Re: [Zope] temp_folder not MountTemporaryFolder?

2007-06-24 Thread Chris McDonough
/temp_folder is a "mount point" (see your zope.conf file). Whether or not you put a session data container inside of a temp folder, you may get better conflict-related performance out of "faster", a drop-in replacement for the stock Zope sessioning machinery... see http://www.agendaless.co

Re: [Zope] smart development & debugging

2007-03-25 Thread Chris McDonough
One 'kickstart' way to get started with something that will build out a Zope environment in a repeatable way on UNIX (Linux/BSD/Mac/ probably Solaris) is available at http://www.plope.com/static/misc/ buildit_example-20070314-1.tgz. It requires "buildit" at http:// www.agendaless.com/Members/

Re: [Zope] Re: zope document management

2007-01-03 Thread Chris McDonough
I don't know much about the status of LocalFS but another product you might want to look at is here: http://www.plope.com/software/blob/ On Jan 3, 2007, at 5:31 PM, pol wrote: Dieter Maurer wrote: Maybe, you have a look at "LocalFS". It seems to be not compatible with zope 2.9.6 I have c

Re: [Zope] My Sad Tale Of Woe

2006-11-29 Thread Chris McDonough
Put a file named "access" in your Zope instance home with the content: emergency:123 You should be able to log in as the "emergency user" at that point and change the "admin" user's password. - C On Nov 29, 2006, at 2:59 PM, Nancy Donnelly wrote: 757575 Hi; Is anybody out there reading t

Re: [Zope] Re: zope fork in external method - mysql connection dropped

2006-10-16 Thread Chris McDonough
You might also try running zope under runzope instead of under zopectl. IIRC zopectl itself sets signal handlers and performs a fork before starting zope, so the inherited environment may not be what you think it is. - C On Oct 16, 2006, at 4:31 PM, Daniel Lopez wrote: I made one tweak

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-02 Thread Chris McDonough
Forget it. You're on Windows. nevermind. - C On Oct 2, 2006, at 11:42 AM, michaelntmilne wrote: Hi I've set up ZopeScheduler and TimerService to run a basic pack the ZODB script based on a time period. It won't run for some reason. TimerService starts up fine and listend. I get this i

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-02 Thread Chris McDonough
Yu could instead use ClockServer... it's built in to Zope 2.10 but can be used in older versions via a product... see http:// www.plope.com/software/ClockServer/ for code and docs. - C On Oct 2, 2006, at 11:42 AM, michaelntmilne wrote: Hi I've set up ZopeScheduler and TimerService to run a

Re: [Zope] HTTPResponse

2006-09-29 Thread Chris McDonough
See also http://www.zope.org/Wikis/DevSite/Proposals/ FasterStaticContentServing On Sep 29, 2006, at 10:48 AM, Stefan H. Holek wrote: The point of stream iterators is not the chunk size, but that they are handed to Medusa (ZServer) right away. As a result the Zope thread is immediately free

Re: [Zope] Mac OS X SystemStarter interface

2006-09-25 Thread Chris McDonough
Just tell launchd to start runzope. Launchd is just a process starter that requires the program start in the foreground (which runzope does). - C On Sep 25, 2006, at 8:01 PM, Perry Smith wrote: I am new to this but I have not seen how the "runzope" or zopectl start commands are done at s

Re: [Zope] Simple high-level question - mabye about WEBDAV?

2006-09-14 Thread Chris McDonough
lain-old-webfolders won't help here. I wonder why you don't just use a Windows share here? What does Zope give you that it wouldn't in this case? - C On Sep 14, 2006, at 1:53 PM, Steve wrote: Chris McDonough wrote: OK, well, Zope works out of the box with DAV clients, so.

Re: [Zope] Simple high-level question - mabye about WEBDAV?

2006-09-14 Thread Chris McDonough
OK, well, Zope works out of the box with DAV clients, so... (and please keep conversations on the list)... - C On Sep 14, 2006, at 1:32 PM, Steve wrote: Chris McDonough wrote: Take a look at Plone Desktop from enfold systems... Thanks for the suggestion... that's interesting, but far

Re: [Zope] Simple high-level question - mabye about WEBDAV?

2006-09-14 Thread Chris McDonough
Take a look at Plone Desktop from enfold systems... On Sep 14, 2006, at 12:08 PM, Steve wrote: I am looking to extend a zope portal to allow authenticated users to upload/download files... the idea being to support a shared drive containing various files available over HTTPS and available anywh

Re: [Zope] Can't stop Zope, machine hanging

2006-09-13 Thread Chris McDonough
On Sep 13, 2006, at 1:57 PM, Ken Ara wrote: I have a new problem but it's related, so I'll keep this thread alive. To recap: possibly due to some network problems at my hosting provider, my Zope would periodically stop responding and I was unable to stop, restart or kill it, or even restart th

Re: [Zope] Session data

2006-09-09 Thread Chris McDonough
You raised an exception. Exceptions cause the current transaction to abort, which causes the changes you've made to the session to be thrown out. Use request.RESPONSE.redirect(context.some_script.absolute_url()) instead. - C On Sep 9, 2006, at 6:26 PM, Anton Y. Yakovlev wrote: Hi! >F

Re: [Zope] Hanging site

2006-09-08 Thread Chris McDonough
FWIW, this message is raised when ZServer detects that the headers are too long. It is intentional and can be controlled up or down using the "http-header-max-length" directive in zope.conf. - C On Sep 8, 2006, at 3:44 PM, Dieter Maurer wrote: Chris Withers wrote at 2006-9-8 07:46 +0100

Re: [Zope] Re: Zope hangs when database takes too long to respond

2006-09-06 Thread Chris McDonough
On Sep 6, 2006, at 5:54 PM, Jonathan wrote: Well, by those standards, I propose he look at Delphi too... ;-) Do you mean he should consult the Oracle? ;-) Sure, why not, while he's at it? ;-) We can probably even haul in Interbase. P.S. I really was trying to be helpful Sure, I j

Re: [Zope] Re: Zope hangs when database takes too long to respond

2006-09-06 Thread Chris McDonough
On Sep 6, 2006, at 5:47 PM, Jonathan wrote: Unless he wants to rewrite his application, Twisted likely won't help, right? Twisted is, as i said "Another possible solution" - yes it will require work to integrate, but it is still a potential solution. I don't like to tell people what to

Re: [Zope] Re: Zope hangs when database takes too long to respond

2006-09-06 Thread Chris McDonough
On Sep 6, 2006, at 5:30 PM, Jonathan wrote: Another possible solution is to have a look at twisted: http://twistedmatrix.com/projects/core/documentation/howto/faq.html Unless he wants to rewrite his application, Twisted likely won't help, right? The OP may also want to see why his MySQL

Re: [Zope] Digital signature and Plone/Zope

2006-08-28 Thread Chris McDonough
he into a format that it could be read. *This* is the code that I won't even look at again without getting paid to do it. ;-) - C On Aug 28, 2006, at 12:07 PM, Chris McDonough wrote: I indeed have experience doing *exactly* this, but I'd never do it again; at least not without g

Re: [Zope] Digital signature and Plone/Zope

2006-08-28 Thread Chris McDonough
I indeed have experience doing *exactly* this, but I'd never do it again; at least not without getting paid to do it. ;-) - C On Aug 28, 2006, at 10:25 AM, harshad behere wrote: We are trying to implement digital signatures in zope application (Plone). Configuration is as follows: Python

Re: [Zope] Using eggs in a Zope instance

2006-08-10 Thread Chris McDonough
Can you not just copy the egg file to $INSTANCE/lib/python? - C On Aug 10, 2006, at 4:41 AM, Anton Stonor wrote: Python eggs are fun and powerful. However, there is one thing I can't get right when using them for Zope projects: Sometimes I would like eggs to live in $INSTANCE/lib/python ins

Re: [Zope] Zope 2.9 Product Refreshing

2006-08-08 Thread Chris McDonough
FWIW, the session data problem can be solved with the use of a ZODB session data container that is not stored in RAM (e.g. an SDC that is not /temp_folder/session_data), or a reimplentation of a session manager that uses a relational database or the filesystem. The proxy error issue should be sol

Re: [Zope] Re: FastCGI server crashing

2006-08-08 Thread Chris McDonough
On Tue, 2006-08-08 at 12:03 +0200, Tonico Strasser wrote: > Jens Vagelpohl schrieb: > > ... FastCGI is no longer a supported configuration. > > Just out of curiosity, why isn't it supported anymore? Mostly because nobody stepped up to support it. - C ___

Re: [Zope] Zope 2.9 Product Refreshing

2006-08-07 Thread Chris McDonough
On Aug 7, 2006, at 5:57 PM, John Schinnerer wrote: Since I never knew the refresh tab was a fragile hack, it always worked fine for me... :-) Bliss! I'm happy for you! FWIW, you've just had it nail you now, whereas I'd had it nail me four years ago, and swore it off then. ;-) Are you

Re: [Zope] Zope 2.9 Product Refreshing

2006-08-07 Thread Chris McDonough
The real effort towards making a "better refresh" should likely be spent at the level of the Python interpreter. The dynamic nature of Python is the thing that allows for a "refresh" in the first place, but the implementation of Python object references limits its usefulness. The impleme

Re: [Zope] Filling Out a PDF

2006-08-03 Thread Chris McDonough
Hi, This product: http://www.reportlab.com/pagecatcher_index.html seems like what you want... it's written in Python. - C On Aug 3, 2006, at 3:52 PM, Muk Yan wrote: Dear Knowledgeable Zope Zealots, Thanks for pointing me in the right direction last time, I just didn't know that I should

Re: [Zope] new user, teething problems

2006-08-03 Thread Chris McDonough
It's also possible that the error message is signifying that Zope is already started and you're trying to start it again. - C On Aug 3, 2006, at 10:32 AM, Jean Jordaan wrote: Hi John File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 232, in __init__ self._lock_file = LockFile

Re: [Zope] defunct process with os.spawn*

2006-08-02 Thread Chris McDonough
You need to call os.waitpid() at some point to clean up finished processes. - C On Aug 2, 2006, at 1:59 PM, Jonathan wrote: - Original Message - From: "Alan" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 02, 2006 1:52 PM Subject: [Zope] defunct process with os.spawn* Dears, N

Re: [Zope] Newbie questions about MVC, Continuations, Persistence

2006-07-07 Thread Chris McDonough
Hi Andrew, MVC is a pattern rather than a technology so it's mostly up to you to implement. Zope, the framework, doesn't mandate its use but it does provide facilities that make it easy to implement (via python scripts, Five views and templates, and other things). Zope isn't a continuati

Re: [Zope] page templates and "python:"

2006-07-03 Thread Chris McDonough
Actually, I think python: expressions perform slightly better than their path: counterparts because their evaluation step needs to do less work (no guessing about getitem vs. getattr). Geoff Davis taught me that. But in the end it's all dwarfed by the penalty imposed by security, so it re

Re: [Zope] Rollback and delete weird behavior

2006-07-01 Thread Chris McDonough
Can you provide a reproducible test case? There are really too many moving parts here to know what is going on without being able to reproduce it. On Jul 1, 2006, at 1:24 PM, Luiz Fernando B. Ribeiro wrote: Hello, In a python script I got a structure like this: # Many request checks # A

Re: [Zope] zope and redhat

2006-06-30 Thread Chris McDonough
I suspect you *think* it's starting one thread because top reports only one or two "python" processes. This is normal for newer Red Hat systems. Older ones reported a process for each thread. I believe there is a flag to ps that shows all threads as processes. - C On Jun 30, 2006, at 2:

Re: [Zope] Improved Zope Org Proposal

2006-06-28 Thread Chris McDonough
On Jun 28, 2006, at 2:40 AM, Lennart Regebro wrote: On 6/28/06, Andrew Sawyers <[EMAIL PROTECTED]> wrote: point. Write the 'Zope product' management software and expose it as a service - put it on the site. [...] No one said bag the collectors. Rewrite http://www.zope.org/ Collectors/ t

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread Chris McDonough
On Jun 20, 2006, at 2:55 PM, William Heymann wrote: That is probably a good idea for long term to change things that way and I would like to rewrite it. However right now I don't really want to rewrite the way the current system works. I had hoped I could just use get_transaction().commit() a

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread Chris McDonough
On Jun 20, 2006, at 2:27 PM, William Heymann wrote: I am dealing with a zope system where Verisign is sending a POST to our server for ecommerece purposes. Currently I am writing the entire contents of the POST from verisign to the ZODB however I have a problem that some of these POSTs ar

Re: [Zope] Transaction rollback

2006-06-20 Thread Chris McDonough
import transaction transaction.abort() should do it. I will spare you the nannylike warnings about managing your own transaction state.. - C On Jun 20, 2006, at 11:21 AM, Luiz Fernando B. Ribeiro wrote: I need to return an error page with instructions after verifying a request but I need

Re: [Zope] Problem with constructTransientObjectContainer

2006-06-20 Thread Chris McDonough
folder.manage_addProducts ['Transience'].constructTransientObjectContainer might work (assuming "constructTransientObjectContainer" is the right constructor name, I didn't check). - C On Jun 20, 2006, at 9:39 AM, Jonathan wrote: I have an external method that is trying to create a Transien

Re: [Zope] Re: filter messages at startup

2006-06-14 Thread Chris McDonough
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 14, 2006, at 4:36 AM, Andreas Jung wrote: --On 14. Juni 2006 10:25:57 +0200 thomas desvenain <[EMAIL PROTECTED]> wrote: 2006/6/13, Chris McDonough <[EMAIL PROTECTED]>: I suppose a log call is fine. I *really* like th

Re: [Zope] Re: filter messages at startup

2006-06-13 Thread Chris McDonough
t Guillaume wrote: Indeed they are logging.getLogger("Init") calls (from App/ class_init.py). Why change that? They're perfectly fine in the event log. Florent On 13 Jun 2006, at 23:08, Chris McDonough wrote: Not out of the box. Egads, I think you're right. These aren&#

Re: [Zope] Re: filter messages at startup

2006-06-13 Thread Chris McDonough
Not out of the box. Egads, I think you're right. These aren't actual warnings, are they? They're log calls. That should be changed. - C Actually, there is a way, but it's a bit heavy-handed and imprecise. In zope.conf, do (untested): action ignore message .*has a security d

Re: [Zope] Re: filter messages at startup

2006-06-13 Thread Chris McDonough
On Jun 13, 2006, at 11:05 AM, Florent Guillaume wrote: thomas desvenain wrote: i mean i would like to filter warning/error messages that appears in console when starting zope server or debugger in order to ignore those i'm not interested with for the moment for instance : [EMAIL PROTECTED] t

Re: [Zope] Templates vs DTML

2006-06-06 Thread Chris McDonough
The meld3-vs-zpt post was here: http://www.plope.com/Members/chrism/meld3_zpt_profiling_madness It'd probably not be too hard to come up with a DTML variant of the same test rig. Conventional wisdom is that DTML is faster than ZPT. FWIW, if you plan to use Five, you're really going to be sw

Re: [Zope] Ghost user in Zope 2.7.6 on Win32

2006-06-01 Thread Chris McDonough
It *sounds* like you might be behind some sort of load balancer that's talking to completely different Zope instances depending on some randomness. Is there only one Zope instance in play here? - C On Jun 1, 2006, at 6:53 PM, Dale Strickland-Clark wrote: We have a strange case of a user di

Re: [Zope] Isolating changes that can only be done globally

2006-05-29 Thread Chris McDonough
I suspect you're going to have to subclass the urllib2 Opener class (es) and use a timeoutsocket where they create sockets. Making this be an option upstream would be a valuable addition to Python, FWIW. The other way to do this would be to ditch urllib2 and write a very simple HTTP client

Re: [Zope] Future of Zope2

2006-05-27 Thread Chris McDonough
I suspect it will continue alongside. - C On May 27, 2006, at 4:28 PM, Roberto Benitez wrote: Does anyone know what the future holds for zope 2? will development continue along side zope3? or will it be replaced in its entirety by zope3? Feel free to call! Free PC-to-PC calls. Low rates o

Re: [Zope] Looking for current shopping cart product

2006-05-27 Thread Chris McDonough
On May 27, 2006, at 6:07 AM, John Schinnerer wrote: Aloha, I am wondering if there is any current and stable shopping cart products for zope (2.7.5 is my current live version). I have a custom merchandise product for a client's business site. Retail sales are already handled via their PayPa

Re: [Zope] Strange errors while 'make'ing

2006-03-20 Thread Chris McDonough
These are warnings coming from GCC (as opposed to errors, which would prevent compilation from finishing). GCC 4.X emits these pointer signedness warnings whereas earlier GCC versions did not. This issue has been fixed on the Zope trunk, I believe (the codebase which will become Zope 2.10)

Re: [Zope] Using Twisted rather than ZServer with Zope >= 2.9.0

2006-03-16 Thread Chris McDonough
like it's production ready. :-) I was hoping that the experiment had been taken a bit further. On Wed, 15 Mar 2006, Chris McDonough wrote: Only minimally, AFAIK. A sprint in 2004 had this as the topic: http://www.zope.org/Members/adytumsolutions/pycon2004/TwistedZope - C On Mar 15

Re: [Zope] Using Twisted rather than ZServer with Zope >= 2.9.0

2006-03-15 Thread Chris McDonough
Only minimally, AFAIK. A sprint in 2004 had this as the topic: http://www.zope.org/Members/adytumsolutions/pycon2004/TwistedZope - C On Mar 15, 2006, at 8:38 PM, Dennis Allison wrote: I know Twisted is used in the Zope 3 space. Has anyone experimented with replacing ZServer? A quick Go

Re: [Zope] Need Urgent Help

2006-03-07 Thread Chris McDonough
Hire a consultant. - C On Mar 7, 2006, at 7:09 PM, Meir Livneh wrote: Guys I am required to interface with the following systems: Hummingbird DM Hummingbird RM Documentum RM OpenText Livelink Crystal Enterprise Pro Any ideas? Meir Livneh _

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Chris McDonough
On Feb 23, 2006, at 4:51 PM, Stephan Richter wrote: So, I take it that you are a second voter in favor of not requiring all tests to be doctests. If the ZSCP thing takes off, I think test/doc req'ts should be somewhat looser than mandating a particular test/doc framework (something along

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Chris McDonough
On Feb 23, 2006, at 1:57 PM, Benji York wrote: > But it's of course a judgment call. Perhaps this is just one of those to-each-his-own things. My own are doctests. ;) Sure. I actually really appreciate reading good doctests, they help a lot, and they beat not having any docs at all any

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Chris McDonough
On Feb 23, 2006, at 1:17 PM, Benji York wrote: Chris McDonough wrote: I dunno about sucking because they are quite good for documentation, but I tend to write plain-old unittests instead of doctests when I'm testing without any pretense towards writing documentation. If you

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Chris McDonough
I dunno about sucking because they are quite good for documentation, but I tend to write plain-old unittests instead of doctests when I'm testing without any pretense towards writing documentation. If you test internals of a class in a doctest, the doctest body gets pretty cluttered, which

[Zope] Re: [Zope3-Users] Re: [Zope3-dev] The Zope Software Certification Program and Common Repository Proposal

2006-02-21 Thread Chris McDonough
I hate to cross-post this, but would it be possible to limit this discussion to a single list (e.g. zope3-dev, maybe)? I'm interested in this topic, but my mail client isn't smart enough to filter it out to only one place and I'm sure there are a lot of other people with the same issue.

Re: [Zope] unbuffered response.write through Apache 2.0 reverse proxy?

2006-02-18 Thread Chris McDonough
Apache does its own buffering IIRC. Look for ProxyReceiveBufferSize/ ProxyIOBufferSize. On Feb 18, 2006, at 3:59 AM, Christoph Berendes wrote: To prevent browser timeout during a long running process, I've got the following code to work nicely,when the browser accesses Zope directly (e.g.

Re: [Zope] ZEO disconnects, Zope auto restarts (via zopectl)

2006-02-03 Thread Chris McDonough
On Feb 3, 2006, at 1:06 PM, Paul Winkler wrote: If I were in your shoes the first thing I'd do is bump up the log levels on both zope and zeo to BLATHER. Adds overhead I know, but you need to find the problem somehow... it's a weird one, I've never seen zope restart "for no reason". This

Re: [Zope] Re: raw trace log format

2006-02-02 Thread Chris McDonough
This little bit of code has some clues: def put(self, code, t, desc): if code not in ('A', 'B', 'I', 'E'): raise "unknown request code %s" % code if code == 'B': self.start = t self.method, self.url = desc.strip().split() elif code =

Re: [Zope] LocalFS

2006-02-01 Thread Chris McDonough
If you're developing at the "Python Product" level (rather than at the "through the web" level), this "blob" product might help: http://www.plope.com/software/blob On Feb 1, 2006, at 5:22 PM, Rakotomandimby Mihamina wrote: Hi, In order to learn developping for Zope, I want to learn manipul

Re: [Zope] Managing Content Access and Multiple Users

2005-12-23 Thread Chris McDonough
Hi Francisco, This may not be what you *want* to read ;-), but this is how I (and many others) do it: http://www.plope.com/Members/chrism/zope_collab - C On Dec 23, 2005, at 2:16 PM, Francisco Chamorro wrote: Hi everyone, I have a process question and wanted to know what tools are avail

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 2:17 PM, Dennis Allison wrote: I have begun to think that the Zope session variable mechanism, as implemented, addresses a different part of the storage spectrum than we need. A small number of per user parameters (3 to 10) are used by almost every request. Most of the p

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 1:07 PM, Dennis Allison wrote: Sorry if I appeared unresponsive--the fact that we use frames is hardly a secret. I suppose that it would be helpful to make up soem summary of features for ongoing threads like this one. It was a secret to me (again, perhaps because of m

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 12:40 PM, Dennis Allison wrote: Chris W, The issue here has had to do with session variables and their iteraction with the persistence mechanism and conflicts and multiple threads for the same session. Chris McDonough has pointed out that session variables can cause

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 11:38 AM, Dennis Allison wrote: Chris, You asked about frames a while back and I responded in the affirmative. I am sure I mentioned that we use frames and framesets and explained that we use a bit of Javascript to manage loading individual frames rather than loading

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 10:32 AM, Dennis Allison wrote: Thanks again Chris for the helpful comments. The navigation_box, in this context is just a table which is rendered into a frame in our standard frameset. It is not an iframe. So you do use frames! That's a huge clue. I wish I didn't feel l

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
Write conflicts happen for a transaction. In Zope, there is one transaction per request. There are two distinct sections to the navigation_box transaction. There's a transaction for something named "navigation_box"? Is this an IFRAME? One where the session variables are read and a sec

Re: [Zope] More on understanding conflicts

2005-12-20 Thread Chris McDonough
The structure of the method is simple enough: there is a large block which populates local variables with data from the session variables with the body of the containing 300 lines or so of dtml, control code, sql queries, and occasional dtml-let blocks to hold query result

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-20 Thread Chris McDonough
Trimmed Zope-dev from this (cross-posts are bad)... Dennis, Lets just put the question out there: Does: SESSION['someKey'] = someValue Force a commited transaction? As opposed to ... someDict = Session['SomeKey'] someDict['aKey'] = 'aNewValue' Neither "forces a committed transaction", but

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-20 Thread Chris McDonough
On Dec 20, 2005, at 12:36 AM, Dennis Allison wrote: The interaction between sessions, conflicts, and persistence is a bit confusing. I am still trying to understand the code in depth. One thing is for sure, request.SESSION and/or request['SESSION'] must be persistent for things to work. M

Re: [Zope] ERROR BeforeTraverse Error while invoking hook

2005-12-19 Thread Chris McDonough
You might have a access rule in there that expects to be able to call something that's missing? On Dec 19, 2005, at 4:29 AM, Maciej Wisniowski wrote: Hi! After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error i

Re: [Zope] Zope Persistence (was: XML-RPC within ZOPE)

2005-12-16 Thread Chris McDonough
The problem setup is this; I explained it above, but it this has become a long thread: I write a ZOPE product. I want to make use of other software on the internet and the services that software provides. So I use the methods exposed by that software via SOAP, XML-RPC, whatever. One of those met

Re: [Zope] Zope Persistence (was: XML-RPC within ZOPE)

2005-12-16 Thread Chris McDonough
On Dec 16, 2005, at 8:02 PM, Jan-Ole Esleben wrote: I don't understand the problem. How is using XML-RPC incompatible with persistence? What are you trying to exclude? I'm sorry, but I don't understand _that_ question. What am I trying to _exclude_? You said: """ it would most certainly

Re: [Zope] Zope Persistence (was: XML-RPC within ZOPE)

2005-12-16 Thread Chris McDonough
I don't understand the problem. How is using XML-RPC incompatible with persistence? What are you trying to exclude? - C On Dec 16, 2005, at 6:40 AM, Jan-Ole Esleben wrote: Thanks; this is a problem we are well aware of. Our solution is to increase the amount of workers, obviously. Howeve

[Zope] Re: Triggering the persistence mechanism

2005-12-15 Thread Chris McDonough
session variables. What I want to be able to do is have the coders call getSessionVariable(name) to get the current value of the session variable and setSessionVariable(name, value) to save the value. The type of the variable should be transparent to the programmer--that is

[Zope] Re: Triggering the persistence mechanism

2005-12-15 Thread Chris McDonough
There is nothing that needs to be done here. It's only if you *mutate* values stored in the session that you need to do explicit persistence triggering. I provided an example of doing this in my last email. - C On Dec 15, 2005, at 4:20 PM, Dennis Allison wrote: Chris McDonnough pointe

  1   2   3   4   5   6   >