[Zope] apache 2, mod_deflate, mod_fastcgi, zope 2.7: something's slow.

2005-08-17 Thread Faried Nawaz
Hello,It seems that if I use mod_deflate to compress zope's responses, I take amajor hit -- around 1.4 seconds without compression and around 16.4 seconds with.I can't figure out what I'm doing wrong here. I have zope 2.7.7 running with the fast-cgi ZServer enabled.Urls beginning with

[Zope] How to see zope error_log?

2005-08-17 Thread praba kar
Dear All, Can any one let me know how to see zope error_log in zope version 2.7.4 regards Prabahar Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to

Re: [Zope] How to see zope error_log?

2005-08-17 Thread Andreas Jung
--On 17. August 2005 10:24:16 +0100 praba kar [EMAIL PROTECTED] wrote: Dear All, Can any one let me know how to see zope error_log in zope version 2.7.4 By clicking on error_log in the ZMI??? -aj pgpkcWyOMfPKu.pgp Description: PGP signature

[Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-17 Thread Garito
Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question I can't configure is the automatic boot up I read some how-to's but they don't work At /System/Library/StartupItems I create a folder called Zope with 2 files: Zope with these contents:

[Zope] Help need for a Zope presentation to java lovers...

2005-08-17 Thread Pascal Peregrina
Hi, I know that this is an unusual request, but if some of you have some time to help me on this it would be great ! Basically, I can summarize the question I will have to answer this way : why should we use Zope 2 instead of JSP/struts ? All the business logic of the company is implemented

Re: [Zope] Workflow question - additional information

2005-08-17 Thread David Pratt
I should have stated that my workflow script checks for image type in this directory. It uses PIL to make a variety of image sizes, but uses the pil image data to create a new object type in another directory. The workflow script deletes the image in the original directory after this has been

[Zope] Startup hook

2005-08-17 Thread Gabriel Genellina
Hello I need to execute something each time Zope starts, is there any place where i could put such things? (apart from modifying Zope.Startup.__init__.py) Gabriel Genellina Softlab SRL ___ Zope maillist - Zope@zope.org

Re: [Zope] Startup hook

2005-08-17 Thread Lennart Regebro
On 8/17/05, Gabriel Genellina [EMAIL PROTECTED] wrote: Hello I need to execute something each time Zope starts, Really? Could you explain what and why? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/

Re: [Zope] Help need for a Zope presentation to java lovers...

2005-08-17 Thread Chris McDonough
Zope excels at providing web services via XML-RPC. Basically: - You need to do exactly nothing to make a Zope application accessible via XML-RPC. - When Zope isn't responsible for rendering HTML, it can be quite fast. - Zope is capable of interfacing transactionally with many data

RE: [Zope] Startup hook

2005-08-17 Thread Pascal Peregrina
Well, creating a subfolder in the Products folder and putting an __init__.py there that does what you want should work. Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriel Genellina Sent: 17 August 2005 15:35 To: zope@zope.org Subject: [Zope]

RE: [Zope] Help need for a Zope presentation to java lovers...

2005-08-17 Thread Pascal Peregrina
Hi Chris, Ooops... Reading your reply shows me that I was unclear ;) Zope will be the CMS system of the architecture (so it will render HTML). I only meant that it would get dynamic data using XML-RPC queries, but I already have an efficient product for this, so it's not an issue. So what they

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

2005-08-17 Thread Bernd Dorn
the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question I can't configure is the automatic boot up I read some how-to's but

[Zope] Re: apache 2, mod_deflate, mod_fastcgi, zope 2.7: something's slow.

2005-08-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Faried Nawaz wrote: It seems that if I use mod_deflate to compress zope's responses, I take a major hit -- around 1.4 seconds without compression and around 16.4 seconds with. I can't figure out what I'm doing wrong here. I have zope 2.7.7

RE: [Zope] Help need for a Zope presentation to java lovers...

2005-08-17 Thread Chris McDonough
On Wed, 2005-08-17 at 16:02 +0100, Pascal Peregrina wrote: Hi Chris, Ooops... Reading your reply shows me that I was unclear ;) Zope will be the CMS system of the architecture (so it will render HTML). Ah. Well, it's not too bad at doing that either. ;-) I only meant that it would get

[Zope] Moving Document Library Product

2005-08-17 Thread David
Hi I have problems moving Document Library instances. I get errors. The entire ZODB is 300MBs and the volume has more then 3Gigs free space. The problem occurs when trying to paste [I/O Error: not enough space on the device] the library (copy command seems to work) or import (export

[Zope] URL0 returns index_html not index.html

2005-08-17 Thread Mark Barratt
Zope 2.7.4 on Debian DTML method index_html in the root says dtml-var _['index.html'] A link in a page template to tal:attributes=href string:${context/REQUEST/URL0}/source.html where the page is addressed by [path]/ and is actually at [path]/index.html returns [path]/index_html/source.html

[Zope] Re: apache 2, mod_deflate, mod_fastcgi, zope 2.7: something's slow.

2005-08-17 Thread Faried Nawaz
I tried messing with it some more, and it seems that the fix was to place tal:foo define=ret python: container.REQUEST.RESPONSE.enableHTTPCompression(container.REQUEST) tal:omit-tag= / somewhere near the top of my template. I didn't realize I needed compression enabled in zope; I thought

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

2005-08-17 Thread Garito
Bernd Dorn escribió: the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- Sorry I put these but I don't tell you On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question I

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

2005-08-17 Thread Garito
Bernd Dorn escribió: the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question I can't configure is the automatic boot up I

Re: [Zope] Moving Document Library Product

2005-08-17 Thread Andreas Jung
--On 17. August 2005 17:06:36 +0100 David [EMAIL PROTECTED] wrote: Error Type: ImportError Error Value: No module named Splitter Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in

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

2005-08-17 Thread Bernd Dorn
On 17.08.2005, at 20:22, Garito wrote: Bernd Dorn escribió: the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question

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

2005-08-17 Thread Michael Dunstan
On 2005-08-18, at 06:35 GMT+12:00, Bernd Dorn wrote: On 17.08.2005, at 20:22, Garito wrote: Hi again! Sorry but Zope is executable, perhaps another thing? Any idea? hm, have you set the effective user in zope.conf? you need this if you run zopectl as root as root try to execute

Re: [Zope] Workflow question

2005-08-17 Thread Dieter Maurer
David Pratt wrote at 2005-8-17 00:13 -0300: ... but when I FTP my images to this directory it fails giving me a 426 Error creating file. Look at your error_log object to find out the real reason (and get the traceback). -- Dieter ___ Zope maillist

Re: [Zope] Startup hook

2005-08-17 Thread Dieter Maurer
Gabriel Genellina wrote at 2005-8-17 11:34 -0300: I need to execute something each time Zope starts, is there any place where i could put such things? (apart from modifying Zope.Startup.__init__.py) An incredibly long time ago, there was a (third party) product that did this. I forgot its

Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-17 Thread Dieter Maurer
Tim Peters wrote at 2005-8-16 12:35 -0400: ... For example, on a slow or overburdened (with other simultaneous work) machine, some ZEO tests can fail due to not getting enough cycles soon enough. My experience has been that ZEO tests fail with preference on especially fast machines. -- Dieter

Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-17 Thread Dieter Maurer
Andreas Krasa // WUW wrote at 2005-8-16 18:37 +0200: ... == ERROR: checkMultipleAddresses (ZEO.tests.testConnection.MappingStorageConnectionTests) -- Traceback

Re: [Zope] apache 2, mod_deflate, mod_fastcgi, zope 2.7: something's slow.

2005-08-17 Thread Dieter Maurer
Faried Nawaz wrote at 2005-8-17 12:21 +0500: It seems that if I use mod_deflate to compress zope's responses, I take a major hit -- around 1.4 seconds without compression and around 16.4 seconds with. I can't figure out what I'm doing wrong here. Looks as if you should not use mod_deflate. Zope

Re: [Zope] http post from java applet

2005-08-17 Thread Dieter Maurer
Jeremiah White wrote at 2005-8-16 20:37 -0400: I am looking at a product from radinks.com that is an applet that allows you to drag and drop files into the browser window and then uses HTTP post to upload. In order to upload files, though, you must be logged into my site. Even after you have

Re: [Zope] Non-responsive folders

2005-08-17 Thread Dieter Maurer
Garth B. wrote at 2005-8-16 19:21 -0400: ... When I hit an offending folder, I simply get no response and the browser just waits and waits. Visit Control_Panel -- Debug Information and check whether your request indeed does not finish. You see the active requests at the bottom of this page. If

[Zope] Zope and double-byte locales

2005-08-17 Thread Pascal Peregrina
Hi, I would like to know if Zope supports locales like Japanese for example ? Does anyone have a link to a Japanese website powered by Zope ? Thanks. Pascal ** This email and any files transmitted with it are confidential

Re: [Zope] Startup hook

2005-08-17 Thread Tino Wildenhain
Am Mittwoch, den 17.08.2005, 22:09 +0200 schrieb Dieter Maurer: Gabriel Genellina wrote at 2005-8-17 11:34 -0300: I need to execute something each time Zope starts, is there any place where i could put such things? (apart from modifying Zope.Startup.__init__.py) An incredibly long time ago,

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

Re: [Zope] Workflow question

2005-08-17 Thread David Pratt
Hi Dieter. Many thanks for your reply. The place in my workflow that it failed was opening the image. IOError: cannot identify image file for image_data in image_data_list: # Get original image data into string object

Re: [Zope] apache 2, mod_deflate, mod_fastcgi, zope 2.7: something's slow.

2005-08-17 Thread Faried Nawaz
On 8/18/05, Dieter Maurer [EMAIL PROTECTED] wrote: Looks as if you should not use mod_deflate. Zope can perform gzip compression by itself. As you probably read in my previous email, I have rules defined in Apache to handle various browsers and proxies when dealing with possibly gzip'd

[Zope] Re: Zope and double-byte locales

2005-08-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pascal Peregrina wrote: I would like to know if Zope supports locales like Japanese for example ? Does anyone have a link to a Japanese website powered by Zope ? http://zope.jp/ http://www.zope.co.jp/ That last link is for Zope Japan KK, a

[Zope-Checkins] CVS: Packages/AccessControl - User.py:1.176.14.9

2005-08-17 Thread Andreas Jung
Update of /cvs-repository/Packages/AccessControl In directory cvs.zope.org:/tmp/cvs-serv17549/lib/python/AccessControl Modified Files: Tag: Zope-2_7-branch User.py Log Message: - AccessControl: creating a new user through zpasswd inituser did not work properly with a

[Zope-dev] Re: Windows builds

2005-08-17 Thread Florian Schulze
On Sun, 14 Aug 2005 13:14:50 +0200, Christian Theune [EMAIL PROTECTED] wrote: Hi, I announced myself stepping back from doing the windows builds some while ago. Although nobody stepped up in taking this task, I'll make a hard cut right now. I'm preparing the 2.8.1 builds right now and those