[Zope-Annce] Zwiki 0.43 released

2005-07-01 Thread Simon Michael
A quickie: Changes: Chinese and Spanish translation updates (thank you T.C. Chou and Gaspar Quiles) and a fix for setupDtmlMethods in plone sites. A couple of fixes from Stefan Rank are still pending. I'm in Ireland until the end of july, and on dialup, so you won't see me on #zwiki as much.

[Zope-Checkins] CVS: Packages/BTrees - Interfaces.py:1.18.90.1

2005-07-01 Thread Tim Peters
Update of /cvs-repository/Packages/BTrees In directory cvs.zope.org:/tmp/cvs-serv29503/BTrees Modified Files: Tag: Zope-2_7-branch Interfaces.py Log Message: Collector 1829. Clarified that the ``minKey()`` and ``maxKey()`` methods raise an exception if no key exists satsifying the

[Zope-Checkins] CVS: Packages/ZEO - __init__.py:1.19.4.26 version.txt:1.9.4.25

2005-07-01 Thread Tim Peters
Update of /cvs-repository/Packages/ZEO In directory cvs.zope.org:/tmp/cvs-serv30311/ZEO Modified Files: Tag: Zope-2_7-branch __init__.py version.txt Log Message: An internal 3.2.9b2 release. === Packages/ZEO/__init__.py 1.19.4.25 = 1.19.4.26 === ---

[Zope-Coders] Zope 2.7.7b1 this weekend

2005-07-01 Thread Andreas Jung
Hi, please keep in mind that I want to release 2.7.7b1 on Sunday. Please commit pending fixes *before* Sunday. -aj pgpRRCkiCtCW5.pgp Description: PGP signature ___ Zope-Coders mailing list Zope-Coders@zope.org

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Jens Vagelpohl
On 1 Jul 2005, at 04:58, Fred Drake wrote: Since using an additional configuration file is possible (and quite easy in Zope 2, since the location of the instance is so easy to discern, I'm not convinced it's actually important to support embedding the configuration for 3rd-party components into

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Chris McDonough
FWIW, I don't know if it helps at all, but there's a concrete example of allowing a 3rd-party product to add a section to zope.conf via %import in the ClockServer product at http://www.plope.com/software/ClockServer/ . It sounds from your description exactly like what you want to do, although it

[Zope-dev] 2.9 goals

2005-07-01 Thread Chris McDonough
I'd like to propose/sponsor/promise-to-finish the following for inclusion in 2.9. If anyone has fears/doubts/problems with specific things, please let me know. I can also start a 2.9 project on the wiki with this info; if other folks have features they want, maybe they can post them here and we

Re: [Zope-dev] Re: [Z3lab] Nuxeo supports Zope Corp announces

2005-07-01 Thread Chris McDonough
Note that this article is now available without a subscription at http://lwn.net/Articles/139770/ On Fri, 2005-06-17 at 23:08 -0400, Chris McDonough wrote: On Fri, 2005-06-17 at 23:05 +0200, Philipp von Weitershausen wrote: From what I read from Rob in an interview in LWN, membership to the

Re: [Zope-dev] Re: [Z3lab] Nuxeo supports Zope Corp announces

2005-07-01 Thread Chris McDonough
Oops, wrong URL! This is the right one: http://lwn.net/Articles/139955/ On Fri, 2005-06-17 at 23:08 -0400, Chris McDonough wrote: On Fri, 2005-06-17 at 23:05 +0200, Philipp von Weitershausen wrote: From what I read from Rob in an interview in LWN, membership to the foundation will be

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Fred Drake
On 7/1/05, Chris McDonough [EMAIL PROTECTED] wrote: FWIW, I don't know if it helps at all, but there's a concrete example of allowing a 3rd-party product to add a section to zope.conf via %import in the ClockServer product at http://www.plope.com/software/ClockServer/ . It sounds from your

RE: [Zope-dev] Problems with Zope 2.8 on FreeBSD (was Re: Problems with PageTemplates on Zope 2.8)

2005-07-01 Thread Andrew Sawyers
Did you bump up the thread stack size for the python you're running Zope with? This sounds like that problem. If you search zope.org for FreeBSD - I have a note on how I fix it. Andrew -- Zope Managed Hosting Software Engineer Zope Corporation (540) 361-1700 -Original Message-

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Chris McDonough
On Fri, 2005-07-01 at 10:54 -0300, Sidnei da Silva wrote: | The general case of being able to add a section (or anything else) | isn't covered by the current implementation. That is right. I've just learnt that the hard way *wink*. Oh. ;-) - C

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Sidnei da Silva
On Fri, Jul 01, 2005 at 08:27:02AM -0400, Fred Drake wrote: | On 7/1/05, Chris McDonough [EMAIL PROTECTED] wrote: | FWIW, I don't know if it helps at all, but there's a concrete example of | allowing a 3rd-party product to add a section to zope.conf via %import | in the ClockServer product at |

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Sidnei da Silva
On Thu, Jun 30, 2005 at 11:58:08PM -0400, Fred Drake wrote: | On 6/30/05, Sidnei da Silva [EMAIL PROTECTED] wrote: | Gosh, that looks too nice to be true. I will try that out tomorrow and | write out a how-to on zope.org if it works out. | | It is too good to be true; sorry. | | Well, it is

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-01 Thread Fred Drake
On 7/1/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: That just has the disadvantage that you're increasing the number of configuration files to maintain in an instance. If it's imported and used in zope.conf at leaast there's just one file to deal with... This is true. Is that really important,

Re: [Zope-dev] 2.9 goals

2005-07-01 Thread Florent Guillaume
Chris McDonough [EMAIL PROTECTED] wrote: I'd like to propose/sponsor/promise-to-finish the following for inclusion in 2.9. If anyone has fears/doubts/problems with specific things, please let me know. I can also start a 2.9 project on the wiki with this info; if other folks have features

Re: [Zope-dev] 2.9 goals

2005-07-01 Thread Florent Guillaume
Chris McDonough [EMAIL PROTECTED] wrote: I'd like to propose/sponsor/promise-to-finish the following for inclusion in 2.9. Here's something else that would be nice: PAS. Although it hasn't been tested much, so we should include it as early as possible in the 2.9 cycle (i.e., why not now ? :)

Re: [Zope-dev] Problems with Zope 2.8 on FreeBSD (was Re: Problems with PageTemplates on Zope 2.8)

2005-07-01 Thread Morten W. Petersen
I've heard of this earlier, but never experienced it until now. :) And yes, that was the issue! :) Thanks, Morten Andrew Sawyers wrote: Did you bump up the thread stack size for the python you're running Zope with? This sounds like that problem. If you search zope.org for FreeBSD - I

Re: [Zope-dev] 2.9 goals

2005-07-01 Thread Jens Vagelpohl
On 1 Jul 2005, at 17:15, Florent Guillaume wrote: Here's something else that would be nice: PAS. Although it hasn't been tested much, so we should include it as early as possible in the 2.9 cycle (i.e., why not now ? :) Maybe not right at this moment... but I would like to see that, too.

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

2005-07-01 Thread Ragnar Beer
Thanks a lot for your help, Dieter, Greg, and Andy! Dieter, you were absolutely right about the broken instances. All I had to do was delete ZSQLMethods from my Products folder and restart Zope. Everything was all right after that. Andy and Greg, so far I did not have any problems using

[Zope] Re: TAL and Javascript

2005-07-01 Thread Rushabh Mehta
Rob, I was recently working on a similar problem. You will need to use the xmlhttprequest function in _javascript_ do all the work. And its quite easy once you get the hang of it. Heres a good tutorial to get started: http://developer.apple.com/internet/webcontent/xmlhttpreq.html For your

[Zope] python question

2005-07-01 Thread Jürgen Herrmann
hi all! i think there should be no functional difference in the two code snippets below, but is there any difference in performance? (i know, the except AttributeError could possibly mask an AttributeError in the called function...) 1.: hook = getattr(o, '_before_transaction_commit', None) if

Re: [Zope] python question

2005-07-01 Thread Andreas Jung
--On 1. Juli 2005 17:10:58 +0200 Jürgen Herrmann [EMAIL PROTECTED] wrote: hi all! i think there should be no functional difference in the two code snippets below, but is there any difference in performance? You could benchmark it :-) -aj pgphfg7D56dFp.pgp Description: PGP signature

Re: [Zope] python question

2005-07-01 Thread Fred Drake
On 7/1/05, Jürgen Herrmann [EMAIL PROTECTED] wrote: i think there should be no functional difference in the two code snippets below, but is there any difference in performance? Don't know, and don't care; these are (at the Python level) functionally different. (i know, the except

Re: [Zope] strcoll_nocase gone after moving site?

2005-07-01 Thread Dieter Maurer
Daniel Dekany wrote at 2005-6-30 22:28 +0200: I have to move a Plone site to another server (from some FreeBSD to a new Trustix), while also switching from Zope 2.7.x5 to 2.7.6, and from Python 2.3.x5 to Python 2.3.5. Define locale in your Zope configuration file. Then locale should be imported

Re: [Zope] Import problem

2005-07-01 Thread Dieter Maurer
George Tesseris wrote at 2005-6-30 23:37 +0300: When I try to import a specific .zexp the following error is raised: *Error Type: AttributeError* *Error Value: ('__new__', function __newobj__ at 0x00B8B0F0, (extension class Shared.DC.ZRDB.DA.SQL at 01AE2728,)) *Help please... It's crucial...

Re: [Zope] Starting a search from the correct folder

2005-07-01 Thread Dieter Maurer
John Poltorak wrote at 2005-6-30 22:27 +0100: ... If I want to generate a list of folders in say the 'groups' folder, how would I change the code above? You are aware that you will not get a list (but a tree) when you look down from some starting point? When you are ready to look up (in the

Re: [Zope] Starting a search from the correct folder

2005-07-01 Thread Nikko Wolf
Dieter Maurer wrote: You are aware that you will not get a list (but a tree) when you look down from some starting point? I suspect he meant a list in the HTML - he is using ul and li tags there. But Dieter, can you elaborate on what you mean? Isn't the result from objectValues() a

Re: [Zope] Starting a search from the correct folder

2005-07-01 Thread Nikko Wolf
Andreas Jung wrote: --On 30. Juni 2005 22:27:37 +0100 John Poltorak [EMAIL PROTECTED] wrote: I have some code which here:- ul tal:condition=python: context.objectValues(['Folder']) li tal:repeat=item python: context.objectValues(['Folder']) a href=ABSOLUTE_URL

[Zope] Re: [ZPT] Recursive structures

2005-07-01 Thread Nikko Wolf
Ian Bicking wrote: I'm surprised this has never come up for me before, but now I want to render a recursive data structure and I'm at a loss how I might do that in ZPT. Or, what the best workaround would be. E.g.: ['a', 'b', ['c', ['d', 'e']]] Becomes: ul lia/li lib/li ul lic/li

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-07-01 Thread Jim Vine
Hello again, So, following the recommendations from the board I have settled on route 3 - developing a Python Product, using Zope 3. I've been refering a lot to the Zope 3 Book (particularly chapter 13 onwards) and have progressed somewhat. I've created a PropertyFolder class, which can hold

[Zope] Re: [ZPT] Recursive structures

2005-07-01 Thread Tonico Strasser
Nikko Wolf schrieb: Ian Bicking wrote: I'm surprised this has never come up for me before, but now I want to render a recursive data structure and I'm at a loss how I might do that in ZPT. Or, what the best workaround would be. E.g.: ['a', 'b', ['c', ['d', 'e']]] Becomes: ul lia/li

Re: [Zope] Re: [ZPT] Recursive structures

2005-07-01 Thread J Cameron Cooper
Nikko Wolf wrote: Ian Bicking wrote: I'm surprised this has never come up for me before, but now I want to render a recursive data structure and I'm at a loss how I might do that in ZPT. Or, what the best workaround would be. E.g.: ['a', 'b', ['c', ['d', 'e']]] Becomes: ul lia/li

Re: [Zope-DB] Using psycopg directly in Zope Python script

2005-07-01 Thread Andreas Jung
--On 1. Juli 2005 23:28:51 +0200 Jørgen Frøjk Kjærsgaard [EMAIL PROTECTED] wrote: Does Zope somehow create a restricted environment where opening a database connection is impossible? Is there a way to bypass that restriction? That's a misuse of PythonScripts. They are not designed to