Re: [Zope] Second Request:: Where Is This Module???

2006-08-09 Thread Patrick Decat
Check in zope\lib\python\App, it is there : Management.py On 8/9/06, beno [EMAIL PROTECTED] wrote: Hi; I've got an error in my error log, but I can't figure out where App.Management lives: Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply,

Re: [Zope] Nested dtml tags

2006-06-20 Thread Patrick Decat
Hi, no need for nested dtml : select name=MODLEVEL size=1 option value=1dtml-if expr=MODLEVEL == '1' selected/dtml-if1/option option value=2dtml-if expr=MODLEVEL == '2' selected/dtml-if2/option /select On 6/20/06, Jonathan Bowlas [EMAIL PROTECTED] wrote: Hi All, How can I do this with dtml?

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

[Zope-dev] Patch that makes the 'MS-Author-Via' header configurable in zope.conf

2006-03-27 Thread Patrick Decat
Hi all, two weeks ago, I submitted a patch against Zope-2.9.1 that makes the 'MS-Author-Via' header configurable in zope.conf ( http://www.zope.org/Collectors/Zope/1441 ) but I did not hear a single comment about it, so I'm guessing nobody noticed it. As the original collector entry referred to

Re: [Zope] change objects id

2006-03-27 Thread Patrick Decat
container.manage_renameObject(old_id, new_id) On 3/27/06, George [EMAIL PROTECTED] wrote: How can I change an objects id from a python script? Sorry if it's sth obvious, can't figute it out... ___ Zope maillist - Zope@zope.org

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-09 Thread Patrick Decat
Attached is is screenshot of the error message. There is no error in the event log. Steps to reproduce : - Create a Python Script on the file system with Windows style line-endings - Go to http://localhost:8080/manage - Click the drop down list to add a Python Script - Enter test_eol in the id

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-08 Thread Patrick Decat
Hi, On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same one that the 2.8.4 system is running but I changed the

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-07 Thread Patrick Decat
On 3/2/06, Patrick Decat [EMAIL PROTECTED] wrote: PS: Just noticed Tres' comment about comming up with a patch which makes the header addition configurable. I'll try do that on my next Zope upgrade. Regards, Patrick. I just upgraded from Zope 2.9.0 to Zope 2.9.1 and submitted a patch

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-03 Thread Patrick Decat
] Date: Mar 3, 2006 9:10 AM Subject: Re: [Zope] Re: (microsoft) webdav and zope 2.8.4 To: Patrick Decat [EMAIL PROTECTED] On 3/2/06, Patrick Decat [EMAIL PROTECTED] wrote: Then the following to Resource.py : bash-3.00$ diff -c Resource.py Resource.py-patched *** Resource.py Thu Mar 2

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Patrick Decat
On 3/2/06, Einar Næss Jensen [EMAIL PROTECTED] wrote: On 3/2/06, Einar Næss Jensen [EMAIL PROTECTED] wrote: I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: The folder you entered does not seem to be

Re: [Zope] Using ParsedXML from Python script

2006-02-10 Thread Patrick Decat
Hi Brian, unless it is mandatory for you to use ParsedXML for your XML needs, you might want to check out Uche Ogbuji's Amara Toolkit ( http://uche.ogbuji.net/tech/4suite/amara/ ). It provides a much more pythonic way of dealing with XML. Regards, Patrick. On 2/10/06, Brian Sullivan [EMAIL

Re: [Zope] Using ParsedXML from Python script

2006-02-10 Thread Patrick Decat
I use it with Zope and Zope/CMF Content (Documents, Files, ExternalFiles) from a custom filesystem product. Regards, Patrick. On 2/10/06, Brian Sullivan [EMAIL PROTECTED] wrote: On 2/10/06, Patrick Decat [EMAIL PROTECTED] wrote: Hi Brian, unless it is mandatory for you to use ParsedXML

Re: [Zope] No more CR/LF support in PythonScripts with Zope 2.9.0

2006-01-13 Thread Patrick Decat
On 1/13/06, Dieter Maurer [EMAIL PROTECTED] wrote: Patrick DECAT wrote at 2006-1-10 15:41 +0100: I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes

Re: [Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread Patrick Decat
Hi, I have no problems creating external methods in Zope 2.9.0. Can you please confirm that your extensions directory is named Extensions and not Extension? Regards, Patrick. On 1/11/06, Joachim Schmitz [EMAIL PROTECTED] wrote: when I try to create an external method under 2.9.0 this fails

Re: [Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread Patrick Decat
On 1/11/06, joachim [EMAIL PROTECTED] wrote: Yes it is called Extensions, but is in the Product. As I said, the same works with the same Product on the same machine under Zope-2.8.2. Like you, I put my extensions in my product rather than in the global Extensions directory. Can't see what

[Zope] No more CR/LF support in PythonScripts with Zope 2.9.0

2006-01-10 Thread Patrick DECAT
Hi all, I just upgraded my application from Zope 2.8.5 to Zope 2.9.0 and noticed that PythonScript doesn't support CR/LF line endings anymore (a la Windows). Converting my scripts to the Unix format fixes the problem. Is this new behaviour intented ? Regards, Patrick.

Re: [Zope-dev] Zope Windows setup

2005-04-14 Thread Patrick DECAT
Hi, Zope 2.7 uses Innosetup. Check http://cvs.zope.org/Packages/WinBuilders/README.txt?rev=1.9content-type=text/vnd.viewcvs-markup for more information. Regards, Patrick. 2005/4/13, Manuel Markwort [EMAIL PROTECTED]: For my product i want to write my own Installshield setup. To make life

Fwd: [Zope-dev] zope /tmp file usage

2005-03-31 Thread Patrick DECAT
I did not understand why people why replying the same answer as I did: that simple I did not reply to the mailing list ;) -- Forwarded message -- From: Patrick DECAT [EMAIL PROTECTED] Date: Thu, 31 Mar 2005 11:50:56 +0200 Subject: Re: [Zope-dev] zope /tmp file usage To: Pavel

[Zope-dev] zope /tmp file usage

2005-03-31 Thread Patrick DECAT
I did not understand why people was replying the same answer as I did. That's simple: I did not reply to the mailing list ;) -- Forwarded message -- From: Patrick DECAT [EMAIL PROTECTED] Date: Thu, 31 Mar 2005 11:50:56 +0200 Subject: Re: [Zope-dev] zope /tmp file usage To: Pavel

[Zope-dev] Patch: Enable Unicode in ParsedXML

2005-03-24 Thread Patrick DECAT
Hi, this is my first post to this list so I'm not sure this is proper way to submit a patch. If it is not, please direct me to the correct place. This patch enables Unicode characters in qualified names for XML documents stored with the ParsedXML product. Best regards, Patrick. [EMAIL

[Zope-dev] Re: Patch: Enable Unicode in ParsedXML

2005-03-24 Thread Patrick DECAT
Perhaps I should have submitted it to the Zope Issue Collector? On Thu, 24 Mar 2005 12:27:57 +0100, Patrick DECAT [EMAIL PROTECTED] wrote: Hi, this is my first post to this list so I'm not sure this is proper way to submit a patch. If it is not, please direct me to the correct place

Re: [Zope-dev] Patch: Enable Unicode in ParsedXML

2005-03-24 Thread Patrick DECAT
Hi Clemens, On Thu, 24 Mar 2005 12:42:04 +0100, Clemens Robbenhaar [EMAIL PROTECTED] wrote: First, thanks for the patch! You're welcome. Second, ParsedXML is not a core Zope product (normally you should have to install it separately). zope-dev is not exactly the right list to post for