Re: [Zope] Document parameters as part of a URL

2006-06-08 Thread Chris Withers
Peter Bengtsson wrote: Well, you could maybe create a new type of DTML Method called Clear DTML Method which would in principle look something like this: from zope.somewhere import DTMLMethod class ClearDTMLMethod(DTMLMethod): meta_type = Clear + DTMLMethod.meta_type def

[Zope] Modification time problem

2006-06-08 Thread Vitaly Lobachevsky
Hi, all. I'm working in ZMI. When a object created/changed the value in Last Modified column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Zope Version: (Zope 2.7.8-final, python 2.3.5, linux2) Python Version: 2.3.5 (#1, Jul 6

Re: [Zope] Modification time problem

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 11:51:48 +0300 Vitaly Lobachevsky [EMAIL PROTECTED] wrote: Hi, all. I'm working in ZMI. When a object created/changed the value in Last Modified column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Possibly

[Zope] Export format documentation

2006-06-08 Thread Sébastien VINOT
Hello, I have an export file of objects (that come from a Plone 2.0.5 instance). Unfortunately, the products are not compatible with a newer Plone version. I'm building a new version of this product (but it will be quite different from the initial one). I'm wondering if it is possible to load

Re: [Zope] Export format documentation

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 14:28:31 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the

[Zope] Re: Export format documentation

2006-06-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sébastien VINOT wrote: Hello, I have an export file of objects (that come from a Plone 2.0.5 instance). Unfortunately, the products are not compatible with a newer Plone version. I'm building a new version of this product (but it will be quite

RE : [Zope] Export format documentation

2006-06-08 Thread Sébastien VINOT
-Message d'origine- De : Andreas Jung [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 14:38 À : Sébastien VINOT; zope@zope.org Objet : Re: [Zope] Export format documentation --On 8. Juni 2006 14:28:31 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm

Re: RE : [Zope] Export format documentation

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 14:44:39 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the

RE : RE : [Zope] Export format documentation

2006-06-08 Thread Sébastien VINOT
-Message d'origine- De : Andreas Jung [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 14:48 À : Sébastien VINOT; zope@zope.org Objet : Re: RE : [Zope] Export format documentation --On 8. Juni 2006 14:44:39 +0200 Sébastien VINOT [EMAIL PROTECTED] wrote: I'm

Re: [Zope] Modification time problem

2006-06-08 Thread Vitaly Lobachevsky
Probably the problem is in my Data.fs. I can't pack it. I've got the error: Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack I've tried $ZOPE_HOME/lib/python/ZODB/fsrecover.py but without success.

Re: [Zope] Modification time problem

2006-06-08 Thread Paul Winkler
On Thu, Jun 08, 2006 at 04:08:34PM +0300, Vitaly Lobachevsky wrote: Probably the problem is in my Data.fs. I can't pack it. I've got the error: Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack

[Zope] installing zope2.9.3 attempt

2006-06-08 Thread Thomas Bennett
I'll have to say, this is the first Zope that I've had a problem with the install since 1998.  The last successful version I installed was 2.92. RedHat Linux 7.3 Python 2.4.3 I've looked at the Troubleshooting info in the INSTALL.txt file and my Makefile for Python 2.4.3 shows CC=            

Re: RE : RE : [Zope] Export format documentation

2006-06-08 Thread Paul Winkler
On Thu, Jun 08, 2006 at 02:54:10PM +0200, S?bastien VINOT wrote: De : Andreas Jung [mailto:[EMAIL PROTECTED] Possibly my reply wasn't clear enough. The pickle format (binary or XML) appears too low-level in order to write a reasonable migration script. The recommended solution would

Re: [Zope] installing zope2.9.3 attempt

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 09:38:40 -0400 Thomas Bennett [EMAIL PROTECTED] wrote: Using Python interpreter at /usr/local/bin/python2.4 [z293]# make /usr/local/bin/python2.4 install.py -q build Traceback (most recent call last):   File install.py, line 28, in ?     context.initialize()   File

Re: [Zope] REQUEST within a property() getter/setter

2006-06-08 Thread Dieter Maurer
Doyon, Jean-Francois wrote at 2006-6-7 17:13 -0400: When executing code within a property getter/setter, I can't seem to get to the REQUEST object. self.REQUEST always seems to return Special Object Used to Force Acquisition ... Anyway around this? No. Python's low level attribute access

[Zope] dtml forwarding request

2006-06-08 Thread Alric Aneron
Hello,Is there a way in Zope to forward a request from one page to another. When I say "forward" a request, I want to retain all the GET and POST request parameters. So similar to dtml-call expr="RESPONSE.redirect('...')" but response.redirect loses all the request parameters.I've been looking

Re: [Zope] dtml forwarding request

2006-06-08 Thread Jonathan
if you want to go straight from one dtml routine to another just use dtml-var (ie. have dtml method A call dtml method B) - then in dtml method A have: dtml-var methodB This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some

Re: [Zope] dtml forwarding request

2006-06-08 Thread Alric Aneron
The dtml_method where I want to forward to is on another server, so your may would be a little hard to do. Sorry, I didn't make myself clear the first time.Thanks, any suggestions?Jonathan [EMAIL PROTECTED] wrote: if you want to go straight from one dtml routine to another just use dtml-var

Re: [Zope] dtml forwarding request

2006-06-08 Thread Dennis Allison
You can do a redirect and construct the cgi space from REQUEST. On Thu, 8 Jun 2006, Alric Aneron wrote: The dtml_method where I want to forward to is on another server, so your may would be a little hard to do. Sorry, I didn't make myself clear the first time. Thanks, any

[Zope] zwiki connection error

2006-06-08 Thread Josh Stephenson
Hey all, Recently, ZWiki stopped working on my zope 2.9.2 intel mac os x 10.4 box (python 2.4.2). It was working fine until sometime yesterday, when I could no longer access my wiki using the address http://my ip:8080/mywiki This is strange because zope is running, I can get into the zmi,

RE: [Zope] REQUEST within a property() getter/setter

2006-06-08 Thread Doyon, Jean-Francois
I was afraid of this ... :( Back to using get_request() then! J.F. -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: June 8, 2006 12:50 PM To: Doyon, Jean-Francois Cc: 'zope@zope.org' Subject: Re: [Zope] REQUEST within a property() getter/setter Doyon,

Re: [Zope] dtml forwarding request

2006-06-08 Thread Jonathan
If you are using a zeo serverand both server are zeo clients you could store the info on the zeo server, then do a redirect from serverA/methodA to serverB/methodB. If the servers do not have access to the same zeo server, then you are going to have to 'package-up' all the variables you

Re: [Zope] dtml forwarding request

2006-06-08 Thread Alric Aneron
So there is no way to do it through python and DTML?I know Java has something like that.Jonathan [EMAIL PROTECTED] wrote: If you are using a zeo serverand both server are zeo clients you could store the info on the zeo server, then do a redirect from serverA/methodA to serverB/methodB. If

Re: [Zope] dtml forwarding request

2006-06-08 Thread Tino Wildenhain
Alric Aneron wrote: So there is no way to do it through python and DTML? I know Java has something like that. *lol* Well you should be sure you know what you do anyways. Forwarding requests means you trust the users browser to do the right thing. Maybe you can instead make a subrequest by

Re: [Zope] dtml forwarding request

2006-06-08 Thread Paul Winkler
On Thu, Jun 08, 2006 at 11:39:19PM +0200, Tino Wildenhain wrote: Alric Aneron wrote: So there is no way to do it through python and DTML? I know Java has something like that. ZEO is the canonical way to distribute zope stuff. Well you should be sure you know what you do anyways.

[Zope] prefix attribute in dtml-in

2006-06-08 Thread Sam Boggess
Using Zope 2.8, I have two nested dtml-in tags that each loop through the results of different SQL methods. I'm trying to use the prefix attribute to differentiate the two, but I can't get it to work. Does anyone have any thoughts? dtml-in expr=getConsulting() prefix=topic fieldset

[Zope-Annce] Fredericksburg, VA ZPUG June 14: meld3 templating and memcached sessions

2006-06-08 Thread Gary Poster
Please join us Wed., June 14, 7:30-9:00 PM, for another meeting of the Fredericksburg, VA Zope and Python User Group (ZPUG). We will have two full presentations, and some good snacks. If you plan to attend, an email 24 hours in advance would be appreciated (but last minute attendees are

[Zope-Annce] Zope Foundation Membership and Board

2006-06-08 Thread Jim Fulton
The Zope Foundation was legally formed in March 2006. We are in the process of building membership and electing the first board of directors. The purpose of the Zope Foundation is to advance the creation, evolution, promotion, adoption and support of the Zope Platform and to cultivate both an

[Zope-Checkins] SVN: Products.Five/trunk/site/metaconfigure.py zLOG - logging

2006-06-08 Thread Andreas Jung
Log message for revision 68527: zLOG - logging Changed: U Products.Five/trunk/site/metaconfigure.py -=- Modified: Products.Five/trunk/site/metaconfigure.py === --- Products.Five/trunk/site/metaconfigure.py 2006-06-08

[Zope-Checkins] SVN: Zope/trunk/ removed deprecated zLOG module

2006-06-08 Thread Andreas Jung
Log message for revision 68528: removed deprecated zLOG module Changed: U Zope/trunk/doc/CHANGES.txt D Zope/trunk/lib/python/zLOG/ -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2006-06-08

[Zope-dev] Non-Latin-1 properties

2006-06-08 Thread Yves Bastide
Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. * properties are stored using the default-zpublisher-encoding (iso-8859-15); * manage_propertiesForm is input--output'ed using management_page_charset (UTF-8) ... * ... but built using join_unicode, which

Re: [Zope-dev] Non-Latin-1 properties

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany

Re: [Zope-dev] Non-Latin-1 properties

2006-06-08 Thread Tino Wildenhain
Andreas Jung schrieb: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? they (sorry ;) suck :-) And they arent available in

[Zope-dev] Re: Non-Latin-1 properties

2006-06-08 Thread Yves Bastide
Andreas Jung wrote: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? Er. Yep, of course you're right. Except that lots of

Re: [Zope-dev] Non-Latin-1 properties

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 15:40:59 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Andreas Jung schrieb: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext

[Zope-dev] Re: Non-Latin-1 properties

2006-06-08 Thread Yves Bastide
Yves Bastide wrote: Andreas Jung wrote: --On 8. Juni 2006 15:31:09 +0200 Yves Bastide [EMAIL PROTECTED] wrote: Hi! Sorry to beat a dead horse: the ZMI doesn't allow using non-Latin-1 properties. huh? How about using the utext and ustring properties? Er. Yep, of course you're right.

Re: [Zope-DB] Multiple databases connection

2006-06-08 Thread Federico Di Gregorio
On mer, 2006-06-07 at 18:49 -0700, Infor Gates wrote: Is there anyway where we can have a dynamically database connection to each branch database with only one zope application (instead of multiples of the same application). We are using Zope 2.8.6, Postgresql 8.0.4 with Psycopg-1.1.21

[Fwd: Re: [Zope-DB] Multiple databases connection]

2006-06-08 Thread m.banaouas
May be dynamically database connection means that we use the same Z SQL Method with different database connections (in the same Zope Instance, of course). So we can change dynamically from one database to another (schema-equal). In other words, is it possible to define database connection