Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread Andrew Langmead
On Apr 9, 2005, at 4:04 PM, David H wrote: Cannot open source file: 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ ISO_8859_1_Splitter.c':    No such file or directory error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"' failed with exit status 2

Re: [Zope] how to generate debug.log for requestprofiler

2005-04-14 Thread Andrew Langmead
On Apr 14, 2005, at 6:02 PM, Jim Abramson wrote: At some point btn Zope 2.6.2 and 2.7.4, it seems way you set up a logfile to be used by requestprofiler.py has changed. Now I need "debug.log" - whats the proper way to generate one?  I've just been googling and can't find explicit instructions ab

Re: [Zope] Problem with Zope Threads on Debain

2005-04-20 Thread Andrew Langmead
On Apr 20, 2005, at 5:43 AM, David wrote: I do : ps -aux . There is one zope process (user : zope) running in every moment : zope 19004 0.3 11.0 171460 114380 ? S09:58 0:16 /usr/bin/python2.3 /usr/lib/zope2.7/lib/python/Zope/Startup/run.py -C /var/lib/zope2.7/instance/ ... Howe

Re: [Zope] Re: Zope 3 for Debian?

2005-05-17 Thread Andrew Langmead
On May 17, 2005, at 5:17 PM, Tres Seaver wrote:Perhaps I conflated two memories.  I'm pretty sure that *something* in the Zope codebase requires zlib, but I take Tim's word for it that I wrongly attributed that dependency to ZODB.At one point, our system administration staff commissioned machines i

Re: [Zope] Re: Problem with keep-alive timeout

2005-06-22 Thread Andrew Langmead
If you really need handle an arbitrary processing time. You might need to separate the request submission from the processing, and the processing from the results display. Roughly the way it would work would be like dropping your laundry off at the cleaners. You bring in the dirty clothes a

Re: [Zope] Re: Problem with keep-alive timeout

2005-06-22 Thread Andrew Langmead
On Jun 22, 2005, at 1:25 PM, Jonathan wrote:Set up your web page so that it has two frames: the main frame (visable) invokes the long running zope script;  and a secondary (hidden) frame uses a _javascript_ routine (running on a timer) which queries a no-op zope script. This should stop your browse

Re: [Zope] External editor for ZMI

2005-06-23 Thread Andrew Langmead
On Thu, Jun 23, 2005 at 04:27:50PM +0100, John Poltorak wrote: What alternatives are there to editing objects through ZMI? I've often used the WebDAV support for using standard file system based editing tools on Zope content. How well it works depends greatly on the WebDAV client you have

Re: [Zope] large installations and conflict errors

2005-08-08 Thread Andrew Langmead
On Aug 8, 2005, at 10:01 AM, M. Krainer wrote: So far our story, but what I really wonder is, if there's anyone out there who has a similar large installation. Please let me know how large your zope instance is and what you have done to increase your (write) performance. Also any ideas that may h

Re: [Zope] large installations and conflict errors

2005-08-09 Thread Andrew Langmead
On Aug 9, 2005, at 7:01 AM, Sascha Ottolski wrote: What we've seen so far: we used to set the cache-size to 250 MB; and every know and than we have to observe that after a restart of a client a cache verification is necessary (while not always obvious, why this happened), which often takes

Re: [Zope] Startup hook

2005-08-17 Thread Andrew Langmead
On Aug 17, 2005, at 4:40 PM, Tino Wildenhain wrote: cd Products mkdir FancyThirtPartyStartupDieterForgotTheName cd Fancy* echo "import mymoduleineedtostart" >__init__.py echo "mymoduleineedtostart.run()" >>__init__.py maybe? ;) A neat variation of this would be something derived from OFS.

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-18 Thread Andrew Langmead
On Aug 18, 2005, at 1:19 PM, Garito wrote: Sorry but my Mac OS X skill are null I think you are in the unfortunate spot of of OS X where you are confronted with the ease of use of Unix and the ubiquity of the Macintosh. I try: sudo /System/Library/StartupItems/Zope/Zope but raises li

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-24 Thread Andrew Langmead
On Aug 23, 2005, at 6:24 AM, Garito wrote: I try sudo /System/Library/StartupItems/Zope/Zope start but nothing happend (nor on console) but if I launch /var/zope/sistes/bin/zopectl start it works perfectly I try to comment the if and fi lines but don't work I just want to make sure I po

Re: [Zope] question about Zope capabilities

2005-11-17 Thread Andrew Langmead
On Nov 17, 2005, at 9:38 AM, Jonathan wrote: A less quick and less dirty solution could be to create several templates (each with different layouts) and serve them up at random. Instead of at random, maybe based on certain conditions of the object being displayed. It may take some time to c

Re: [Zope] Trapping zope exceptions in python script

2005-12-15 Thread Andrew Langmead
On Dec 15, 2005, at 4:01 PM, Nikko Wolf wrote: Can you elaborate on what "strange and unpredictable behavior" you mean? I'm curious in general, but especially w.r.t. the code above? BTW, a simple grep of sources in Zope (2.7.6-final) turns up 600+ places where a bare except is used, and m

Re: [Zope] dealing with scripts that take too long

2006-01-25 Thread Andrew Langmead
On Jan 25, 2006, at 5:17 PM, martin f krafft wrote: we're experiencing problems with certain maintenance scripts, which just take too long to complete, so that the browser resets the connection and Zope aborts the transaction. If these are maintenance scripts that are kicked off manually by

Re: [Zope] Squid & ESI

2006-01-30 Thread Andrew Langmead
On Jan 30, 2006, at 1:16 PM, Chris Withers wrote: Perhaps you could write a short how-to describing the exact versions you used? Both myself and Jens had little joy with this... I just managed to build myself an ESI enabled Squid3 with the following configure invocation. It is based rough

Re: [Zope] Check Zope status

2006-07-11 Thread Andrew Langmead
On Jul 11, 2006, at 9:20 AM, Jonathan Bowlas wrote: Is there any tool we can use to test to see if Zope has actally crashed? At our company, we wrote something that checks the trace.log file to check the status of the current zope requests. The trace.log file records when a new network co

Re: POUND AND ZOPE HELL!!! was: Re: [Zope] Can't Find This Bug!

2006-08-16 Thread Andrew Langmead
On Aug 16, 2006, at 11:13 AM, Jonathan wrote: Another idea is to have your client install ieHTTPHeaders (or equivalent for non-IE browsers) in their web browser and then send you the http header info that they are seeing. The Mozilla equivalent is LiveHTTPHeaders livehttpheaders.mozdev.org/

Re: [Zope] zeoctl logreopen doesn't work

2006-09-13 Thread Andrew Langmead
On Sep 13, 2006, at 4:00 AM, Gerhard Schmidt wrote: But no new zeo.log is created and all log entries still go to the old file. It looks like that wasn't implemented and just sort of stubbed out. The method that gets called with logrotate looks like this: def handle_sigusr2(self):

Re: [Zope] Resizing an Image with PIL via a Form Upload

2007-02-22 Thread Andrew Langmead
On Feb 22, 2007, at 1:29 PM, Tom Von Lahndorff wrote: 8original_image=getattr(self, original_id) 9original_file=StringIO(str(original_image.data)) [and later] AttributeError: DSCF0004.jpg I think your line numbers are off by one, because I'd think it is the getattr that would be ca