[Zope] restarted zope and now not answering port 8080

2006-07-22 Thread Noah
Hi there, zope-2.8.8 freebsd-4.11 so I just installed plone and stopped and restarted zope and found that it no longer answers port 8080. there is nothing in the logs that shows something is wrong. I see the zope daemon running it is not quitting. I see a python2.3 process run by nobody

Re: [Zope] restarted zope and now not answering port 8080

2006-07-22 Thread Andreas Jung
--On 22. Juli 2006 00:34:24 -0700 Noah [EMAIL PROTECTED] wrote: Hi there, zope-2.8.8 freebsd-4.11 so I just installed plone and stopped and restarted zope and found that it no longer answers port 8080. there is nothing in the logs that shows something is wrong. I see the zope daemon

Re: [Zope] restarted zope and now not answering port 8080

2006-07-22 Thread Noah
Andreas Jung wrote: --On 22. Juli 2006 00:34:24 -0700 Noah [EMAIL PROTECTED] wrote: Hi there, zope-2.8.8 freebsd-4.11 so I just installed plone and stopped and restarted zope and found that it no longer answers port 8080. there is nothing in the logs that shows something is wrong. I see

Re: [Zope] restarted zope and now not answering port 8080

2006-07-22 Thread Andreas Jung
--On 22. Juli 2006 00:42:05 -0700 Noah [EMAIL PROTECTED] wrote: Kill the remaining process manually and restart again. Andreas, that didnt completely work. ---s nip --- # /usr/local/etc/rc.d/zope.sh start Starting Zope Instance /a/www/Zope - . Unlinking stale socket

Re: [Zope] restarted zope and now not answering port 8080 [solved]

2006-07-22 Thread Noah
Andreas Jung wrote: --On 22. Juli 2006 00:42:05 -0700 Noah [EMAIL PROTECTED] wrote: Kill the remaining process manually and restart again. Andreas, that didnt completely work. ---s nip --- # /usr/local/etc/rc.d/zope.sh start Starting Zope Instance /a/www/Zope - . Unlinking

[Zope] How to prevent subobjects to catalog a parents attribute

2006-07-22 Thread Mohsen Moeeni
Hi; My folder (which extends ATFolder from ATContentTypes) has a `catagory` attribute (field) which I want to be present in the catalog both as index and metadata. So I have added the `category` FiledIndex and metadata to my catalog object. Everything is fine when I look at my indexed custom

Re: [Zope] How to prevent subobjects to catalog a parents attribute

2006-07-22 Thread Andreas Jung
--On 22. Juli 2006 17:08:43 +0330 Mohsen Moeeni [EMAIL PROTECTED] wrote: Hi; My folder (which extends ATFolder from ATContentTypes) has a `catagory` attribute (field) which I want to be present in the catalog both as index and metadata. So I have added the `category` FiledIndex and metadata

Re: [Zope] How to prevent subobjects to catalog a parents attribute

2006-07-22 Thread Mohsen Moeeni
On 7/22/06, Andreas Jung [EMAIL PROTECTED] wrote: --On 22. Juli 2006 17:08:43 +0330 Mohsen Moeeni [EMAIL PROTECTED] wrote: Hi; [snip] . However, the problem is that the subobjects of this folder will also have the same value as their parent for the category index and metadata because

[Zope] Acquisition and self arguements of methods

2006-07-22 Thread Mohsen Moeeni
Hello; As far as I see, the `self` argument, when a method is called, is not dependent on how the method was acquired. Consider I have an instance of class B which is named b and has a method named `method_b`. In either of these calls: a.b.c.method_b() a.b.method_b() `self` argument will be

[Zope] accessing object from a list constructed in __init__.py

2006-07-22 Thread kevin7kal
I'm doing some work with Five and have an aquisition related issue. first, zope is zope 2.9.3 The trouble is with accessing the attributes of objects stored in the number property in class2. accessing class1.number via class2.method1a is no problem, the problem seems to stem from constructing a

[Zope] Python/TAL Problem

2006-07-22 Thread beno
Hi; I'm trying to tweak someone else' script to get it to do what I want. The script reads from and writes to the Properties tab of pages and folders, enabling one to change the titles of many pages/folders from one single script-generated page. I want to be able to do the same thing with

Re: [Zope] accessing object from a list constructed in __init__.py

2006-07-22 Thread Alexis Roda
En/na kevin7kal ha escrit: I'm doing some work with Five and have an aquisition related issue. first, zope is zope 2.9.3 The trouble is with accessing the attributes of objects stored in the number property in class2. class2 must inherit from ExtensionClass.Base (or some subclass, like

Re: [Zope] accessing object from a list constructed in __init__.py

2006-07-22 Thread kevin7kal
Ok, thank you for that. I can create the list of objects from the __of__(self) attribute without the wrapper error now, but I still cannot access that attribute through zope. Here is my code again, along with my zope content. ---myClass.py--- import Acquisition class

Re: [Zope] accessing object from a list constructed in __init__.py

2006-07-22 Thread Alexis Roda
En/na kevin7kal ha escrit: Ok, thank you for that. I can create the list of objects from the __of__(self) attribute without the wrapper error now, but I still cannot access that attribute through zope. Your description is vague. A traceback could be useful. Maybe the problem is security

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Stefan H. Holek
zope.pagetemplate.pagetemplatefile.PageTemplateFile reads an eventual meta http-equiv=Content-Type ... header, or defaults to UTF-8. Stefan On 21. Jul 2006, at 16:53, Chris Withers wrote: I wonder how Zope 3's filesystem-based ZPT's deal with this? -- Anything that, in happening, causes

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Stefan H. Holek wrote: On 21. Jul 2006, at 16:53, Chris Withers wrote: I wonder how Zope 3's filesystem-based ZPT's deal with this? zope.pagetemplate.pagetemplatefile.PageTemplateFile reads an eventual meta http-equiv=Content-Type ... header, or defaults to UTF-8. Well, pagetemplate

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Andreas Jung
--On 22. Juli 2006 15:34:01 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Well, pagetemplate files are another thing. They have to deal with the lack of charset information of a filesystem file and what they do once they load the data is even another thing. Even filesystem pagetemplates

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Andreas Jung schrieb: --On 22. Juli 2006 15:34:01 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Well, pagetemplate files are another thing. They have to deal with the lack of charset information of a filesystem file and what they do once they load the data is even another thing. Even

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Andreas Jung
--On 22. Juli 2006 16:17:09 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: huh?..even on the file system a pt file is encoded using some encoding. For an XML pagetemplate file the encoding is clearly defined through the BOM (if available) and/or the XML preamble. So the most reliable solution

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Tino Wildenhain
Andreas Jung wrote: --On 22. Juli 2006 16:17:09 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: huh?..even on the file system a pt file is encoded using some encoding. For an XML pagetemplate file the encoding is clearly defined through the BOM (if available) and/or the XML preamble. So