Re: [Zope] Problem with Photo Folder

2005-09-13 Thread David
On 12 Sep 2005, at 18:45, Peter Bengtsson wrote:Just checking... sure you've got sufficient hardrive space? Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things.Cheers___ Zope maillist - Zope@zope.org

[Zope] MemoryError that brings my zope to its knees

2005-09-13 Thread Calvin Hendryx-Parker
In the last month I have started to get these errors using Zope 2.7.7 in a ZEO configuration with one client and one storage server: -- 2005-09-12T23:46:07 ERROR(200) ZODB Couldn't load state for 0x055ba7 Traceback (most recent call last): File

RE: [Zope] MemoryError that brings my zope to its knees

2005-09-13 Thread Pascal Peregrina
What's the amount of RAM you have ? Have you changed the default pool-size in the zodb section ? Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Calvin Hendryx-Parker Envoyé : mardi 13 septembre 2005 11:44 À : zope@zope.org Objet : [Zope]

[Zope] Re: MemoryError that brings my zope to its knees

2005-09-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Calvin Hendryx-Parker wrote: In the last month I have started to get these errors using Zope 2.7.7 in a ZEO configuration with one client and one storage server: -- 2005-09-12T23:46:07 ERROR(200) ZODB Couldn't load state for 0x055ba7

Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Peter Bengtsson
Then I don't know. Try the comp.lang.python group On 9/13/05, David [EMAIL PROTECTED] wrote: On 12 Sep 2005, at 18:45, Peter Bengtsson wrote: Just checking... sure you've got sufficient hardrive space? Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things.

[Zope] Zope iso-8859-1 to utf-8

2005-09-13 Thread Pascal Peregrina
Hi, I have been running a Zope installation for 2 years, so there are now lots of objects, properties, etc... I would like to know what are the possible issues I may have to face if I change the default encoding for iso-8859-1 to utf-8 in ZMI. Thanks. Pascal

RE: [Zope] MemoryError that brings my zope to its knees

2005-09-13 Thread Pascal Peregrina
That looks wierd... Has the instance been running for a while when you copied the content of the Cache Parameters tab ? I would have expected many more connections (instead of just 2). Can you give us your zserver-threads value (zope.conf) ? Thanks. Pascal -Message d'origine- De :

[Zope] Re: MemoryError that brings my zope to its knees

2005-09-13 Thread Calvin Hendryx-Parker
On Sep 13, 2005, at 12:00 PM, Pascal Peregrina wrote: What's the amount of RAM you have ? When we started having this problem the box only had 1GB of RAM so we replaced that RAM completely and put in a fresh 4GB of RAM to hopefully get rid of the problem. This box is also running 3 other

[Zope] Monkey patching Z2.log

2005-09-13 Thread Pascal Peregrina
Hi, Can somebody tell me what I should monkey patch if I need to alter Z2.log logging in order to append a particular request environment value ? I triedbut I got lost trying to find PublisherHTTPServer and ZPublisher relationship... Thanks a lot. Pascal

[Zope] Re: MemoryError that brings my zope to its knees

2005-09-13 Thread Calvin Hendryx-Parker
Pascal Peregrina wrote: That looks wierd... Has the instance been running for a while when you copied the content of the Cache Parameters tab ? I would have expected many more connections (instead of just 2). Can you give us your zserver-threads value (zope.conf) ? It is not set so I assume

[Zope] Re: Zope iso-8859-1 to utf-8

2005-09-13 Thread Max M
Pascal Peregrina wrote: Hi, I have been running a Zope installation for 2 years, so there are now lots of objects, properties, etc... I would like to know what are the possible issues I may have to face if I change the default encoding for iso-8859-1 to utf-8 in ZMI. You must write a

[Zope] FCGIServer broken pipe on Zope 2.8.1?

2005-09-13 Thread Petri Savolainen
Any suggestions as to what is causing this kind of problem? I've never seen this in our environment on Zope 2.7.x - it just started after a fresh install of 2.8.1. i386 Linux, Py 2.3.5, Zope 2.8.1, plone 2.1 --- ERROR ZServer uncaptured python exception, closing channel

RE: [Zope] Re: Zope iso-8859-1 to utf-8

2005-09-13 Thread Pascal Peregrina
I see... And what python function would you use for conversion ? I made some tests and was surprised of the results... I switched ZMI to UTF-8 (management_page_charset) and edited some of my documents / properties and all went fine. The generated documents are still sent to browsers as

[Zope] Re: MemoryError that brings my zope to its knees

2005-09-13 Thread George Donnelly
This problem will happen and there will still be 1GB of free RAM and it hasn't touched the swap at all. We are running FreeBSD 4.10 on this box. the kernel limits the amount of ram a process can bind by default. try the following put this in /boot/loader.conf kern.maxdsiz=1610612736

Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Bakhtiar A Hamid
On 9/13/05, David [EMAIL PROTECTED] wrote: On 12 Sep 2005, at 18:45, Peter Bengtsson wrote: Just checking... sure you've got sufficient hardrive space? Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things. check /tmp, /var/tmp. is there enogh space there? the traceback points

Re: [Zope] Zope 2.8.1 won't make

2005-09-13 Thread Sophia Grimm
The problem was that I had a : in the path of the install directory. Once I fixed it, everything worked great. Thanks to all who responded!! SG --- Sophia Grimm [EMAIL PROTECTED] wrote: Just downloaded Zope 2.8.1 and I'm trying to install it on MOSX 10.4, which has XCode 2.1 installed.

[Zope] mysql-python build error

2005-09-13 Thread Sophia Grimm
I installed Plone 2.1 from the binary installer at plone.org and MySQL 4.1 from the binary at mysql.com. When attempting to build MySQL-python-1.2.0 on MOSX 10.4.2 client, I get this error: sh: line 1: mysql_config: command not found sh: line 1: mysql_config: command not found running build

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-13 Thread Andreas Jung
--On 8. September 2005 08:48:18 +0100 Chris Withers [EMAIL PROTECTED] wrote: Jim Fulton wrote: At: http://www.zope.org/Wikis/DevSite/Proposals/RequirePython24 Is a proposal to require Python 2.4 for Zope 2.9 (to be released this December). Comments are welcome. :) Well, it'd be

Re: [Zope] FCGIServer broken pipe on Zope 2.8.1?

2005-09-13 Thread Andreas Jung
--On 13. September 2005 13:56:03 +0100 Petri Savolainen [EMAIL PROTECTED] wrote: Any suggestions as to what is causing this kind of problem? I've never seen this in our environment on Zope 2.7.x - it just started after a fresh install of 2.8.1. i386 Linux, Py 2.3.5, Zope 2.8.1, plone 2.1

[Zope] Re: mysql-python build error

2005-09-13 Thread Alexander Limi
On Tue, 13 Sep 2005 18:51:24 +0200, Sophia Grimm [EMAIL PROTECTED] wrote: I installed Plone 2.1 from the binary installer at plone.org and MySQL 4.1 from the binary at mysql.com. When attempting to build MySQL-python-1.2.0 on MOSX 10.4.2 client, I get this error: error: command 'gcc' failed

Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Ron Bickers
On Mon September 12 2005 12:52 pm, David wrote: We are using the ZODB for storage and ImageMagick as the engine. Module Products.Photo.Photo, line 363, in _resize Module popen2, line 147, in popen2 Module popen2, line 42, in __init__ OSError: [Errno 12] Not enough space ImageMagick is

Re: [Zope] need help moving zope instance home data to new one w/ new python version

2005-09-13 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-9-12 21:52 -0700: To move old zope instance home to new one can i just 1. make new zope instance home 2. copy over Data.fs? zope plone barfed on python2.4... must i downgrade to 2.3? No. Zope runs happily on Python 2.4. However, there is no garantee that there

Re: [Zope] About High Level Query Languages

2005-09-13 Thread Dieter Maurer
Enrique Arizón wrote at 2005-9-12 18:19 +0200: I was browsing different solutions/products to query the Catalog with a high level language similar to SQL and it looks to be more than one solution: http://www.zope.org/search?SearchableText=Query+Language The question is whether an standard query

Re: [Zope] FCGIServer broken pipe on Zope 2.8.1?

2005-09-13 Thread Dieter Maurer
Petri Savolainen wrote at 2005-9-13 13:56 +0100: Any suggestions as to what is causing this kind of problem? I've never seen this in our environment on Zope 2.7.x - it just started after a fresh install of 2.8.1. i386 Linux, Py 2.3.5, Zope 2.8.1, plone 2.1 --- ERROR ZServer uncaptured python

Re: [Zope] need help moving zope instance home data to new one w/ new python version

2005-09-13 Thread Dieter Maurer
Tino Wildenhain wrote at 2005-9-13 07:40 +0200: ... must i downgrade to 2.3? Yes. See doc/INSTALL.txt :-) One of the points is you compiled your extensions for python 2.3, and therefore you need 2.3 to run it. This is often true, but not for Python 2.3 versus Python 2.4: Python 2.4 did

RE: [Zope] Re: Zope iso-8859-1 to utf-8

2005-09-13 Thread Dieter Maurer
Pascal Peregrina wrote at 2005-9-13 14:21 +0100: I see... And what python function would you use for conversion ? unicode(iso_string, 'iso-8859-1').encode('utf-8') I made some tests and was surprised of the results... I switched ZMI to UTF-8 (management_page_charset) and edited some of my

[Zope] How to create an ansynchronous method

2005-09-13 Thread David Pratt
Hi. I have a workflow that is triggered by a file upload and the processing of the file can be minutes of processing depending upon the size of the file uploaded. I am concerned about number of threads available to serve zope so I believe this is a good candidate for an asynchronous process.

Re: [Zope] Re: Zope iso-8859-1 to utf-8

2005-09-13 Thread Pascal Peregrina
Thanks Dieter, you are right, I was a little confused. I think that if my pages did not break so far it's because we use html entities for non standard characters... I will have to convert everything in a rush now to avoid issues :( -- (sent from my BlackBerry)

[Zope] Captcha

2005-09-13 Thread Brian Sullivan
Is anybody aware of a ready to goZope product for using creating/usingCaptcha? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] mysql-python build error

2005-09-13 Thread Sophia Grimm
It turned out there were two different problems at work here. First, I had to hard code the paths of my include_dirs and include_lib. Second, I didn't realize my bash shell wasn't taking the export command. I had to edit my bash profile to set the mysqlclient environment variable (which is the

[Zope] how dump Zope database content into a file system directory tree?

2005-09-13 Thread seberino
Possible to dump content in Zope database into a file system tree? Chris -- ___ Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A. Phone: (619) 553-9973 Fax : (619) 553-6521 Email:

Re: [Zope] how dump Zope database content into a file system directory tree?

2005-09-13 Thread Jim Washington
[EMAIL PROTECTED] wrote: Possible to dump content in Zope database into a file system tree? Yes. http://www.zope.org/Members/tseaver/FSDump --Jim Washington ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] How to create an ansynchronous method

2005-09-13 Thread Ron Bickers
On Tue September 13 2005 02:52 pm, David Pratt wrote: Hi. I have a workflow that is triggered by a file upload and the processing of the file can be minutes of processing depending upon the size of the file uploaded. I am concerned about number of threads available to serve zope so I believe

Re: [Zope] How to create an ansynchronous method

2005-09-13 Thread David Pratt
Hi Ron. Many thanks for your reply. This is also a long running document processing challenge, there can be 100's (or even thousands) of records which is why the time problem. The code it uses in my tool in the CMF. How is it that you send a signal to the long running process? Is the long

Re: [Zope] How to create an ansynchronous method

2005-09-13 Thread Ron Bickers
On Tue September 13 2005 08:16 pm, David Pratt wrote: How is it that you send a signal to the long running process? The long-running process writes a pid file and waits for a SIGUSR1 signal (using Python's signal module). A small External Method, called when the user submits the form, reads

[Zope] Output only the first or a particular record using TAL

2005-09-13 Thread Julian Yap
Hi all, I wanted to create something of a header using TAL and a Z SQL Method. I have the following code where getCustomerLicenses is my Z SQL Method and it prints out the customer's full name with details: tr tal:repeat=licenses container/getCustomerLicences tdspan

Re: [Zope] How to create an ansynchronous method

2005-09-13 Thread David Pratt
Hi Ron. I found the following trying to follow up a bit on what you have suggested. I believe it is similar to what you are doing from your explanation. It may be out of date. I have not attempted to daemonize a process to date so it would be great if you could look at this and comment

[Zope-Coders] Zope tests: 8 OK

2005-09-13 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Sep 12 11:01:02 2005 UTC to Tue Sep 13 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Mon Sep 12 22:21:16 EDT

[Zope-Coders] Back/new Zope 2 release schedule?

2005-09-13 Thread Andreas Jung
Hi, I am back from vacation. Anything important happened meanwhile that would require a new release soon? Otherwise I do propose 2.7.8 and 2.8.2 releases for mid-October. Cheers, Andreas pgphdf673DuKx.pgp Description: PGP signature ___ Zope-Coders

Re: [Zope-Coders] Back/new Zope 2 release schedule?

2005-09-13 Thread Stephan Richter
On Tuesday 13 September 2005 11:01, Andreas Jung wrote: Anything important happened meanwhile that would require a new release soon? Nothing other than that Zope 2.9 will require Python 2.4; Jim will do the security review and there will be an effort to port Zope 3's security mechanism to

Re: [Zope-dev] Re: Speed win in Python's urllib.quote

2005-09-13 Thread Chris Withers
(zope3-dev trimmed) Hi Tres, Tres Seaver wrote: On further consideration (and after some more profiling), I would actually prefer inlining the speedup code directly into OFS.Traversable.Traversable, to remove the extra function call as well as to avoid the gnarliness of monkey-patching

Re: [Zope-dev] Re: [Zope3-dev] Re: Speed win in Python's urllib.quote

2005-09-13 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, this is public : http://public.dev.nuxeo.com/~ben/funkload/ :) J. Martijn Pieters wrote: Martijn Pieters wrote: Is this site ment to be public? The name doesn't resolve for me. Is the head from

Re: [Zope-dev] Re: Speed win in Python's urllib.quote

2005-09-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Tres Seaver wrote: On further consideration (and after some more profiling), I would actually prefer inlining the speedup code directly into OFS.Traversable.Traversable, to remove the extra function call as well as to