Re: [Zope] Strange behavior with TAL and python: expressions

2006-03-31 Thread Chris Withers
Floyd May wrote: Great and mighty Zope gurus, At last, some respect ;-) I have a template which calls a macro. Within the template, I tal:define a variable, 'form'. Within the macro, the 'form' variable (which is an FSForm object) is defined as None unless I access it using python

Re: [Zope] zope and nagios

2006-03-31 Thread Chris Withers
robert rottermann wrote: When you have zope running on top of zeo and stop zeo you still can ask for a page and it will be returned correctly. We have a zeoup-based plugin that checks for that, lemme know if you're interested and I'll see if I can put it somewhere public. We run into

Re: [Zope] zope and nagios

2006-03-31 Thread Martijn Pieters
On 3/30/06, robert rottermann [EMAIL PROTECTED] wrote: Hi there, I would like to test if zope is running using nagios. I would be gratefull if somebody could could point me to some info how to best do this. I am especially interested to learn what to test to detect a running but not

Re: [Zope] single sign-on

2006-03-31 Thread Stefan H. Holek
You may want to contact Netsight(.co.uk), they have a working NTLM auth system for Zope/Plone. It's not gratis though, AFAIK. It's also possible to use ActiveDirectory for both Windows and Zope (via LDAPUserFolder). Stefan On 31. Mär 2006, at 09:03, Fernando Martins wrote: Interesting

RE: [Zope] zope and nagios

2006-03-31 Thread Doyon, Jean-Francois
Actually, I'd love to have a look at your zeoup-based plugin myself :) As Chris suggests, it is normal for Zope to keep running after it loses its ZEO connection. If you're worried about that, setup a separate ZEO monitor. Cheers, J.F. -Original Message- From: Chris Withers

Re: [Zope] zope and nagios

2006-03-31 Thread robert rottermann
Chris Withers wrote: robert rottermann wrote: When you have zope running on top of zeo and stop zeo you still can ask for a page and it will be returned correctly. We have a zeoup-based plugin that checks for that, lemme know if you're interested and I'll see if I can put it somewhere

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-31 Thread Anton Stonor
Hugo Ramos wrote: Thank you all !! (very insane multiple exclamation marks) I've been trying different scenarios and Zope performance increased 10 to 11 times faster... Any chance you could share what you actually did to accomplish this? /Aton

[Zope] Preserving ownership on export/import

2006-03-31 Thread Matthew X. Economou
Is it possible to export an object from a Zope instance in such a way that, upon importing the object in a completely different Zope instance and assuming the two Zope instances share a common authentication source (e.g. LDAP), the original owner of the object is preserved? I want to migrate key

Re: [Zope] Preserving ownership on export/import

2006-03-31 Thread Andreas Jung
--On 31. März 2006 11:08:24 -0500 Matthew X. Economou [EMAIL PROTECTED] wrote: Unfortunately, the imported objects are now owned by me, not by the users that originally owned them. Zope seems to support me only taking ownership of an object, not transferring ownership to someone else.

[Zope] reading cookies from external methods

2006-03-31 Thread Jed Parsons
This is probably a silly question, but how does one read cookies from an external method without passing REQUEST to the method? The method should be callable both from dtml and from other external methods. I know I can do this: def foo(REQUEST): cookie = REQUEST.get('some_cookie')

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Andrew Milton
+---[ Jed Parsons ]-- | | This is probably a silly question, but how does one read cookies from an | external method without passing REQUEST to the method? | | The method should be callable both from dtml and from other external | methods. | | I know I can do this: |

Re: [Zope] single sign-on

2006-03-31 Thread Robert Boyd
On 3/30/06, Fernando Martins [EMAIL PROTECTED] wrote: Hi, I'm doing single sign-on using Apache+mod_ntlm+FastCGI. Since the last is deprecated, is there any alternative? FastCGI is deprecated, but it still can be used, correct? I also use it to pass REMOTE_USER from Apache to Zope (in a

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Jonathan
- Original Message - From: Jed Parsons [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, March 31, 2006 2:04 PM Subject: [Zope] reading cookies from external methods This is probably a silly question, but how does one read cookies from an external method without passing REQUEST to

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Jed Parsons
Oh, cool. That's kind of magical. :) It looks like I can't get the RESPONSE that way, so if I want to do a RESPONSE.setCookie(...) somewhere, I have to pass REQUEST and RESPONSE as before, yes? Thanks much, j Jonathan wrote: - Original Message - From: Jed Parsons [EMAIL

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-31 Thread Hugo Ramos
Well... I just followed some advices ppl gave me in the mailing list and also a feeling I had about using process affinity. I used taskset when starting Zope + Apache like this: cpu0: all other processes cpu1: 10 Apache (mod_ssl,mod_rewrite,mod_proxy) cpu2: 10 Apache

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Patrick Decat
Hi, that's well documented in the Zope Book : http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/view Short answer : request = context.REQUEST response = request.RESPONSE Regards, Patrick. On 3/31/06, Jed Parsons [EMAIL PROTECTED] wrote: Oh, cool. That's kind of magical. :) It

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Jed Parsons
Isn't that for scripts and not extensions (external methods)? Patrick Decat wrote: Hi, that's well documented in the Zope Book : http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/view Short answer : request = context.REQUEST response = request.RESPONSE Regards, Patrick. On

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Tino Wildenhain
Jed Parsons wrote: Oh, cool. That's kind of magical. :) It looks like I can't get the RESPONSE that way, so if I want to do a RESPONSE.setCookie(...) somewhere, I have to pass REQUEST and RESPONSE as before, yes? No, RESPONSE is a subobject of REQUEST - see python scripts as an example

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Jed Parsons
Awesome thank you, j Tino Wildenhain wrote: Jed Parsons wrote: Oh, cool. That's kind of magical. :) It looks like I can't get the RESPONSE that way, so if I want to do a RESPONSE.setCookie(...) somewhere, I have to pass REQUEST and RESPONSE as before, yes? No, RESPONSE is a subobject of

[Zope] Debugging Zope on Windows

2006-03-31 Thread kjzz.webmaster
I am using Zope 2.5.0 (binary release, python 2.1, win32-x86), and the python 2.1.3 distribution of from python.org as a service on a Windows 2000 server. I have heard that there is a way to debug zope and save error messages to a text file using the STUPID_LOG_FILE parameter however I'm not

[Zope] Zope and Tomcat troubles

2006-03-31 Thread Mads Munch Hansen
Hi, Since I installed Zope on my server Tomcat has stoped working, and I was wondering if any of you knew of a solution. When I try to load the management interface for TomCat, all I get is a blank page, the same when I try to log into OpenXchange... I installed zope from the Plone Suse 10 rpm

[Zope] logging from external methods

2006-03-31 Thread Jed Parsons
I'm trying to perform some logging from external methods. I've discovered that, if you're not careful, you get more and more loggers each time Zope reloads the module. This leads to an ever-increasing number of identical entries in the log file, whose timestamps all match down to the

Re: [Zope] Zope and Tomcat troubles

2006-03-31 Thread Tino Wildenhain
Mads Munch Hansen wrote: Hi, Since I installed Zope on my server Tomcat has stoped working, and I was wondering if any of you knew of a solution. When I try to load the management interface for TomCat, all I get is a blank page, the same when I try to log into OpenXchange... I installed zope

[Zope] Rotating Zope Log Files on Windows

2006-03-31 Thread kjzz.webmaster
I am using Zope 2.5.0 (binary release, python 2.1, win32-x86), and the python 2.1.3 distribution of from python.org as a service on a Windows 2000 server. I am looking for a solution to rotate zope log files on windows. I just started writing a batch file to accomplish this, and it seems to

[Zope] Adding an RSS Aggregator

2006-03-31 Thread Chris Purves
Hello, I would like to add an RSS aggregator to my Zope site. I have found SilvaNews and CMFSin, but these require either the Silva or Plone CMF, which I would prefer not to set up just to get the aggregator. What would be the simplest way to add an aggregator to my Zope site? I have a

[Zope] Re: [ZF] ANNOUNCE: Zope Foundation is incorporated!

2006-03-31 Thread kit BLAKE
2006/3/25, Rob Page [EMAIL PROTECTED]: At long last the Zope Foundation is incorporated! Thanks to everyone who has helped get the Foundation to this point!! Congratulations! I can only guess at the enormous amount of work that took. kit -- kit BLAKE Infrae · infrae.com + 31 10 243 7051

RE: [Zope] single sign-on

2006-03-31 Thread Fernando Martins
Robert Boyd wrote: FastCGI is deprecated, but it still can be used, correct? I also use it to pass REMOTE_USER from Apache to Zope (in a Shibboleth set-up), and nobody has given me an alternative using rewrite and proxy. Well, you'll get a warning of the deprecation at start time. That's

[Zope-Checkins] SVN: Products.Five/branches/1.3/ Five bugfix release: Add class as alias to content

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66268: Five bugfix release: Add class as alias to content Changed: U Products.Five/branches/1.3/CHANGES.txt U Products.Five/branches/1.3/meta.zcml U Products.Five/branches/1.3/version.txt -=- Modified: Products.Five/branches/1.3/CHANGES.txt

[Zope-Checkins] SVN: Products.Five/branches/1.4/ forwardport bugfix: Add class as alias to content

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66269: forwardport bugfix: Add class as alias to content Changed: U Products.Five/branches/1.4/CHANGES.txt U Products.Five/branches/1.4/meta.zcml -=- Modified: Products.Five/branches/1.4/CHANGES.txt

[Zope-Checkins] SVN: Products.Five/trunk/ forwardport bugfix: Add class as alias to content

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66270: forwardport bugfix: Add class as alias to content Changed: U Products.Five/trunk/CHANGES.txt U Products.Five/trunk/meta.zcml -=- Modified: Products.Five/trunk/CHANGES.txt === ---

[Zope-Checkins] SVN: Products.Five/branches/1.2/ Five bugfix release: Add class as alias to content

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66271: Five bugfix release: Add class as alias to content Changed: U Products.Five/branches/1.2/CHANGES.txt U Products.Five/branches/1.2/meta.zcml U Products.Five/branches/1.2/version.txt -=- Modified: Products.Five/branches/1.2/CHANGES.txt

[Zope-Checkins] SVN: Products.Five/tags/1.0.3/ Remove prematurely created tag

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66272: Remove prematurely created tag Changed: D Products.Five/tags/1.0.3/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins

[Zope-Checkins] SVN: Products.Five/branches/philikon-fix-lookup-priorities/ Get rid of no longer needed branch

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66274: Get rid of no longer needed branch Changed: D Products.Five/branches/philikon-fix-lookup-priorities/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins

[Zope-Checkins] SVN: Products.Five/branches/1.0/ Get rid of monkey which is unnecessary in Zope 2.8

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66276: Get rid of monkey which is unnecessary in Zope 2.8 Changed: U Products.Five/branches/1.0/__init__.py D Products.Five/branches/1.0/monkey.py -=- Modified: Products.Five/branches/1.0/__init__.py

[Zope-Checkins] SVN: Products.Five/branches/1.0/tests/test_event.py ZODB 3.4-style savepoints

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66277: ZODB 3.4-style savepoints Changed: U Products.Five/branches/1.0/tests/test_event.py -=- Modified: Products.Five/branches/1.0/tests/test_event.py === ---

[Zope-Checkins] SVN: Products.Five/branches/1.0/ Make docs more Zope 2.8-friendly

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66278: Make docs more Zope 2.8-friendly Changed: U Products.Five/branches/1.0/COPYING.txt U Products.Five/branches/1.0/INSTALL.txt -=- Modified: Products.Five/branches/1.0/COPYING.txt === ---

[Zope-Checkins] SVN: Products.Five/branches/1.0/ svn:eol-style=native (mainly to reduce the diff between what's in Zope 2.8

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66280: svn:eol-style=native (mainly to reduce the diff between what's in Zope 2.8 branch and what's here) Changed: _U Products.Five/branches/1.0/COPYING.txt _U Products.Five/branches/1.0/INSTALL.txt _U Products.Five/branches/1.0/README.txt _U

[Zope-Checkins] SVN: Products.Five/branches/1.3/CHANGES.txt Update with changes from 1.2 branch

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66283: Update with changes from 1.2 branch Changed: U Products.Five/branches/1.3/CHANGES.txt -=- Modified: Products.Five/branches/1.3/CHANGES.txt === --- Products.Five/branches/1.3/CHANGES.txt

[Zope-Checkins] SVN: Products.Five/branches/1.4/CHANGES.txt forgot a whole version there

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66286: forgot a whole version there Changed: U Products.Five/branches/1.4/CHANGES.txt -=- Modified: Products.Five/branches/1.4/CHANGES.txt === --- Products.Five/branches/1.4/CHANGES.txt

[Zope-Checkins] SVN: Products.Five/trunk/CHANGES.txt update changes from previous branches

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66287: update changes from previous branches Changed: U Products.Five/trunk/CHANGES.txt -=- Modified: Products.Five/trunk/CHANGES.txt === --- Products.Five/trunk/CHANGES.txt 2006-03-31 17:57:03

[Zope-Checkins] SVN: Products.Five/tags/1.2.3/ Tag Five 1.2.3

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66288: Tag Five 1.2.3 Changed: A Products.Five/tags/1.2.3/ -=- Copied: Products.Five/tags/1.2.3 (from rev 66287, Products.Five/branches/1.2) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-Checkins] SVN: Products.Five/tags/1.3.4/ Tag Five 1.3.4

2006-03-31 Thread Philipp von Weitershausen
Log message for revision 66289: Tag Five 1.3.4 Changed: A Products.Five/tags/1.3.4/ -=- Copied: Products.Five/tags/1.3.4 (from rev 66288, Products.Five/branches/1.3) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-dev] makerequest issues

2006-03-31 Thread Paul Winkler
Several things: 1) there is a makerequest function in both Testing/makerequest.py and Testing/ZopeTestCase/utils.py. They are subtly different. Is there a deliberate reason for this? I notice that the one in utils.py lacks the recent fix for zope 3 views, and the one in makerequest.py lacks an

Re: [Zope-dev] makerequest issues

2006-03-31 Thread Paul Winkler
One small correction: On Fri, Mar 31, 2006 at 12:31:55PM -0500, Paul Winkler wrote: ... I notice that the makerequest in ZopeTestCase/utils.py lacks the recent fix for zope 3 views No, it has that fix; I accidentally looked at it on a 2.9.1 tarball rather than the trunk or 2.9 branch. The rest

[Zope-dev] Is TF IDF implemented in zope search engine. On NED in Zope.

2006-03-31 Thread Manuel Vázquez Acosta
Hi all, I was reading a paper on News Event Detection (NED) and I started wondering how hard would it be to implement such a mechanism in Zope. My first step was to find out if Zope already implemented a vector space model (tf idf, maybe) for indexing and searching the documents. I know nothing