[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Mmove to ZODB 3.4.1a2. This may repair issue 1822.

2005-06-29 Thread Tim Peters
Log message for revision 30949: Mmove to ZODB 3.4.1a2. This may repair issue 1822. Changed: _U Zope/branches/Zope-2_8-branch/lib/python/ _U Zope/branches/Zope-2_8-branch/utilities/ -=- Property changes on: Zope/branches/Zope-2_8-branch/lib/python

[Zope-dev] Zope 2.8: ZODB fix breaks undoable_transactions

2005-06-29 Thread yuppie
Hi! http://svn.zope.org/?view=revrev=30334 changed the behavior of undoInfo() in a way that is not backwards compatible. See http://www.zope.org/Collectors/Zope/1822 for details. I can see 3 ways to resolve this: 1.) restoring the old behavior of undoInfo() in ZODB 2.) restoring the old

[Zope-dev] 2.8.1 release schedule

2005-06-29 Thread Andreas Jung
Please see: http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/MilestonePlan -aj pgpFGEDVzQK2D.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Zope 2.8: ZODB fix breaks undoable_transactions

2005-06-29 Thread Tim Peters
[yuppie] http://svn.zope.org/?view=revrev=30334 changed the behavior of undoInfo() in a way that is not backwards compatible. That's true, or at least off-by-one different than recent ZODB 3.2s. Rev 30334 fixed two bugs in the implementation, so that the behavior matched what the documentation

[Zope-dev] Re: Zope 2.8: ZODB fix breaks undoable_transactions

2005-06-29 Thread yuppie
Hi! Tim Peters wrote: [yuppie] http://svn.zope.org/?view=revrev=30334 changed the behavior of undoInfo() in a way that is not backwards compatible. That's true, or at least off-by-one different than recent ZODB 3.2s. Rev 30334 fixed two bugs in the implementation, so that the behavior

[Zope-dev] Re: Zope 2.8: ZODB fix breaks undoable_transactions

2005-06-29 Thread Tim Peters
[yuppie] ... Don't know what other people think. I believe restoring the old undoInfo behavior and adjusting the documentation would be the best solution. Fixing this in undoable_transactions would fork the behavior of both methods and fixing all products that depend on the old behavior would

[Zope-dev] Re: Zope 2.8: ZODB fix breaks undoable_transactions

2005-06-29 Thread yuppie
Tim Peters wrote: [yuppie] ... Don't know what other people think. I believe restoring the old undoInfo behavior and adjusting the documentation would be the best solution. Fixing this in undoable_transactions would fork the behavior of both methods and fixing all products that depend on the

[Zope-dev] Re: Zope 2.8: ZODB fix breaks undoable_transactions

2005-06-29 Thread Tim Peters
[yuppie] ... These are the two use cases I'm aware of. Both only use last 0 and both expect slicing behavior for positive values, e.g. these conditions should be True if we don't change undoable_transactions:: db.undoInfo(0, 20) == db.undoInfo(0, 99)[0:20] db.undoInfo(20, 40) ==

Re: [Zope] loading an url from a restricted python script

2005-06-29 Thread Andreas Jung
--On 28. Juni 2005 20:40:56 +0200 santiago [EMAIL PROTECTED] wrote: I don't understand still : what I am looking for is a way to read a url whitout having to write an external method. the point is I belived that reading a url in a web application like zope should not require such powerfull

Re: [Zope] loading an url from a restricted python script

2005-06-29 Thread Andrew Milton
+---[ Andreas Jung ]-- | | | --On 28. Juni 2005 20:40:56 +0200 santiago [EMAIL PROTECTED] wrote: | | I don't understand still : | what I am looking for is a way to read a url whitout having to | write an external method. | the point is I belived that reading a url in a

[Zope] Re: External editor for ZMI

2005-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ken wood wrote: I've been following this discussion with some interest as I have never been able to get ExternalEditor to work for me. Now, that said, I have it confiured enough that it will present me with an editor and a file (WinWord) by

Re: [Zope] Sharing global data between threads / locking a method

2005-06-29 Thread Sascha Welter
(Mon, Jun 27, 2005 at 12:00:08PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: Message: 9 Date: Mon, 27 Jun 2005 15:53:38 +0200 From: Max M [EMAIL PROTECTED] Subject: [Zope] Sharing global data between threads / locking a method To: zope@zope.org Message-ID: [EMAIL PROTECTED]

Re: [Zope] Sequencing pages

2005-06-29 Thread John Poltorak
On Tue, Jun 28, 2005 at 03:45:01PM -0500, J Cameron Cooper wrote: John Poltorak wrote: If I create individual pages for a website as sub folders of a sites main folder, how do I control the sequence of pages if I automatically generate a set of links to all the folders? I presume that

[Zope] Calendar for Zope

2005-06-29 Thread John Poltorak
I quite like Plone's Calendar, but need something similar for Zope. Any recommendations? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Calendar for Zope

2005-06-29 Thread Peter Bengtsson
The CalendarTag is old and DTML but works pretty well. My little CorpCalendar product relys on it. http://www.zope.org/Members/malikz/CorpCalendar On 6/29/05, John Poltorak [EMAIL PROTECTED] wrote: I quite like Plone's Calendar, but need something similar for Zope. Any recommendations?

Re: [Zope] Calendar for Zope

2005-06-29 Thread Lennart Regebro
On 6/29/05, John Poltorak [EMAIL PROTECTED] wrote: I quite like Plone's Calendar, but need something similar for Zope. Any recommendations? For those daring to be on the (b)leeding edge, there is CalZope, which is the non-CMF part of our new calendar project. It's based on Five, so you'll

Re: [Zope] Problem with ZSQLMethods/MySQL after update

2005-06-29 Thread Andy Dustman
Greg's right: ZMySQLDA-2.0.8 definitely won't work properly with MySQL-python-1.2.0. You need ZMySQLDA-2.0.9b3. On 6/29/05, Greg Fischer [EMAIL PROTECTED] wrote: I could be totally wrong, but just a thought You might remove the Zmysqlda 2.0.8 you have and download and install the

Re: [Zope] Calendar for Zope

2005-06-29 Thread John Poltorak
On Wed, Jun 29, 2005 at 01:15:39PM +0200, Lennart Regebro wrote: On 6/29/05, John Poltorak [EMAIL PROTECTED] wrote: I quite like Plone's Calendar, but need something similar for Zope. Any recommendations? For those daring to be on the (b)leeding edge, there is CalZope, which is the

Re: [Zope] 2.5.1 to 2.8.0

2005-06-29 Thread Tim Suter
Just FYI, having another webserver do authentication and making that work nicely with Zope Sucks with a Capital S. Most of the time there is no valid reason to go that route, other than the lame excuse but we only know it this way. I am sure that is why I am told to use Apache instead

Re: [Zope] Sequencing pages

2005-06-29 Thread J Cameron Cooper
John Poltorak wrote: On Tue, Jun 28, 2005 at 03:45:01PM -0500, J Cameron Cooper wrote: John Poltorak wrote: If I create individual pages for a website as sub folders of a sites main folder, how do I control the sequence of pages if I automatically generate a set of links to all the folders?

[Zope] TAL and Javascript

2005-06-29 Thread Rob Boyd
I'm stuck this, and would appreciate help or pointers. I have a form with 2 selection drop-downs. I want the user's choice of select 1 to drive the options displayed in select 2. When the user makes a selection in select 1, onChange calls a Javascript function that should write select 2 options

Re: [Zope] TAL and Javascript

2005-06-29 Thread Peter Bengtsson
What I do when the javascript gets too hairy is to stick it in a DTML Method and then do something like this:: script type=text/javascript tal:content=structure here/the_script_dtml/script or script type=text/javascript tal:content=structure python:here.the_script_dtml(here, request,

Re: [Zope] TAL and Javascript

2005-06-29 Thread Lennart Regebro
On 6/29/05, Rob Boyd [EMAIL PROTECTED] wrote: But: I cannot get the Javascript var into the namespace that the TALES expression knows about. TALES are executed on the server, when the template is rendered. Javascript is executed on the client after the template has rendered, and hence, well

Re: [Zope] TAL and Javascript

2005-06-29 Thread J Cameron Cooper
Rob Boyd wrote: I'm stuck this, and would appreciate help or pointers. I have a form with 2 selection drop-downs. I want the user's choice of select 1 to drive the options displayed in select 2. When the user makes a selection in select 1, onChange calls a Javascript function that should write

Re: [Zope] TAL and Javascript

2005-06-29 Thread David H
Rob, As others have pointed out the approach you indicate will not work. To summarize - Write python script to dynamically create JAVASCRIPT code (you can format javascript arrays of data from your db this way). Then, using TAL load it in, eg head tal:js replace=structure

Re: [Zope] WebDAV

2005-06-29 Thread Dieter Maurer
Luiz Fernando B. Ribeiro wrote at 2005-6-29 01:19 -0300: ... The login dialog is show but even with my manager password it's not able to login. The error message above is repeated after each atempt. This is a more precise problem description :-) I analyse such problems with a TCP logger (my

[Zope] TAL and Javascript

2005-06-29 Thread Rob Boyd
Thanks to all the responders. It gave me some ideas, but alas no luck. To clarify, I am not trying to do everything in one request. Request one generates the page, a user event (selecting an option from a form) fires another request via javascript. like: script tal:content=python:'function

Re: [Zope] TAL and Javascript

2005-06-29 Thread J Cameron Cooper
Rob Boyd wrote: Thanks to all the responders. It gave me some ideas, but alas no luck. To clarify, I am not trying to do everything in one request. Request one generates the page, a user event (selecting an option from a form) fires another request via javascript. I do not see it creating

Re: [Zope] TAL and Javascript

2005-06-29 Thread Jonathan
- Original Message - From: Rob Boyd [EMAIL PROTECTED] Thanks to all the responders. It gave me some ideas, but alas no luck. Even with generating the script with a Python script or DTML, the problem remains (for me at least) to get a value from the DOM passed as an argument to a

Re: [Zope] Calendar for Zope

2005-06-29 Thread Bakhtiar A Hamid
On 6/29/05, John Poltorak [EMAIL PROTECTED] wrote: I quite like Plone's Calendar, but need something similar for Zope. Any recommendations? just like peterb's corpcalendar, SempoiCalendar also depends on CalendarTag. and an rdb it;s old, at v 0.0.0, but works for me. ymmv