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 views expressed in this email are those of the whole world, however some
people don't realise this yet.

- Original Message -
From: Fred Wilson Horch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 26, 2001 5:39 PM
Subject: [Zope-dev] Integrating mailman with Zope?


 Hi everybody,

 After a hiatus on our project to integrate Mailman and Zope 2.3.x here
 at EcoAccess, we're about to tackle it again.

 Has anyone out there tried this already?  Last we heard, Mailman was
 a standalone CGI program, and in order to make it work with Zope you
 had to run both Mailman and Zope behind another web server (such as
 Apache).

 What we're planning to do is write a CGI product for Zope 2.3.3 so that we
 can run CGI programs with ZServer under Zope, eliminating the need to set
 up and configure Apache or any other web server.

 If you've already written a CGI Zope product (i.e., a product that lets
 you run CGI programs from any Zope folder), please let me know! Otherwise,
 I'll continue the experiments. ;-)

 Best regards,
 Fred
 --
 Fred Wilson Horch mailto:[EMAIL PROTECTED]
 Executive Director, EcoAccess http://ecoaccess.org/
 P.O. Box 2823, Durham, NC 27715-2823 phone: 919.419-8567

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 views expressed in this email are those of the whole world, however some
people don't realise this yet.

- Original Message -
From: Joachim Werner [EMAIL PROTECTED]
To: Jeffrey P Shell [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, December 01, 2001 12:33 AM
Subject: Re: [Zope-dev] Open Letter to zope-dev


  Where's the $99 version of Zope?  The $499?  The $1499?  The
  $25999?  Zope Corp hasn't pulled that card out like many other
  vendors have.  There are actually many pieces of Zope that were
  initially commercial add-ons (or intended to be) that are now all
  open source.

 I sometimes have the feeling that we might NEED a $xx(x) version of
Zope --
 a ready-to-go, preconfigured Zope distro with a decent manual.

 Not for us, the community, but for the average user. O.k., we could do it
 for free, but would there be a Red Hat or SuSE Linux distro if it was
 totally for free? It even CAN be downloaded for free, and still people are
 willing to pay for it. And the money is needed. Without the support from
the
 major Linux distributors, projects like XFree would probably be in big
 trouble ...

 This is a totally different business model than the one Zope Corp. is
using
 right now, but it might help refinancing the overhead a good community
needs
 to have ...

 Just my 2 (euro)cents ...

 Joachim


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 Wed, 2001-12-05 at 14:32, Harald Koschinski wrote:
 Daniel Duclos wrote:

   I have a zope that is dumping signal 11 every 40 minutes or so. I have
tried
 recompile python 2.1.1 with-threads without-pymalloc, recompile Zope
with it,
 recompile ZPAtterns, recompile and instal MYSQL for Python 0.9.1,
upgraded to
 Zope 2.4.3, all this on a Debian Linux box.
   Nothing changed... still restarting...
   Anybody, please, has any ideia on this matter?
   Please, let me know if there's any relevant info that I forgot to
mention
 abot my case!
   Thanks in advance!!
 

 I have the same problem since we are live :-(((

 I have the same versions running like you and I tried  the same to fix -
 but no change.

 What is your state with this problem. Fixed ? How?

It's not fixed, but we managed to make it bearable so as not to lose the
client.

by replacing LoginManager with exUserFolder we managed to bring down the
zope restart time from 5 min (we have a HUGE Data.fs) to 20 secs, and by
installing ZEO we brought down the restart time to between 2 and 8 secs.
By increasing the caching of requests we managed to increase the time
between restart from 15 min to 2 hours. That and a nicely formated
Apache error page for Proxy Errors, for the lucky bastards who happen to
hit the server in the exactly 2 seconds of restart, managed to calm down
the client enough for us to breath.

I'll try the requestprofiler tip Chris gave, but I don't have much hope,
since we use mysql for authentication and the site is authenticated
mostly everywhere.

We are seriously considering droping mysql for postgresql.

 Cheers, Leo

--
Ideas don't stay in some minds very long because they don't like
solitary confinement.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 separate managemnt process will
be created that restarts Zope after a shutdown (or crash).
The path must point to a pid file that the process will record its
process id in. The path may be relative, in which case it will be
relative to the Zope location.

To prevent use of a separate management process, provide an
empty string: -Z ''




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 dummy instead of loop though.


Florent

-- 
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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' namespace are stripped.
 
 I could have used dummy instead of loop though.

I did forget that, and that makes it even better :-)

Thanks Florent...

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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 the Zope
core and the Zope management interfaces, even though it is a reasonable
(even good) way to do it when translating web pages.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 the two
  approaches is used.
 
 As far as I can understand, ZBabel uses a database to store the
 translations. Is this correct?

You can use an external database based on Postgresql. 

But you have not to use 

Normally your data will be stored in the ZODB ZBabelTower

 That approach is for obvious reasons not useful when translating the Zope
 core and the Zope management interfaces, even though it is a reasonable
 (even good) way to do it when translating web pages.
 
 
Regards
Dirk


 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )
 


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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 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 ...  TAG). 
 
 The same PC, the same server, ColdFusion took about 2 minutes to complete
 the operation!!!
 
 Coldfusion is more than 5 times faster than Zope!!!
 
 PHASE 2: 
 
 I said: ok, maybe Zope is slower that Coldfusion in TAG formatting... and
 I tried to get the records and perform a calculation, without no output...
 
 Sigh! the results are the same!
 
 I am depressed, since I talk about Zope very well in my company, but
 now...
 
 Coldfusion and Zope are similar, so we shall select ColdFusion to develop
 web applications.
 
 SIGH !!! 
 
 Can I try something to increase Zope power?!
 
 
 
 
 Alessandro Manotti
 Presidente dell'Associazione RIUSA
 
 Sito web: http://riusa.apritisesamo.net
 email:[EMAIL PROTECTED]
 mailing-list: [EMAIL PROTECTED]
 
 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 binaries for the Zope distribution of Python 2.1 some time
ago and I was already aware of problems with pymalloc, so I certainly didn't
enable it; and I think 2.1 did not enable it by default.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 ...  TAG).

That is quite a lot of records :)  Out of interest, why test pulling out
that many records?  Does your application need to return that many records
to the user?  Can calculations be done in a stored procedure or something.
I've never tried doing anything like this, so I don't really know what I'm
talking about :) however I would have thought that it doesn't sound like a
particularly realistic test (not that I know what your application does).

I wonder how fast Zope is compared to CF in doing, say, 1000 repeat
requests each of, say, 1000 records.

-Matt


-- 
Matt Hamilton [EMAIL PROTECTED]
Netsight Internet Solutions, Ltd.  Business Vision on the Internet
http://www.netsight.co.uk   +44 (0)117 9090901
Web Hosting | Web Design  | Domain Names  |  Co-location  | DB Integration



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 machinery.

I have a sample database in Oracle of US Zip codes -- it has about 45,000
records in it.  I can pull this into DCOracle2 on the C adapter side
(dco2.so) in less than a second.  However, wrapping each result cell in a
python object blows that up into about 9 seconds.  If I were to iterate over
the whole thing in Zope (which I haven't timed) it would get a LOT longer,
because Zope is enforcing policy on every object accessed.

So, one of the ways to make that go faster is to use python modules
'outside' of Zope (ie external methods) to perform large calculations which
takes a ZOracleDA connection object to get a cursor object on the database,
does the query directly, and formats and returns the results.

I realize this isn't ideal, but Zope is not optimized for the case of
extract thousands of records from the database and format them in a huge
table.  Zope likes extract hundreds of records from the database and
format them in a big table instead.

With each release, Zope has more features that enable you to program through
the web, but when you're doing performance intensive calculations, it's
usually time to write a python module and plug it in to zope (via an
external method, or by writing a product).  If you have the time to learn, I
suggest the product route as being more satisfying, but it can be more
frustrating as well.


- Original Message -
From: MANOTTI Alessandro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 8:52 AM
Subject: [Zope-dev] Zope server speed



  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 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 ...  TAG).
 
  The same PC, the same server, ColdFusion took about 2 minutes to
complete
  the operation!!!
 
  Coldfusion is more than 5 times faster than Zope!!!
 
  PHASE 2:
 
  I said: ok, maybe Zope is slower that Coldfusion in TAG formatting...
and
  I tried to get the records and perform a calculation, without no
output...
 
  Sigh! the results are the same!
 
  I am depressed, since I talk about Zope very well in my company, but
  now...
 
  Coldfusion and Zope are similar, so we shall select ColdFusion to
develop
  web applications.
 
  SIGH !!!
 
  Can I try something to increase Zope power?!
 
 
  
 
  Alessandro Manotti
  Presidente dell'Associazione RIUSA
 
  Sito web: http://riusa.apritisesamo.net
  email:[EMAIL PROTECTED]
  mailing-list: [EMAIL PROTECTED]
 
 

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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
netmeeting: ils://ils.murkworks.com   AOL-IM: BKClements


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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
directly in Python (import ... ? ) ?

Thanks to everybody!  




-Original Message-
From: Matthew T. Kromer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 15:27
To: MANOTTI Alessandro; [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Zope server speed


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 machinery.

I have a sample database in Oracle of US Zip codes -- it has about 45,000
records in it.  I can pull this into DCOracle2 on the C adapter side
(dco2.so) in less than a second.  However, wrapping each result cell in a
python object blows that up into about 9 seconds.  If I were to iterate over
the whole thing in Zope (which I haven't timed) it would get a LOT longer,
because Zope is enforcing policy on every object accessed.

So, one of the ways to make that go faster is to use python modules
'outside' of Zope (ie external methods) to perform large calculations which
takes a ZOracleDA connection object to get a cursor object on the database,
does the query directly, and formats and returns the results.

I realize this isn't ideal, but Zope is not optimized for the case of
extract thousands of records from the database and format them in a huge
table.  Zope likes extract hundreds of records from the database and
format them in a big table instead.

With each release, Zope has more features that enable you to program through
the web, but when you're doing performance intensive calculations, it's
usually time to write a python module and plug it in to zope (via an
external method, or by writing a product).  If you have the time to learn, I
suggest the product route as being more satisfying, but it can be more
frustrating as well.


- Original Message -
From: MANOTTI Alessandro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 8:52 AM
Subject: [Zope-dev] Zope server speed



  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 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 ...  TAG).
 
  The same PC, the same server, ColdFusion took about 2 minutes to
complete
  the operation!!!
 
  Coldfusion is more than 5 times faster than Zope!!!
 
  PHASE 2:
 
  I said: ok, maybe Zope is slower that Coldfusion in TAG formatting...
and
  I tried to get the records and perform a calculation, without no
output...
 
  Sigh! the results are the same!
 
  I am depressed, since I talk about Zope very well in my company, but
  now...
 
  Coldfusion and Zope are similar, so we shall select ColdFusion to
develop
  web applications.
 
  SIGH !!!
 
  Can I try something to increase Zope power?!
 
 
  
 
  Alessandro Manotti
  Presidente dell'Associazione RIUSA
 
  Sito web: http://riusa.apritisesamo.net
  email:[EMAIL PROTECTED]
  mailing-list: [EMAIL PROTECTED]
 
 

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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
 threaded apps in Linux were mostly useless, so we aren't investing much
 energy in it anyway.
 
 With the short restart times we have, I'd prever a solution that didn't
 involve keeping a dead site dead for too long (as in, debugging with
 gdb). We are working in a ZEO scheme that would switch over the
 accelerator to proxy another zeo client, but we are not there yet.
 
 It would be ideal if we could instruct python to grab the SIG11, invoke
 gdb, get a C stacktrace for all threads and let Zope die in peace. If it
 all happend in a few seconds, we will still keep the client happy.
 
 Well largely, ALL I want is the backtrace -- and I'm wondering if I 
 could cobble something together that could get it.  The problem is it 
 needs to look at the symbol table, and I dont know how to get at that 
 via C -- ie, gdb doesnt have an interface that I know of that you can 
 link in to grab a stack trace and exit.

If you don't think a core dump is going to be useful, gdb isn't going to
be either.

I know I have gotten Zope to dump core before, and I think I did this
with -Z '', i.e. don't start a management process. Then you need some
other way to start Zope when it dies.

As for ZMySQLDA/MySQLdb, I do know that the MySQL client libraries will
crash if you try use the same connection more than once simultaneously
in two different threads. I have never quite been sure whether or not
there is some kind of locking in Zope to prevent threads from
simultaneously using two database connections, since I expect this would
cause problems on virtually all implementations.

-- 
Andy Dustman PGP: 0x930B8AB6
@   .net http://dustman.net/andy
You can have my keys when you pry them from my dead, cold neurons.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 print
 data via dtml-var ...  TAG). 

Yes, the SQL driver abstraction layer is slower than it could be.

Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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.


 
 Is this a faq?

probably.

have fun,

Sloot.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 can't find the reduce function.

right, but it can find the other built-in functions okay.


Brad Clements,[EMAIL PROTECTED]   (315)268-1000
http://www.murkworks.com  (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com   AOL-IM: BKClements


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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 work fine.

I don't have a clue on how to tackle this problem except for adding

print 'cucu' 

lines all over the ZGDChart code :(

I have a 2.4.0b3 built from source and a 2.1 python (if this might help)


Anyone any ideas ??

TIA,

Sloot.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 of my knowledge, the 
core does NOT contain the necessary registers of the remaining threads; 
thus gdb can't show you which thread dumped core.

However, attaching gdb to the running zope usually does work, since gdb 
can inspect the processes when they are running to get the thread 
information.





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 reduce() ?
 
  this shkould be clear enough as a message.
  zope can't find the reduce function.
 
 right, but it can find the other built-in functions okay.
 

try in your script:
print filter
return printed

and after that works function guarded_filter at ...

try :
print reduce
return printed

someone probably just forgot to implement the guarded_reduce method




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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', 'TypeError', 'delattr',
'AssertionError', 'divmod', 'ord', 'ZeroDivisionError', '__import__',
'callable', 'len', 'repr', 'max', 'tuple', 'StandardError', 'string',
'hash', 'isinstance', 'Exception', 'map', 'math', 'oct', 'OverflowError',
'IOError', 'test', 'filter', 'abs', 'chr', 'NameError', 'long', 'hex',
'complex', 'EOFError', 'min', 'reorder', 'OSError', 'same_type',
'RuntimeError', 'LookupError', 'apply', 'EnvironmentError', 'unicode',
'ValueError', 'issubclass', 'ImportError', 'None', 'KeyError', 'float',
'SyntaxError', 'pow', 'int', 'sequence', 'DateTime']

In retrospect, I should have posted only 1 message instead of 3 :)

Sloot.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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 dtml-var, depending on what I use.

class Object(PropertyManager, Implicit, Item):
 def get_path(self):
 Return a path to myself
 path=string.join(self.getPhysicalPath()[1:], '/')
 return path

 def __getattr(self, attr):
 Return a path to myself
 if attr == 'path':
 path=string.join(self.getPhysicalPath()[1:], '/')
 return path
 else:
 raise AttributeError, attr

Now the following two dtml tags yield:

dtml-var get_path() = /path/to/object

dtml-var path = object

Hopefully you see what I mean.  Why does this happen?
Can I put it in the collector as a bug?

TIA,

Ziniti


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 dictionaries from the external method. in DTML the iteration over it 
still looks the same but it was much faster because there is no security 
enforced on the simple python objects returned from the external method.

jens



On Thursday, December 6, 2001, at 09:33 , MANOTTI Alessandro wrote:

 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
 directly in Python (import ... ? ) ?

 Thanks to everybody!




 -Original Message-
 From: Matthew T. Kromer [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 06, 2001 15:27
 To: MANOTTI Alessandro; [EMAIL PROTECTED]
 Subject: Re: [Zope-dev] Zope server speed


 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 machinery.

 I have a sample database in Oracle of US Zip codes -- it has about 45,000
 records in it.  I can pull this into DCOracle2 on the C adapter side
 (dco2.so) in less than a second.  However, wrapping each result cell in a
 python object blows that up into about 9 seconds.  If I were to iterate 
 over
 the whole thing in Zope (which I haven't timed) it would get a LOT longer,
 because Zope is enforcing policy on every object accessed.

 So, one of the ways to make that go faster is to use python modules
 'outside' of Zope (ie external methods) to perform large calculations 
 which
 takes a ZOracleDA connection object to get a cursor object on the 
 database,
 does the query directly, and formats and returns the results.

 I realize this isn't ideal, but Zope is not optimized for the case of
 extract thousands of records from the database and format them in a huge
 table.  Zope likes extract hundreds of records from the database and
 format them in a big table instead.

 With each release, Zope has more features that enable you to program 
 through
 the web, but when you're doing performance intensive calculations, it's
 usually time to write a python module and plug it in to zope (via an
 external method, or by writing a product).  If you have the time to learn,
  I
 suggest the product route as being more satisfying, but it can be more
 frustrating as well.


 - Original Message -
 From: MANOTTI Alessandro [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, December 06, 2001 8:52 AM
 Subject: [Zope-dev] Zope server speed



 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 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 ...  TAG).

 The same PC, the same server, ColdFusion took about 2 minutes to
 complete
 the operation!!!

 Coldfusion is more than 5 times faster than Zope!!!

 PHASE 2:

 I said: ok, maybe Zope is slower that Coldfusion in TAG formatting...
 and
 I tried to get the records and perform a calculation, without no
 output...

 Sigh! the results are the same!

 I am depressed, since I talk about Zope very well in my company, but
 now...

 Coldfusion and Zope are similar, so we shall select ColdFusion to
 develop
 web applications.

 SIGH !!!

 Can I try something to increase Zope power?!


 

 Alessandro Manotti
 Presidente dell'Associazione RIUSA

 Sito web: http://riusa.apritisesamo.net
 email:[EMAIL PROTECTED]
 mailing-list: [EMAIL PROTECTED]



 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  

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 - Web Design/Development  Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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]
Sent: Thursday, December 06, 2001 5:06 PM
Subject: [Zope-dev] getPhysicalPath differs for function vs. __getattr__


 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 dtml-var, depending on what I use.

 class Object(PropertyManager, Implicit, Item):
  def get_path(self):
  Return a path to myself
  path=string.join(self.getPhysicalPath()[1:], '/')
  return path

  def __getattr(self, attr):
  Return a path to myself
  if attr == 'path':
  path=string.join(self.getPhysicalPath()[1:], '/')
  return path
  else:
  raise AttributeError, attr

 Now the following two dtml tags yield:

 dtml-var get_path() = /path/to/object

 dtml-var path = object

 Hopefully you see what I mean.  Why does this happen?
 Can I put it in the collector as a bug?

 TIA,

 Ziniti


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 afraid my solution won't help there.  I basically just rewrote the
standard Python popen library (to pass the environment to the CGI script),
and haven't tested it on Windows.

I'll send you my code separately so you can see what I've done.

BTW, the project page for EcoAccess is on SourceForge at

 http://sourceforge.net/projects/ecoaccess

All of our code is in our CVS repository there (drop me an e-mail if
you need help finding it).

 If you want to look at the code, drop me a line

Sure, that would be great.  Can you send me what you have?

Thanks!
Fred

 - Original Message -
 From: Fred Wilson Horch [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 26, 2001 5:39 PM
 Subject: [Zope-dev] Integrating mailman with Zope?
 
 
  Hi everybody,
 
  After a hiatus on our project to integrate Mailman and Zope 2.3.x here
  at EcoAccess, we're about to tackle it again.
 
  Has anyone out there tried this already?  Last we heard, Mailman was
  a standalone CGI program, and in order to make it work with Zope you
  had to run both Mailman and Zope behind another web server (such as
  Apache).
 
  What we're planning to do is write a CGI product for Zope 2.3.3 so that we
  can run CGI programs with ZServer under Zope, eliminating the need to set
  up and configure Apache or any other web server.
 
  If you've already written a CGI Zope product (i.e., a product that lets
  you run CGI programs from any Zope folder), please let me know! Otherwise,
  I'll continue the experiments. ;-)
 
  Best regards,
  Fred
  --
  Fred Wilson Horch mailto:[EMAIL PROTECTED]
  Executive Director, EcoAccess http://ecoaccess.org/
  P.O. Box 2823, Durham, NC 27715-2823 phone: 919.419-8567
 
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
 
 


-- 
Fred Wilson Horch   mailto:[EMAIL PROTECTED]
Executive Director, EcoAccess   http://ecoaccess.org/
P.O. Box 2823, Durham, NC 27715-2823phone: 919.419-8567

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 the translating system.

How does Localizer store the translated strings?



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 feels in competition
  with Zope Corp., since they are not even looking for projects there.

 Yet ;-)

I don't know why people assume that competition=difficult to work
together.  One of our closest competitors in the ISP business is
also one of our closest collaborators.  True, our primary markets
have different centers, but they do overlap considerably, especially
when it comes to the higher end customers.

I see the competition between ZC and other Zope solution providers,
not to mention *between* the other solution providers, as a good thing.
It keeps us all on our toes.

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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.

 unfortunately.
 It is good for translating webpages though, so both this and storing it on
 the filesystem must be availiable, simultaneously in the translating system.

 How does Localizer store the translated strings?

I thing that the store ist only filesystem based.



 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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]
\---/

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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
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. :-)

The translation of Zope, and also of other products that you install, need
to be a part of Zope or the products. When you install a product, the
translations should be installed at the same time.

 I thing that the store ist only filesystem based.

Well, then the war between Localizer and ZBabel will end right here and
right now. :-) Both solutions are needed for an integration of
internationalization in Zope. Both products/methods should be integrated
into one product for Zope 2.5 and the inserted into the Zope3 core when the
bugs are removed.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 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.

For this update is a mechanims on XML-RPC design. There will be a
ZBabelMasterTower on the internet where you can download any translation which
is available on the net. Simple click on synchronize and thats it.

 If you upgrade Zope, new translations
 would not appear, and so on.
 Not very practical. :-)

 The translation of Zope, and also of other products that you install, need
 to be a part of Zope or the products. When you install a product, the
 translations should be installed at the same time.

  I thing that the store ist only filesystem based.

 Well, then the war between Localizer and ZBabel will end right here and
 right now. :-) Both solutions are needed for an integration of
 internationalization in Zope. Both products/methods should be integrated
 into one product for Zope 2.5 and the inserted into the Zope3 core when the
 bugs are removed.

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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 cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 the next version of ZBabel will come wit facilities that 
handle that/

The translation of Zope, and also of other products that you install, need
to be a part of Zope or the products. When you install a product, the
translations should be installed at the same time.

Well, no. Because then the products would get too large. The better 
approach is to allow an online sync, again, which comes with the next 
ZBabel version.

  I thing that the store ist only filesystem based.

Well, then the war between Localizer and ZBabel will end right here and
right now. :-) Both solutions are needed for an integration of
internationalization in Zope. Both products/methods should be integrated
into one product for Zope 2.5 and the inserted into the Zope3 core when the
bugs are removed.

Well, all the i18n developers will have a meeting early January in Europe 
with Jim Fulton in a 2-day brainstorming session.

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development  Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 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 cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 are those of the whole world, however some
people don't realise this yet.

- Original Message -
From: JanStiller T-Online [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 31, 2001 4:50 AM
Subject: [Zope-dev] RAMCacheManager and gzip


 Hi,

 Is it possible to marry the RAMCacheManager and gzip?

 I'm just working on a little shop and - for speed's sake - do 'ram-cache'
 the article-listings and push all the Zope-Content through mod_gzip. With
 this combination, I'm getting it 3x faster in Zope and 5x faster over the
 wire (normally 64k). That's great so far. But I don't see any sense in
 zipping cached content over and over, so I tried to zip the cached data in
 RAMCacheManager. In my first attempt, i replaced:


 ZCache_get (RAMCacheManager.py):

 entry.access_count = entry.access_count + 1
 return entry.data

 with:

 entry.access_count = entry.access_count + 1
 ob.REQUEST.RESPONSE.setHeader('Content-Encoding','compress')
 return zlib.compress(entry.data)


 The results:

 1.
 This works with Mozilla 0.96 only for very small entry.data. When I set
 entry.data to 'XX', it works, but any real page gets
 'htmlbody/html/body' as the result.

 2.
 This doesn't seem work in IE alltogether. (with 'Content-Encoding: gzip' -
 zlib.compress != gzip!?)


 I'm willing to spend some days of work for this feature, but although I
have
 2 years experience in Python I'm quite new to Zope and Internet-RFC's
 and this is definitely a point, where I would appreciate some hints from
 more experienced Zope-programmers (or a product, of course -- or the
 statement, that this won't be possible... ;o)



 regards

 Jan Stiller


 P.S. sorry, if my words seems a bit confused, I'm more used to reading
than
 writing english...




 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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-
 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 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 cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 your appliction.  What you
want to do is hijack and rewrite user queries before sending them through a
catalog query...  for example:

word = 'dancing'
newword = re.sub('ing$', '*', word)
#newword is now 'danc*' which

This would work with plural words as well, as long as you have a useful set
of patterns for word endings...  

For alternate spellings, abbreviations, and synonyms you would need to
create lookup tables and indexed methods that took advantage of them for
text indexes.  This works only for text indexes though...  

In summary, use query rewrites for word endings and auto-wildcarding (the
work is done at search time)... and use methods that weight and translate
your text in your product code (the work is done at index time)...

Sean

-Original Message-
From: Dirk Datzert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:38 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] ZCatalog


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-
 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 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 cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 marketplace.



--- Casey Duncan [EMAIL PROTECTED] wrote:
 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]

\---/
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
 
 http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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
every detail of goings on in the Zope community, or are not subscribed to
lists, or are new to Zope, I imagine that a name discrepancy could be
confusing...

I hope you aren't saying that basic, well thought-out, marketing strategies
are somehow predatory behavior?  Let's not even try to compare this to
hijacking in the style of a certain Redmond-based company.

Sean

-Original Message-
From: Clark O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 3:57 PM
To: Casey Duncan; R. David Murray; Chris Withers
Cc: Stephan Richter; [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Competition


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 marketplace.



--- Casey Duncan [EMAIL PROTECTED] wrote:
 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]

\---/
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
 
 http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 therefore don't 
want to brand their company and don't want to add my
beans to their pile of beans. Thats all I was saying.
Clark 








--- [EMAIL PROTECTED] wrote:
 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
 every detail of goings on in the Zope community, or
 are not subscribed to
 lists, or are new to Zope, I imagine that a name
 discrepancy could be
 confusing...
 
 I hope you aren't saying that basic, well
 thought-out, marketing strategies
 are somehow predatory behavior?  Let's not even try
 to compare this to
 hijacking in the style of a certain Redmond-based
 company.
 
 Sean
 
 -Original Message-
 From: Clark O'Brien [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 06, 2001 3:57 PM
 To: Casey Duncan; R. David Murray; Chris Withers
 Cc: Stephan Richter; [EMAIL PROTECTED]
 Subject: Re: [Zope-dev] Competition
 
 
 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 marketplace.
 
 
 
 --- Casey Duncan [EMAIL PROTECTED] wrote:
  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]
 
 ---/
  
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists - 
  
 
 http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
 
 http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 Zope are more closely
 associated with one another in the marketplace.

Clarifying a brand.
Starting as Digital Creations gives you the flexibility to explore more 
fields than Zope. Once you start putting all your (and other people's) money 
on that one horse, you make sure everyone knows who's the jockey.

That's how it's done.

hth,
Danny

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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
development community, please go away.  This is my last post on this matter,
and I suggest others follow suit.

Anyway, you do know all kinds of embarrassing health problems can happen
from hoarding beans, don't you?

Sean

-Original Message-
From: Clark O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 4:44 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Zope-dev] Competition


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 therefore don't 
want to brand their company and don't want to add my
beans to their pile of beans. Thats all I was saying.
Clark 








--- [EMAIL PROTECTED] wrote:
 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
 every detail of goings on in the Zope community, or
 are not subscribed to
 lists, or are new to Zope, I imagine that a name
 discrepancy could be
 confusing...
 
 I hope you aren't saying that basic, well
 thought-out, marketing strategies
 are somehow predatory behavior?  Let's not even try
 to compare this to
 hijacking in the style of a certain Redmond-based
 company.
 
 Sean
 
 -Original Message-
 From: Clark O'Brien [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 06, 2001 3:57 PM
 To: Casey Duncan; R. David Murray; Chris Withers
 Cc: Stephan Richter; [EMAIL PROTECTED]
 Subject: Re: [Zope-dev] Competition
 
 
 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 marketplace.
 
 
 
 --- Casey Duncan [EMAIL PROTECTED] wrote:
  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]
 
 ---/
  
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists - 
  
 
 http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
 
 http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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
  There is no `stop' command, but you can set a hook on `stop'.
  This allows you to set a list of commands to be run each time execution
  of the program stops.


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 hold the delusions of conspiracy
 theory.  If you are not
 willing to play by the ad-hoc cooperative social
 contract of this
 development community, please go away.  This is my
 last post on this matter,
 and I suggest others follow suit.
 
 Anyway, you do know all kinds of embarrassing health
 problems can happen
 from hoarding beans, don't you?
 
 Sean
 
 -Original Message-
 From: Clark O'Brien [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 06, 2001 4:44 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Zope-dev] Competition
 
 
 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 therefore
 don't 
 want to brand their company and don't want to add my
 beans to their pile of beans. Thats all I was
 saying.
 Clark 
 
 
 
 
 
 
 
 
 --- [EMAIL PROTECTED] wrote:
  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
  every detail of goings on in the Zope community,
 or
  are not subscribed to
  lists, or are new to Zope, I imagine that a name
  discrepancy could be
  confusing...
  
  I hope you aren't saying that basic, well
  thought-out, marketing strategies
  are somehow predatory behavior?  Let's not even
 try
  to compare this to
  hijacking in the style of a certain
 Redmond-based
  company.
  
  Sean
  
  -Original Message-
  From: Clark O'Brien
 [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, December 06, 2001 3:57 PM
  To: Casey Duncan; R. David Murray; Chris Withers
  Cc: Stephan Richter; [EMAIL PROTECTED]
  Subject: Re: [Zope-dev] Competition
  
  
  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 marketplace.
  
  
  
  --- Casey Duncan [EMAIL PROTECTED] wrote:
   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]
  
 
 ---/
   
   ___
   Zope-Dev maillist  -  [EMAIL PROTECTED]
   http://lists.zope.org/mailman/listinfo/zope-dev
   **  No cross posts or HTML encoding!  **
   (Related lists - 
   
  
 
 http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
  
  
  __
  Do You Yahoo!?
  Send your FREE holiday greetings online!
  http://greetings.yahoo.com
  
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists - 
  
 
 http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
 
 http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



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 and I would do
 the same thing if I was in their shoes.

 However, I am not in their shoes, and therefore don't
 want to brand their company
 and don't want to add my
 beans to their pile of beans.
 Thats all I was saying.
 Clark

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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 is not a nice Zope object but an instance from anywhere. And setting 
__allow_access_to_unprotected_subobjects__ does not help much either and it 
should not be the final solution anyway.

Can anyone help?

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development  Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )