Re: [Zope] Different IPs, one zope instance

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 21:16, Remy Pinsonnault wrote: Hello everyone, We a have a server with 5 differents IPs. How would it be possible to specify one IP (only one out of 5) to the Zope server? Yes. See the "servers" directive in zope.conf, which documents all this very well. jens __

Re: [Zope] Different IPs, one zope instance

2005-07-22 Thread Jonathan
- Original Message - From: "Remy Pinsonnault" <[EMAIL PROTECTED]> To: Sent: Friday, July 22, 2005 4:16 PM Subject: [Zope] Different IPs, one zope instance Hello everyone, We a have a server with 5 differents IPs. How would it be possible to specify one IP (only one out of 5) to th

[Zope] Different IPs, one zope instance

2005-07-22 Thread Remy Pinsonnault
Hello everyone, We a have a server with 5 differents IPs. How would it be possible to specify one IP (only one out of 5) to the Zope server? Thanks Remy ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross post

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jens Vagelpohl
I only wait that someone test my reimplementation of parser and says me it's really insignificant. I would like at least not to have that trash (...) in the body of the method. As far as the CMF goes, IMHO it doesn't make much sense to put code into the repository just because one person

[Zope] Plone: storage, catologing and versioning

2005-07-22 Thread Rogério Atem de Carvalho
Hi, I have a few questions about Plone (in some extent CMF/Zope): 1)How to manipulate versioning in Plone? (like CPS does) I know there is PLIP8, but it is still a proposal, isn't it? 2)How to store and catalog huge document collections? -LocalFS + ZCatalog? -Implement mapping and indexing in a

Re: [Zope] tal:attributes question

2005-07-22 Thread Fred Drake
On 7/22/05, Erik Myllymaki <[EMAIL PROTECTED]> wrote: > I am trying to set the bgcolor of a page based on the existance of a variable. > > Neither of these seem to work: > > tal:attributes="bgcolor python:test(hasattr(options, 'error'), 'red', > 'green')"> Try this: -Fred -- Fre

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jean Rodrigo Ferri
Jens Vagelpohl wrote: [...] You're still giving no clue about what exactly it is that works "not properly". I looked at your example and I understood the correct sintax, now it make sence, the comments the attributes in the body of ZSQLMethod. But in my refactory of parser I used a more

Re: [Zope] Getting a methods parent (in a product)

2005-07-22 Thread Jan-Ole Esleben
Thanks a lot, I'll try that. Ole 2005/7/22, Jens Vagelpohl <[EMAIL PROTECTED]>: > > On 22 Jul 2005, at 18:48, Jan-Ole Esleben wrote: > > > Hi! > > > > How can I get a Product instance's _actual_ parent when one of its > > methods is called? (In other ways: how can I find out, from an > > insta

Re: [Zope] Getting a methods parent (in a product)

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 18:48, Jan-Ole Esleben wrote: Hi! How can I get a Product instance's _actual_ parent when one of its methods is called? (In other ways: how can I find out, from an instance, where that instance is located without falling prey to acquisition in Zope 2?) from Acquisition imp

[Zope] Getting a methods parent (in a product)

2005-07-22 Thread Jan-Ole Esleben
Hi! How can I get a Product instance's _actual_ parent when one of its methods is called? (In other ways: how can I find out, from an instance, where that instance is located without falling prey to acquisition in Zope 2?) TIA, Ole ___ Zope maillist -

[Zope] tal:attributes question

2005-07-22 Thread Erik Myllymaki
I am trying to set the bgcolor of a page based on the existance of a variable. Neither of these seem to work: I can access the error variable with this: tal:content="options/error | nothing">There was an error ___ Zope maillist - Zope@zope.org

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 17:17, Jean Rodrigo Ferri wrote: Jens Vagelpohl wrote: It does work. How? Give me an example! Take a look at the unit tests which exercise the FSZSQL code, there is a sample one that is part of the fake skins directory used by the CMFCore unit tests: http://svn.z

Re: [Zope] Re: Zope Foundation Update

2005-07-22 Thread Greg Fischer
HAHAHHAHA!!! LOL! Man! There has got to be some humor in this at some point! Honestly, though, I appreciate your discussions being held here. I truly appreciate the fact that I have Zope to work with and offer to my customers. I feel that I owe that thanks not only to Zope Corporation, but to

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jean Rodrigo Ferri
Jens Vagelpohl wrote: It does work. How? Give me an example! The comment is wrong. If you find something that does *not* work I'll be glad to look at it, but so far you have not given any specific information about breakages like tracebacks or steps to follow to produce an error. I can

Re: [Zope] zpt and sql

2005-07-22 Thread Andrew Milton
+---[ Nicholas Wieland ]-- | Hi *, I've searched a lot but actually didn't find anything useful to solve my | problem, and probably I haven't really understood how Zope works ... :) | I'm developing a filesystem product and I need to display a zpt form where I | display some

RE: [Zope] object acquisition via python scripts

2005-07-22 Thread Jon Bowlas
Many thanks for your help, worked a treat. Also thanks going out to Malcolm, although he got beat to the solution by Paul. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Winkler Sent: 22 July 2005 16:21 To: zope@zope.org Subject: Re: [Zope] object a

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 14:31, Jean Rodrigo Ferri wrote: So, the entire data information is submited in template, or either, the body of zsql method receives tags and the arguments list too. I don't know how can it work!? It does work. In the top of template has a comment: """ (not yet) Cus

[Zope] Zope trademark - ZEA point of view

2005-07-22 Thread Xavier Heymans
This email is an answer to the questions raised by Rob Page in his email titled “Zope Foundation update”. It was posted on zope.org mailing list, Tuesday July 19, 2005. This document also tries to answer questions raised on the mailing list.Later in the document:Zope Corporation = ZCZope Europe Ass

[Zope] Re: object acquisition via python scripts

2005-07-22 Thread Malcolm Cleaton
On Fri, 22 Jul 2005 16:10:03 +0100, Jon Bowlas wrote: > attobjects = context.objectValues('Attributes object') ... > But what I'd like to do in this situation is use acquisition to retrieve the > values from the parent 'Attributes object' located in the site root. So > could someone please e

Re: [Zope] object acquisition via python scripts

2005-07-22 Thread Paul Winkler
On Fri, Jul 22, 2005 at 04:10:03PM +0100, Jon Bowlas wrote: > And my get_attobject script contains the following code: > > > > attobjects = context.objectValues('Attributes object') > > if attobjects: > > return attobjects[0] > > return None > (snip) > But what

[Zope] object acquisition via python scripts

2005-07-22 Thread Jon Bowlas
Hi,   I’m not sure if the subject line accurately describes what I’m trying to do, anyway let me try and explain.   I have a set of folders like this:   Site root object   | Attributes object   | Layout ZPT   | get_attobject (python script)   | get_

[Zope] zpt and sql

2005-07-22 Thread Nicholas Wieland
Hi *, I've searched a lot but actually didn't find anything useful to solve my problem, and probably I haven't really understood how Zope works ... :) I'm developing a filesystem product and I need to display a zpt form where I display some results from a query. I'm able to query the DB, and I'm ab

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jean Rodrigo Ferri
Jens Vagelpohl wrote: I did a refactory in the FSZSQLMethod.py module of CMFCore from SVN. I want to use my ZSQLs from the filesystem and I improved the module to better support to this feature. First of all, CMF-related items are better discussed on the zope- [EMAIL PROTECTED] list. Sorr

[Zope] Traceback Lines for Send Mail Error

2005-07-22 Thread Asad Habib
If it helps, the last lines in the traceback are as follows: Module DocumentTemplate.DT_String, line 474, in __call__ Module Products.MailHost.SendMailTag, line 116, in render Module Products.MailHost.MailHost, line 125, in send Module Products.MailHost.MailHost, line 144, in _send Module smtplib,

[Zope] Send Mail Tag

2005-07-22 Thread Asad Habib
My current Zope setup uses SSL and FastCGI. For some reason, is no longer working for me. The error I get is the following: Exception Type gaierror Exception Value (7, 'No address associated with nodename') I have confirmed the name of our mail server with IT staff so the problem is not in the

Re: [Zope] manage_changeProperties quirk?

2005-07-22 Thread Joe Bezier
Yep. Exactly - I hadn't thought of that, but yes, it was created by someone who's now left. Deeply impressive. Thanks Jens. JB On 22 Jul 2005, at 11:17, Jens Vagelpohl wrote: On 22 Jul 2005, at 11:04, Joe Bezier wrote: So I tried pretty much everything - checking all sorts of permissions a

Re: [Zope] manage_changeProperties quirk?

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 11:04, Joe Bezier wrote: So I tried pretty much everything - checking all sorts of permissions and other stuff, but eventually made a copy of the folder, to make sure it wasn't something peculiar with the folder name - the copy worked perfectly. So, I then replaced the or

[Zope] manage_changeProperties quirk?

2005-07-22 Thread Joe Bezier
Hiya, I had a strange problem today, on a Zope 2.5 installation (yes, it will be upgraded soon...). Basically, I've got a form action which calls manage_changeProperties() on a number of subfolders using Now, this works absolutely fine throughout my installation, but in one instance it was

[Zope] FW: Problem downloading large files

2005-07-22 Thread Laurikainen, Tuukka
Hello all, I apologize if this is a wrong list for the question, but the python-crypto list doesn't seem to be working (at least I haven't received anything from there, not even the mails I've sent). Anyway I suppose there are people here who run the ZServerSSL with Zope. We're having some proble

[Zope] Re: Re: Memory Errors - solved

2005-07-22 Thread Malthe Borch
Malthe Borch <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I'll follow up if it turns out to be a fluke. It was. no candy. It did buy some time though, so there might be a real leak somewhere. \mb ___ Zope maillist - Zope@zope.org http://

Re: [Zope] Reg Zope Installation Problem

2005-07-22 Thread Tino Wildenhain
Am Freitag, den 22.07.2005, 07:31 +0100 schrieb praba kar: > --- Florent Guillaume <[EMAIL PROTECTED]> wrote: > > > praba kar <[EMAIL PROTECTED]> wrote: > > > I try to install zope 2.7.0. > > > > Stop right here. Zope 2.7.0 is hopelessly outdated. > > Use Zope 2.7.6. > > > > Florent > > > > --