RE: [Zope] Zope Scalability

2005-10-07 Thread John Snowdon
>--On 5. Oktober 2005 17:37:08 +0100 Tom Wilde ><[EMAIL PROTECTED]> >wrote: > >> Hi folks, >> >> I've been using Zope for a while now and found it to be an excellent >> solution however I've got a few enterprise questions about the >> scalability of Zope that just need to be answered. >> >> [ nb

Re: [Zope] Zope Scalability

2005-10-07 Thread Jens Vagelpohl
As an aside, we find management of ZEO clients much easier if each ZEO client of a particular system shares the same products and external methods via an NFS share. That way we can untar one product and push it out to all of the clients simultaneously. I'd be a little afraid of creating a sin

RE: [Zope] Zope Scalability

2005-10-07 Thread John Snowdon
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf Of Jens Vagelpohl >Sent: 07 October 2005 09:04 >To: Zope ML >Subject: Re: [Zope] Zope Scalability > > >> As an aside, we find management of ZEO clients much easier >if each ZEO >> client of a particular sys

Re: [Zope] How to prevent web access to specific folder ?

2005-10-07 Thread Chris Withers
Vladimir Petrovic wrote: I know this can be done by restricting View/Access Contents information privileges for folders/scripts to the specific role and then giving DTML methods proxy role. But, is there any other easier methods ? That is the only sane way to do it.. I've tried using access_r

Re: [Zope] Packaging a zope application

2005-10-07 Thread Chris Withers
Joshua Burvill wrote: Hello All, I have a zope application which operates on data in an external relational database (Firebird), as well as containing lots of folders, dtml docs, scripts, zsql methods etc within the zope db I would like to get suggestions on the best way to package the whole ap

Re: [Zope] Re: Presentations Available

2005-10-07 Thread Chris Withers
Rob Miller wrote: this strikes me as a bit unfair. to quote stefan holek from a post on plone-dev earlier today, most reported migration problems are due to: - Upgrading to Zope 2.8 without reading the release notes. *shrugs* I've not had need to read he release notes yet, what am I missing?

Re: [Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread benmania
Hello, Ok, does this error message mean that it is "just" a swap problem so that I wont have to install gcc, Python anymore? Having run "top", I could dectect that there is 10,241,428k total Swap. About 3,856,000k of it is actually being used and approximately 6,384,000k is free and about 46

Re: [Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread Lennart Regebro
On 10/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ok, does this error message mean that it is "just" a swap problem so that I > wont have to install gcc, Python anymore? > Having run "top", I could dectect that there is 10,241,428k total Swap. About > 3,856,000k of it is actually being u

[Zope] No cache headers

2005-10-07 Thread Peter Bengtsson
This might be a FAQ but I've searched and just found a bunch of different results. Some old and some even older. What do you use to stop caching? IE users of my current project have reported problems of pages on updating. I'm not setting any caching at all so that's what IE does out of the box. (Fi

[Zope] Re: Presentations Available

2005-10-07 Thread Nick Davis
Hello Some thoughts : - Upgrading to Zope 2.8 without reading the release notes. I followed the release notes but this didn't fix catalog errors. I am not the only one. This is apparently fixed in Zope 2.8.2 but that doesn't look like it can be downloaded yet. - Third party products that ar

Re: [Zope] No cache headers

2005-10-07 Thread PieterB
On Fri, Oct 07, 2005 at 11:01:29AM +0100, Peter Bengtsson wrote: > What do you use to stop caching? IE users of my current project have > reported problems of pages on updating. You should also set the Pragma header to 'no-cache', for HTTP 1.0 compatibility. See http://www.google.nl/search?hl=nl&

[Zope] How to make a table with sortable colmns?

2005-10-07 Thread Thomas Apostolou
Hello all, i am using the following to get some data from Database and show them in a table:   

[Zope] Re: Presentations Available

2005-10-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Davis wrote: >>> - Third party products that are not yet fully compatible >>> with Plone 2.1 and/or Zope 2.8. > > Should this perhaps be the other way around? If those products used the > APIs correctly, perhaps a new release of Zope/Plone s

[Zope] Re: Mysql 5? Just curious.

2005-10-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Fischer wrote: > I guess it's not a matter of should, but rather a preference. I am running > it just fine on Linux. Had to do some tweeks to the ZMySQLDA, but it works > great. Stored Procedures and everything. I just havent seen hardly anyone >

[Zope] Write log file from script

2005-10-07 Thread Brian Sullivan
I am looking for a simple strategy to write a debug log file from a python script.   I used to have such a beast but somewhere in a shuffle it got lost -- and my brain seems to be dead this morning trying to figure it out.   Anybody out there have something like this or a url explaining how to do i

Re: [Zope] Write log file from script

2005-10-07 Thread Jonathan
How about creating a string or list, then appending your debug info to the string/list, then returning the string/list to the calling routine which then displays the string/list?   Jonathan - Original Message - From: Brian Sullivan To: zope@zope.org Sent: Friday, Octo

Re: [Zope] Write log file from script

2005-10-07 Thread Dennis Allison
Depends upon what you want to do and how much access you have. For debugging purposes I often use an external procedure def debugWindow( data ): fd = open('/tmp/debugWindow",'a') fd.write( str(data)) fd.close() and look at the output with tail -f /tmp/debugWindow Or, you can us

Re: [Zope] No cache headers

2005-10-07 Thread Peter Bengtsson
2005/10/7, PieterB <[EMAIL PROTECTED]>: > On Fri, Oct 07, 2005 at 11:01:29AM +0100, Peter Bengtsson wrote: > > What do you use to stop caching? IE users of my current project have > > reported problems of pages on updating. > > You should also set the Pragma header to 'no-cache', for HTTP 1.0 > com

Re: [Zope] Write log file from script

2005-10-07 Thread Brian Sullivan
On 10/7/05, Dennis Allison <[EMAIL PROTECTED]> wrote: Depends upon what you want to do and how much access  you have.  Fordebugging purposes I often use an external procedure def debugWindow( data ):  fd = open('/tmp/debugWindow",'a')  fd.write( str(data))  fd.close()and look at the output with  t

[Zope] external editor

2005-10-07 Thread Garry Saddington
I do not seem to be able to edit more than one file at a time in an external editor. Is this normal behaviour or am I missing something? regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] Write log file from script

2005-10-07 Thread Dave Kuhlman
On Fri, Oct 07, 2005 at 11:42:16AM -0400, Brian Sullivan wrote: > I am looking for a simple strategy to write a debug log file from a python > script. > I used to have such a beast but somewhere in a shuffle it got lost -- and > my brain seems to be dead this morning trying to figure it out. > An

Re: [Zope] external editor

2005-10-07 Thread Peter Bengtsson
You are missing something. I can edit multiple objects with both dreamweaver and xjed. PS. I don't _use_ dreamweaver but I need to test it sometimes for clients :) 2005/10/7, Garry Saddington <[EMAIL PROTECTED]>: > I do not seem to be able to edit more than one file at a time in an > external edi

Re: [Zope] Write log file from script

2005-10-07 Thread Tino Wildenhain
Am Freitag, den 07.10.2005, 09:03 -0700 schrieb Dennis Allison: > Depends upon what you want to do and how much access you have. For > debugging purposes I often use an external procedure > > def debugWindow( data ): >fd = open('/tmp/debugWindow",'a') >fd.write( str(data)) >fd.close

Re: [Zope] INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread benmania
> Because that, I assume > that I have to kill certain processes in order to get more free swap - > am I right? > Probably not, no. Why not? I dont understand - killing processes does not mean getting their space? > > But what processes am I allowed to kill? Are there any processes that are

Re: [Zope] Write log file from script

2005-10-07 Thread Brian Sullivan
On 10/7/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: Am Freitag, den 07.10.2005, 09:03 -0700 schrieb Dennis Allison:> Depends upon what you want to do and how much access  you have.  For > debugging purposes I often use an external procedure>> def debugWindow( data ):>fd = open('/tmp/debugWi

Re: [Zope] Write log file from script

2005-10-07 Thread Dennis Allison
We are running on a linux host. The file information ends upon in the local file system in the /tmp directory. On Fri, 7 Oct 2005, Brian Sullivan wrote: > On 10/7/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > > > > Am Freitag, den 07.10.2005, 09:03 -0700 schrieb Dennis Allison: > > > Depen

Re: [Zope] external editor

2005-10-07 Thread Garry Saddington
Peter Bengtsson wrote: You are missing something. I can edit multiple objects with both dreamweaver and xjed. PS. I don't _use_ dreamweaver but I need to test it sometimes for clients :) 2005/10/7, Garry Saddington <[EMAIL PROTECTED]>: I do not seem to be able to edit more than one file at

Re: [Zope] Write log file from script

2005-10-07 Thread Brian Sullivan
On 10/7/05, Dennis Allison <[EMAIL PROTECTED]> wrote: We are running on a linux host.  The file information ends uponin the local file system in the /tmp directory. > > import zLOG> >> > def log(self,message):> > zLOG.LOG("PythonScript", zLOG.INFO , message) > >> >> > as external

Re: [Zope] INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread Andreas Pakulat
On 07.10.05 19:34:32, [EMAIL PROTECTED] wrote: > > Because that, I assume > > that I have to kill certain processes in order to get more free swap - > > am I right? > > Probably not, no. > > Why not? I dont understand - killing processes does not mean getting their > space? if you can kill them

[Zope] Re: Write log file from script

2005-10-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Sullivan wrote: > On 10/7/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > >> >>We are running on a linux host. The file information ends upon >>in the local file system in the /tmp directory. >> >> import zLOG def log(self,message):

[Zope] Re: Write log file from script

2005-10-07 Thread Brian Sullivan
as external method should be enough.And where does this log information end up? >-->>>   I was referring to the zLOG info. Where does it go?Wherever you configure it in your zope.conf file.-   OK -- that is useful information.   I didn't understand how this worked -- I will have a

[Zope] reading zope.config file for ClientStorage

2005-10-07 Thread Mika, David P (Research)
To initialize ZEO clients with ClientStorage I need info such as host, port, etc. All the needed stuff is tucked away nicely in the zope.config file and I would like to be using the zope machinery access it. I know that what I need is in there somewhere, but when I try to follow how it happens

[Zope] Re: Presentations Available

2005-10-07 Thread Rob Miller
Nick Davis wrote: Hello Some thoughts : - Upgrading to Zope 2.8 without reading the release notes. I followed the release notes but this didn't fix catalog errors. I am not the only one. This is apparently fixed in Zope 2.8.2 but that doesn't look like it can be downloaded yet. in some ca

[Zope] Re: Mysql 5? Just curious.

2005-10-07 Thread Greg Fischer
Oh, just read a little better... wanted to clarify... """  It doesnt work with stored procedures though.  I put a patch up on sourceforge in July, for the ZMySQLDA. """ Mysql-python works fine fine, as you said Andy, it's just the Zope DA. Greg (I hate it when reply-all doesnt send to zope list

Re: [Zope] How to make a table with sortable colmns?

2005-10-07 Thread Greg Fischer
There is the "sort" attribute of the dtml-in tag.  You'll have to read the DTML Reference for more info on that. However, it was a little iffy for me once, and now I do something like this: 1. Setup table header with a response back to sort that column. 2. Change the ZSQL method to use that value

Re: [Zope] external editor

2005-10-07 Thread Greg Fischer
I have the same prob.  Crimson Editor wont do it when using tabs.  You have to specify to open multiple instances in the Crimson preferences.  Then it works fine. GregOn 10/7/05, Garry Saddington <[EMAIL PROTECTED]> wrote: Peter Bengtsson wrote:>You are missing something. I can edit multiple objec