[Zope-Checkins] SVN: Zope/trunk/releases/Zope2/SETUP.cfg Only include *.py files for the scripts (in particular, DON'T include

2005-11-15 Thread Philipp von Weitershausen
Log message for revision 40126: Only include *.py files for the scripts (in particular, DON'T include the ZODBTools directory which was previously caught up in the '*' glob and confused zpkgsetup). Also include ZODBTools scripts (again, only *.py files). Changed: U

[Zope-Checkins] SVN: Zope/branches/Zope-2_9-branch/releases/Zope2/SETUP.cfg Merge r40126 from the trunk:

2005-11-15 Thread Philipp von Weitershausen
Log message for revision 40127: Merge r40126 from the trunk: Only include *.py files for the scripts (in particular, DON'T include the ZODBTools directory which was previously caught up in the '*' glob and confused zpkgsetup). Also include ZODBTools scripts (again, only *.py

[Zope-Coders] Zope tests: 7 OK

2005-11-15 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Nov 14 12:01:01 2005 UTC to Tue Nov 15 12:01:01 2005 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Mon Nov 14 22:00:44 EST

Re: [Zope-dev] Re: Timing the opening of network ports

2005-11-15 Thread Patrick Gerken
2005/11/12, Florent Guillaume [EMAIL PROTECTED]: +1 on the general goals, however I have no idea if it's easy to implement. Does this sound reasonable to make the behaviour of opening the ports configurable? Does anybody have an idea how hard this would be to do? I was curious and tried it.

Re: [Zope] help with url rewriting

2005-11-15 Thread Chris Withers
Faheem Mitha wrote: Turns out the problem was indeed with the Proxy, I had to change to Allow from all inside the proxy.conf, to enable reverse proxying. Order deny,allow #Deny from all #Allow from .your_domain.com Allow from all I'm

Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Chris Withers
Ivan Stout wrote: Yes, the full error message is the following: ProgrammingError: (1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0\n)' at line 9) Here is the select portion of the query I am

Re: [Zope] experience w/ filestorage mount points? maximum?

2005-11-15 Thread Chris Withers
Christoph Berendes wrote: I am writing to tap the list's experience with running a single zope instance with a large number (30, 500, 2000?) of mount points. Why do you want so many ;-) We're hosting a number of client sites, and for each client, e.g. clientX, we have a mount point:

Re: [Zope] Re: zope 2.8.4 on windows 98

2005-11-15 Thread Chris Withers
Fernando Martins wrote: File C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py, lin e 84, in createEventSecurityObject sidEveryone.Initialize(ntsecuritycon.SECURITY_WORLD_SID_AUTHORITY,1) pywintypes.error: (120, 'InitializeSid', 'This function is only valid in Win32 m

Re: [Zope] Re: zope 2.8.4 on windows 98

2005-11-15 Thread Andreas Jung
--On 15. November 2005 11:09:08 + Chris Withers [EMAIL PROTECTED] wrote: Fernando Martins wrote: File C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py, lin e 84, in createEventSecurityObject sidEveryone.Initialize(ntsecuritycon.SECURITY_WORLD_SID_AUTHORITY,1)

Re: [Zope] Render a string as tal

2005-11-15 Thread Chris Withers
Paul Winkler wrote: On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote: I would like to be able to render an arbitrary string as tal, having the tal statements evaluated correctly. How would I go about doing this? I assume you mean TALES expressions. See:

[Zope] filename splitter

2005-11-15 Thread Peter Bengtsson
Hi, I don't usually do this but I need your advise on something. It's a filename splitter for a KeywordIndex of File objects. http://www.peterbe.com/plog/filename-splitter By applying this splitter I hope to be able to search for files by parts of the filename. Has anything like this been done

[Zope] Setting a session's domain

2005-11-15 Thread Pablo Ziliani
Hi all, I'm developing a site that has multiple subdomains (i.e.: http://atlanta.website.com, http://nyc.website.com, etc.). Can anybody point me how can I get the session to be shared across these different subdomains? Unless someone can give me an opposite advise, I think I need to specify

Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Ivan Stout
Chris, I was preparing to reply to your e-mail when I discovered the problem. I had been assuming it was the query zsql method value that was the problem (due to the 0\n error), when it was actually a typo in the insert zsql method (I had failed to add a , when adding the additional field to

Re: [Zope] Setting a session's domain

2005-11-15 Thread Jonathan
- Original Message - From: Pablo Ziliani [EMAIL PROTECTED] To: Zope zope@zope.org Sent: Tuesday, November 15, 2005 8:15 AM Subject: [Zope] Setting a session's domain Hi all, I'm developing a site that has multiple subdomains (i.e.: http://atlanta.website.com, http://nyc.website.com,

Re: [Zope] Setting a session's domain

2005-11-15 Thread Pablo Ziliani
Jonathan wrote: Hi all, I'm developing a site that has multiple subdomains (i.e.: http://atlanta.website.com, http://nyc.website.com, etc.). Can anybody point me how can I get the session to be shared across these different subdomains? Unless someone can give me an opposite advise, I think

Re: [Zope] filename splitter

2005-11-15 Thread Tino Wildenhain
Peter Bengtsson schrieb: Hi, I don't usually do this but I need your advise on something. It's a filename splitter for a KeywordIndex of File objects. http://www.peterbe.com/plog/filename-splitter By applying this splitter I hope to be able to search for files by parts of the filename. Has

Re: [Zope] Setting a session's domain

2005-11-15 Thread Jonathan
- Original Message - From: Pablo Ziliani [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED]; Zope zope@zope.org Sent: Tuesday, November 15, 2005 8:53 AM Subject: Re: [Zope] Setting a session's domain Jonathan wrote: Hi all, I'm developing a site that has multiple subdomains (i.e.:

[Zope] Problems using forms to upload files to Zope

2005-11-15 Thread Mike Jakowlew
Here's what I'm trying to accomplish:1. The user fills out a form page with various fields2. The user selects a file to upload3. when the user hits submit two things should happen: - The file selected is uploaded - all the filled out form fields are written to the database (MS SQL)This is my

[Zope] Re: still having problems

2005-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris McDonough wrote: On Nov 14, 2005, at 9:21 PM, Dennis Allison wrote: snip Questions: ~~ What is the cause of the locking problem? Does ZMySQLDA/MySQL- Python/Zope have some path which should have called begin to get a lock and

Re: [Zope] Problems using forms to upload files to Zope

2005-11-15 Thread Jonathan
You should use the getContentType() method - look in the zope book (API - File). Jonathan - Original Message - From: Mike Jakowlew To: zope@zope.org Sent: Tuesday, November 15, 2005 9:25 AM Subject: [Zope] Problems using forms to upload files to Zope Here's

[Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Jakowlew wrote: Here's what I'm trying to accomplish: 1. The user fills out a form page with various fields 2. The user selects a file to upload 3. when the user hits submit two things should happen: - The file selected is uploaded - all

Re: [Zope] Problems using forms to upload files to Zope

2005-11-15 Thread Tino Wildenhain
Mike Jakowlew schrieb: Here's what I'm trying to accomplish: 1. The user fills out a form page with various fields 2. The user selects a file to upload 3. when the user hits submit two things should happen: - The file selected is uploaded - all the filled out form fields are written

Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Peter Bengtsson
Still an amazingly poor error message by your mysql. (perhaps time to upgrade to postgresql :) On 11/15/05, Ivan Stout [EMAIL PROTECTED] wrote: Chris, I was preparing to reply to your e-mail when I discovered the problem. I had been assuming it was the query zsql method value that was the

Re: [Zope] Problem Inserting zsql query result

2005-11-15 Thread Luca Olivetti
En/na Peter Bengtsson ha escrit: Still an amazingly poor error message by your mysql. (perhaps time to upgrade to postgresql :) Well, I just started tinkering with postgresql and already had my share of meaningless error messages ;-) And the Operational Error in psycopg 2.0b4 wasn't much

[Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Mike Jakowlew
Okay I corrected:form action="" method=post enctype=multipart/form-dataand also tried the getContentType, but I get the error: Error Type: AttributeError Error Value: FileUpload instance has no attribute 'getContentType'uploadForm.pydef content_type(self): return

Re: [Zope] experience w/ filestorage mount points? maximum?

2005-11-15 Thread Christoph Berendes
Why so many, in separate files, you ask... 1. why not? (what's the cost/risk of multiple Data.fs files and mount points), hmmm? 2. makes it easy to move a single client site between instances and servers (we don't yet know how load is going to mount up, and whether we'll need to set up a

Re: [Zope] Render a string as tal

2005-11-15 Thread Dieter Maurer
Mark Gibson wrote at 2005-11-14 13:19 -0700: I would like to be able to render an arbitrary string as tal, having the tal statements evaluated correctly. How would I go about doing this? You create a Products.PageTemplates.ZopePageTemplate.ZopePageTemplate with the string as text, put it into

Re: [Zope] filename splitter

2005-11-15 Thread Dieter Maurer
Peter Bengtsson wrote at 2005-11-15 11:47 +: Hi, I don't usually do this but I need your advise on something. It's a filename splitter for a KeywordIndex of File objects. http://www.peterbe.com/plog/filename-splitter By applying this splitter I hope to be able to search for files by parts of

Re: [Zope] Apache-pound-zeo-zope instances. Bad gateway and dual cpus related issues

2005-11-15 Thread Dieter Maurer
Christophe Gravier wrote at 2005-11-14 18:35 +0100: ... There 2 things that troubles my understanding: A) RewriteRule: http://machineA.mondomain.com as well as http://machineA.mondomain.com/Portail (where /Portail is the path to plone site in fact), both replies: Bad Gateway The proxy server

Re: [Zope] Setting a session's domain

2005-11-15 Thread Dieter Maurer
Pablo Ziliani wrote at 2005-11-15 10:15 -0300: I'm developing a site that has multiple subdomains (i.e.: http://atlanta.website.com, http://nyc.website.com, etc.). Can anybody point me how can I get the session to be shared across these different subdomains? Unless someone can give me an

Re: [Zope] ZClass in 2.8.4 - error help

2005-11-15 Thread Dieter Maurer
Jake wrote at 2005-11-12 12:35 -0500: I am trying to get an old, old product to work in 2.8.4 and I am getting the following error: ... Module Zope2.App.ClassFactory, line 29, in ClassFactory Module OFS.Uninstalled, line 61, in Broken File string, line 1 class class

Re: [Zope] still having problems

2005-11-15 Thread Dieter Maurer
Dennis Allison wrote at 2005-11-14 18:21 -0800: ... 2005-11-14T06:20:40 ERROR txn.4100 Error in tpc_abort() on manager MultiObjectResourceAdapter for Products.ZMySQLDA.db.DB instance at 0x42c6a52c at 1186514860 Traceback (most recent call last): File

Re: [Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Jonathan
I don't know why getContentType() doesn't exist anymore?! a quick'dir' of a file instance attributes yields: ['close', 'filename', 'fileno', 'flush', 'headers', 'isatty', 'read', 'readinto', 'readline', 'readlines', 'seek', 'tell', 'truncate', 'write', 'writelines', 'xreadlines'] Anybody

Re: [Zope] filename splitter

2005-11-15 Thread Tino Wildenhain
Am Dienstag, den 15.11.2005, 19:26 +0100 schrieb Dieter Maurer: Peter Bengtsson wrote at 2005-11-15 11:47 +: Hi, I don't usually do this but I need your advise on something. It's a filename splitter for a KeywordIndex of File objects. http://www.peterbe.com/plog/filename-splitter By

[Zope] Zope 2.8.4 compilation error

2005-11-15 Thread Gusti Gonzalez
Hi, I am having the following error when compiling Zope: --- /usr/bin/python /infra/portal/Zope-2.8.4-final/setup.py \ build --build-base=/infra/portal/Zope-2.8.4-final/build-base/python-2.3

Re: [Zope] Setting a session's domain

2005-11-15 Thread Pablo Ziliani
Dieter Maurer wrote: Pablo Ziliani wrote at 2005-11-15 10:15 -0300: I'm developing a site that has multiple subdomains (i.e.: http://atlanta.website.com, http://nyc.website.com, etc.). Can anybody point me how can I get the session to be shared across these different subdomains? Unless

[Zope] conflicts, sessions, and programming best practices guidelines

2005-11-15 Thread Dennis Allison
Has anyone prepared a set of best practice guidelines on the techniques to use to minimize conflicts? It is becoming clear that we need to do to refactor some of our code to get us out of our current conflict pickle. A quick google produced lots of commentary but nothing I could hand to our

RE: [Zope] Re: zope 2.8.4 on windows 98

2005-11-15 Thread Fernando Martins
I've From: Andreas Jung [mailto:[EMAIL PROTECTED] --On 15. November 2005 11:09:08 + Chris Withers [EMAIL PROTECTED] wrote: Fernando Martins wrote: File C:\PROGRAM FILES\ZOPE-2.8.4\lib\python\Signals\WinSignalHandler.py, lin e 84, in createEventSecurityObject

Re: [Zope] Zope 2.8.4 compilation error

2005-11-15 Thread David H
Gusti Gonzalez wrote: Hi, I am having the following error when compiling Zope: --- /usr/bin/python /infra/portal/Zope-2.8.4-final/setup.py \ build --build-base=/infra/portal/Zope-2.8.4-final/build-base/python-2.3

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-15 Thread Peter Bengtsson
I don't know of any documentation but (correct me if I'm wrong) but - install zope 2.8.0 or something higher that uses zodb 3.4 - use zeo's and load balancers so that certain requests don't clog your pipes On 11/15/05, Dennis Allison [EMAIL PROTECTED] wrote: Has anyone prepared a set of best

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-15 Thread Chris McDonough
On Nov 15, 2005, at 5:54 PM, Dennis Allison wrote: Has anyone prepared a set of best practice guidelines on the techniques to use to minimize conflicts? It is becoming clear that we need to do to refactor some of our code to get us out of our current conflict pickle. A quick google

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-15 Thread Dennis Allison
Peter, That's pretty much what we've done, but it is not really enough in our case. Our sites are interactive with lots of per user state. We make fairly heavy use of session variables to track the state. Our number of simultaneous users is also fairly high. In addition, during development,

Re: [Zope] Render a string as tal

2005-11-15 Thread Mark Gibson
On Mon, 2005-11-14 at 13:38, Paul Winkler wrote: On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote: I would like to be able to render an arbitrary string as tal, having the tal statements evaluated correctly. How would I go about doing this? I assume you mean TALES

Re: [Zope] Render a string as tal

2005-11-15 Thread Paul Winkler
On Tue, Nov 15, 2005 at 06:20:39PM -0700, Mark Gibson wrote: On Mon, 2005-11-14 at 13:38, Paul Winkler wrote: On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote: I would like to be able to render an arbitrary string as tal, having the tal statements evaluated correctly.