Re: [Zope-dev] Integrating mailman with Zope?

2001-12-06 Thread Adrian Hungate
I've been away and I am only just catching up with Zope-dev. I have been working on a ZCGI product for a long time, but I keep getting stuck when I try to port it to Windows (No pipes - No nothing in fact) :( If you want to look at the code, drop me a line Adrian... -- Adrian Hungate All

Re: [Zope-dev] Open Letter to zope-dev

2001-12-06 Thread Adrian Hungate
You might have a point there. RedHat seem to have quite a functional business model going on, perhaps zope could borrow some ideas from there. I know that many people that currently run Linux (Home and work) would no do so except for RedHat, Suse or Mandrake. Adrian... -- Adrian Hungate All

Re: [Zope-dev] More signal 11 restarts....

2001-12-06 Thread Gilles Lavaux
Hello Which config/tool make that your zope restart automatically??? Gilles -Original Message- From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: zope-dev [EMAIL PROTECTED] Date: Wednesday, December 05, 2001 20:07 Subject: Re: [Zope-dev] More signal 11 restarts Hi Harald, On

Re: [Zope-dev] More signal 11 restarts....

2001-12-06 Thread Leonardo Rochael Almeida
On Thu, 2001-12-06 at 08:43, Gilles Lavaux wrote: Hello Which config/tool make that your zope restart automatically??? Zope itself. Here is a snipet of Z2.py help text for your amusement :-) -Z path Unix only! This option is ignored on windows. If this option is specified, a

Re: [Zope-dev] ZPT Plain Text

2001-12-06 Thread Florent Guillaume
x tal:repeat=object here/collection tal:omit-tag= I am y tal:replace=object/id / /x Everybody keeps forgetting it, but this should work: tal:loop repeat=object here/collection I am y tal:replace=object/id / /tal:loop Because tags in the 'tal' namespace are stripped. I could have used

Re: [Zope-dev] ZPT Plain Text

2001-12-06 Thread Chris Withers
Florent Guillaume wrote: x tal:repeat=object here/collection tal:omit-tag= I am y tal:replace=object/id / /x Everybody keeps forgetting it, but this should work: tal:loop repeat=object here/collection I am y tal:replace=object/id / /tal:loop Because tags in the 'tal'

[Zope-dev] Re: core i18n support

2001-12-06 Thread Lennart Regebro
From: Robert Rottermann [EMAIL PROTECTED] What I believe however, it should make no difference which of the two approaches is used. As far as I can understand, ZBabel uses a database to store the translations. Is this correct? That approach is for obvious reasons not useful when translating

Re: [Zope-dev] Re: core i18n support

2001-12-06 Thread Dirk Datzert
Hi Lennart, - Original Message - From: Lennart Regebro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 1:41 PM Subject: [Zope-dev] Re: core i18n support From: Robert Rottermann [EMAIL PROTECTED] What I believe however, it should make no difference which of

[Zope-dev] Zope server speed

2001-12-06 Thread MANOTTI Alessandro
HI all, I have a problem: my company is looking for an application server. I know Zope (I presented it), and a friend of mine presented Macromedia ColdFusion. We made some tests about the speed of the systems, arghh!!! Zope is VERY slow compared to ColdFusion! Some examples: I

Re: [Zope-dev] maybe we could script it (Re: hooking up gdb)

2001-12-06 Thread Matthew T. Kromer
- Original Message - From: Leonardo Rochael Almeida [EMAIL PROTECTED] Speaking of options, is linux-binary-Zope-2.4.3-python still being compiled with --pymalloc? As I mentioned before, our segfaults reduced drastically WITHOUT it. The answer is Yes, I think :) I built the linux

Re: [Zope-dev] Zope server speed

2001-12-06 Thread Matt Hamilton
On Thu, 6 Dec 2001, MANOTTI Alessandro wrote: I used Zope with DCOracle2 drivers to connect and extract 257000 (yes! it is a test... two hundred fiftyseven thousand records!) and Zope took more than 10 minutes, since I stopped it after that time (call SQL and print data via dtml-var ...

Re: [Zope-dev] Zope server speed

2001-12-06 Thread Matthew T. Kromer
Hi Alessandro, Zope and Python combined aren't too bad if you write some wrappers that help you manipulate data; the problem comes about when you try to do large naive queries -- there is a LOT of overhead in taking Oracle data, encapsulating it in Python objects, and then wrapping that in the

[Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Brad Clements
In Zope 2.4.3 binary on Linux import operator reduce(operator.add,[0,1,2,3,4]) gives me Error Value: global name 'reduce' is not defined Is this a faq? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax

RE: [Zope-dev] Zope server speed

2001-12-06 Thread MANOTTI Alessandro
Thank you for your suggestions (thanks to Matt). I will try to make smaller but more requests (1000 requests of 1000 records). I will even try to bypass Zope and write an external method in Python (I know Pytho very well). About this solution: can you tell me what I have to do to use ZOracle

Re: hooking up gdb (was Re: [Zope-dev] More signal 11 restarts....)

2001-12-06 Thread Andy Dustman
On Wed, 2001-12-05 at 15:41, Matthew T. Kromer wrote: Leonardo Rochael Almeida wrote: We aren't getting any core files, even after setting ulimit correctly (although we could be setting it uncorrectly. I'll look into that further). Anyway, someone else in this list said that core dumps for

Re: [Zope-dev] Zope server speed

2001-12-06 Thread Toby Dickenson
On Thu, 6 Dec 2001 14:52:06 +0100, MANOTTI Alessandro [EMAIL PROTECTED] wrote: I used Zope with DCOracle2 drivers to connect and extract 257000 (yes! it is a test... two hundred fiftyseven thousand records!) and Zope took more than 10 minutes, since I stopped it after that time (call SQL and

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Romain Slootmaekers
On Thu, 6 Dec 2001, Brad Clements wrote: In Zope 2.4.3 binary on Linux import operator reduce(operator.add,[0,1,2,3,4]) try _.reduce() gives me Error Value: global name 'reduce' is not defined this shkould be clear enough as a message. zope can't find the reduce function.

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Brad Clements
On 6 Dec 2001 at 16:12, Romain Slootmaekers wrote: reduce(operator.add,[0,1,2,3,4]) try _.reduce() This is in a Python Script, I'm not using the DTML namespace. Note that map() and filter() work without a problem, so why not reduce() ? this shkould be clear enough as a message.

[Zope-dev] ZGDChart-0.6.2.babel restarts my Zope

2001-12-06 Thread Romain Slootmaekers
Yo, I installed ZGDChart and was playing around with it. cool stuff... But I came across this problem: at first, everything worked fine, but know, whenever I try to view a chart, my zope server restarts. no messages what so ever. I tried the test.py that came with ZGDChart , and that seems to

Re: hooking up gdb (was Re: [Zope-dev] More signal 11 restarts....)

2001-12-06 Thread Matthew T. Kromer
Andy Dustman wrote: If you don't think a core dump is going to be useful, gdb isn't going to be either. Well, the problem is on Linux, the core file is from the process that received the SIG11, not the one that caused it, in most cases (due to the way Linux implements threads). To the best

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Romain Slootmaekers
On Thu, 6 Dec 2001, Brad Clements wrote: On 6 Dec 2001 at 16:12, Romain Slootmaekers wrote: reduce(operator.add,[0,1,2,3,4]) try _.reduce() This is in a Python Script, I'm not using the DTML namespace. Note that map() and filter() work without a problem, so why not

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Romain Slootmaekers
indeed. in lib/python/AccessControl/ZopeGuards.py the guarded_reduce isn't there those who are are: ['cmp', 'round', 'AttributeError', 'random', 'str', 'range', 'ArithmeticError', 'whrandom', 'unichr', 'list', 'FloatingPointError', 'getattr', 'hasattr', 'setattr', 'IndexError',

[Zope-dev] getPhysicalPath differs for function vs. __getattr__

2001-12-06 Thread John Ziniti
Sorry the subject is not so discriptive, but here is the issue I am dealing with. I wonder whether this has to do with the way Zope deals with objects or has something to do with Python: I have an Python Product class Object. With the following bits of code, I get different results from a

Re: [Zope-dev] Zope server speed

2001-12-06 Thread Jens Vagelpohl
what i have done before to get around the speed penalty is to create an external method. the external method calls the ZSQL method directly and iterates over the result objects to pull out all interesting attributes and stick them into simple python objects, in this case i returned a list of

Re: [Zope-dev] ZGDChart-0.6.2.babel restarts my Zope

2001-12-06 Thread Stephan Richter
At 04:19 PM 12/6/2001 +0100, Romain Slootmaekers wrote: I have a 2.4.0b3 built from source and a 2.1 python (if this might help) I think you should at least try a stable Zope release. Best would be 2.4.3 of course. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k

Re: [Zope-dev] getPhysicalPath differs for function vs. __getattr__

2001-12-06 Thread Wolfram Kerber
__getattr__ gets the 'true self' as argument while other methods always get an acquisition wrapped self, this is by design. Usually it's not a good idea to override __getattr__ of acquisition aware objects. - Original Message - From: John Ziniti [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [Zope-dev] Integrating mailman with Zope?

2001-12-06 Thread Fred Wilson Horch
On Thu, 6 Dec 2001 08:33:41 - Adrian Hungate [EMAIL PROTECTED] wrote: I've been away and I am only just catching up with Zope-dev. I have been working on a ZCGI product for a long time, but I keep getting stuck when I try to port it to Windows (No pipes - No nothing in fact) :( I'm

Re: [Zope-dev] Re: core i18n support

2001-12-06 Thread Lennart Regebro
From: Dirk Datzert [EMAIL PROTECTED] Normally your data will be stored in the ZODB ZBabelTower Fine, but that is also useless for translating Zope core, unfortunately. It is good for translating webpages though, so both this and storing it on the filesystem must be availiable, simultaneously in

Re: [Zope-dev] Competition

2001-12-06 Thread R. David Murray
On Fri, 30 Nov 2001, Chris Withers wrote: Stephan Richter wrote: And they have their own issues, what with needing to make money out of Zope, which means intrinsically that all of us outside of Zope Corp are in competition with them. No that is not true. In Germany for example, noone

Re: [Zope-dev] Re: core i18n support

2001-12-06 Thread Dirk Datzert
Lennart Regebro schrieb: From: Dirk Datzert [EMAIL PROTECTED] Normally your data will be stored in the ZODB ZBabelTower Fine, but that is also useless for translating Zope core, Why ? I dont't understand this ! I have translated thr OFS of Zope on my system working very well.

Re: [Zope-dev] Competition

2001-12-06 Thread Casey Duncan
I think its only competition in the same sense as I am competing with all of you for oxygen. Let's call it coopetition. /---\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association [EMAIL PROTECTED]

Re: [Zope-dev] Re: core i18n support

2001-12-06 Thread Lennart Regebro
From: Dirk Datzert [EMAIL PROTECTED] Lennart Regebro schrieb: Fine, but that is also useless for translating Zope core, Why ? I dont't understand this ! I have translated thr OFS of Zope on my system working very well. Because if you delete the Data.fs the translations go away. If you have

Re: [Zope-dev] Re: core i18n support

2001-12-06 Thread Dirk Datzert
Lennart Regebro schrieb: From: Dirk Datzert [EMAIL PROTECTED] Lennart Regebro schrieb: Fine, but that is also useless for translating Zope core, Why ? I dont't understand this ! I have translated thr OFS of Zope on my system working very well. Because if you delete the Data.fs

[Zope-dev] ZCatalog

2001-12-06 Thread Dirk Datzert
Hi, I'm looking for a howto or a hint for fuzzy search in german and english with ZCatalog / CatalogQuery Can anybody sent me a URL ? Thanks Dirk ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

Re: [Zope-dev] Re: core i18n support

2001-12-06 Thread Stephan Richter
Because if you delete the Data.fs the translations go away. If you have multiple installations of Zope, and you need to change one translation, you would have to update each instance. If you upgrade Zope, new translations would not appear, and so on. Not very practical. :-) Agreed; therefore

RE: [Zope-dev] ZCatalog

2001-12-06 Thread sean . upton
what do you mean by fuzzy? Do you mean with wildcards, NL, or something else? -Original Message- From: Dirk Datzert [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 1:03 PM To: [EMAIL PROTECTED] Subject: [Zope-dev] ZCatalog Hi, I'm looking for a howto or a hint for fuzzy

Re: [Zope-dev] RAMCacheManager and gzip

2001-12-06 Thread Adrian Hungate
Just to let you know, I am looking at patching ZServer using my PatchKit product to do Content-Encoding: ... stuff... anyone interested in testing when I get it running? (Probably a couple of days before I get a running version...) Adrian... -- Adrian Hungate All views expressed in this email

Re: [Zope-dev] ZCatalog

2001-12-06 Thread Dirk Datzert
the search engine htdig has a fuzzy feature which automatically search for different endings or alternative spelling of a word, based on the ispell algorithm [EMAIL PROTECTED] schrieb: what do you mean by fuzzy? Do you mean with wildcards, NL, or something else? -Original Message-

RE: [Zope-dev] ZCatalog

2001-12-06 Thread sean . upton
Personally, I am of the opinion that sending a Catalog raw queries is not very useful for really powerful searching... hopefully this changes in the future, but for now... Since catalog doesn't have anything built-in that does this, other than globbing vocabularies, you have to do this within

Re: [Zope-dev] Competition

2001-12-06 Thread Clark O'Brien
I don't think ZC feels this way. Note the comment by Hadar Pedhazur, Chairman of Zope Corporation: comment at:http://www.zope.com/News/PressReleases/DC2ZC This name change is intended to ensure that Zope and the company that develops Zope are more closely associated with one another in the

RE: [Zope-dev] Competition

2001-12-06 Thread sean . upton
Uh, this is brand clarification... Sometimes people (well, people who don't pay enough attention) don't get that company X is associated with product Y. Look what happend to Borland when they changed their name to Inprise but kept the old product names. For those folks who don't pay attention to

RE: [Zope-dev] Competition

2001-12-06 Thread Clark O'Brien
No I am not implying anything other then there is competition in the Zope marketplace and ZC has positioned itself to be the one that ends up with the most beans. This is what makes the free market work and I would do the same thing if I was in their shoes. However, I am not in their shoes, and

Re: [Zope-dev] Competition

2001-12-06 Thread Danny William Adair
On Friday 07 December 2001 12:57, Clark O'Brien wrote: I don't think ZC feels this way. Note the comment by Hadar Pedhazur, Chairman of Zope Corporation: comment at:http://www.zope.com/News/PressReleases/DC2ZC This name change is intended to ensure that Zope and the company that develops

RE: [Zope-dev] Competition

2001-12-06 Thread sean . upton
I'm going to suggest that this is off-topic for zope-dev, as this is a list fostering cooperation among developers who do not mind sharing their 'beans' and who do not hold the delusions of conspiracy theory. If you are not willing to play by the ad-hoc cooperative social contract of this

[Zope-dev] Re: hooking up gdb is the problem, not scripting it (Re: hooking up gdb)

2001-12-06 Thread Dieter Maurer
Leonardo Rochael Almeida writes: The tricky part is convincing gdb to hook up to python when the sig 11 hits. Isn't there a trap instruction somewhere where I could tell python to run an external script when hit by a sig11? That's what I meant From gdb online help: (gdb) help stop

RE: [Zope-dev] Competition

2001-12-06 Thread Clark O'Brien
Cool your heals dude. You said your 2 cents I said my 2 cents. good enough. Clark --- [EMAIL PROTECTED] wrote: I'm going to suggest that this is off-topic for zope-dev, as this is a list fostering cooperation among developers who do not mind sharing their 'beans' and who do not

Re: [Zope-dev] Competition

2001-12-06 Thread Danny William Adair
S, We're eating... Danny On Friday 07 December 2001 13:43, Clark O'Brien wrote: No I am not implying anything other then there is competition in the Zope marketplace and ZC has positioned itself to be the one that ends up with the most beans. This is what makes the free market work

[Zope-dev] New Security Rules ... are very frustrating

2001-12-06 Thread Stephan Richter
Hello everyone, I have a major issue with the new security. Let's say I have class X (a nice Zopish object) and an object Y. class X: Y = Y Now, I am still able to access Y in an instance of X, like: x = X() x.Y but I am not able to access method do_z() anymore. x.Y.do_z() BTW, Y