[Zope] ERROR BeforeTraverse Error while invoking hook

2005-12-19 Thread Maciej Wisniowski
Hi! After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error is as follows: 2005-12-19T07:53:59 ERROR BeforeTraverse Error while invoking hook: input Traceback (most recent call last): File

[Zope] Re: Can't pickle objects in acquisition wrappers

2005-12-19 Thread Florent Guillaume
Keith Alperin wrote: I'm returning to Zope after about a year away and am working on a project that i have pieced together over about 4 years. I recently deployed this project (a family history web site) under a zope 2.7.x install (it used to run on a 2.4.x install) and now I can't seem to

[Zope] zope 3 on debian sarge

2005-12-19 Thread adeline nombre
can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I tried but I found many thing during the "make" step: directories to rename cause of the casse: ZODB... My coffee is over now because of this. Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs

Re: [Zope] batching help

2005-12-19 Thread Nicolas Georgakopoulos
Thanks a lot , I did it with my 'ugly' way but that was exactly what I was looking for. cheers.. Martijn Pieters wrote: On 12/15/05, Nicolas Georgakopoulos [EMAIL PROTECTED] wrote: Hello all , I'm trying to display on the same page a table with (3 columns) with content from a list . I'm

Re: [Zope] zope 3 on debian sarge

2005-12-19 Thread Andreas Pakulat
On 19.12.05 13:37:53, adeline nombre wrote: can somebody tell me if he has ever run zope 3.0.1 on a debian Sarge. I tried but I found many thing during the make step: directories to rename cause of the casse: ZODB... My coffee is over now because of this. ?? Are you using Zope on a FS

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Marinussen, M.J. (Ria)
Hi Jens, I need the full error traceback to help. The full traceback on: Zope 2.7.2-0, python 2.3.5, win32 LDAPUserFolder 2.6 OpenLDAP 2.3.11 When I type the correct LDAP password I get this error and traceback (otherwise I get an Unauthorized error). = Time 2005/12/19

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 13:59, Marinussen, M.J. (Ria) wrote: Hi Jens, I need the full error traceback to help. The full traceback on: Zope 2.7.2-0, python 2.3.5, win32 LDAPUserFolder 2.6 OpenLDAP 2.3.11 When I type the correct LDAP password I get this error and traceback (otherwise I get an

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Einar Næss Jensen
On 12/12/05, Marinussen, M.J. (Ria) [EMAIL PROTECTED] wrote: I've checked out LDAPUserFolder but that's not what I'm looking for (Ithink...).Yes it is. It works very well with ldap/ADThe size/len error you get is probably becaouse you have given wrong settings (wrong id to check against?), but

[Zope] ZSQL with different user

2005-12-19 Thread Pier Luigi Fiorini
Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in. Multiple people can be logged at the same time. Unfortunately it is not possible

Re: [Zope] zope and LDAP for authorisation

2005-12-19 Thread Einar Næss Jensen
Oh on the tab LDAP Schema , you might try to add the chema-item: sAMAccountName and use that for your loginID, on the main tab of LDAPUserFolder -- Einar Næss Jensen http://einar.nidelven-it.no/einarblog http://www.homemade.no tlf: +47 90990249 ___

Re: [Zope] ZSQL with different user

2005-12-19 Thread Tino Wildenhain
Pier Luigi Fiorini schrieb: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in. Multiple people can be logged at the same time.

Re: [Zope] ZSQL with different user

2005-12-19 Thread Reinoud van Leeuwen
On Mon, Dec 19, 2005 at 03:39:51PM +0100, Tino Wildenhain wrote: Pier Luigi Fiorini schrieb: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's

Re: [Zope] ZSQL with different user

2005-12-19 Thread Andreas Jung
--On 19. Dezember 2005 15:32:46 +0100 Pier Luigi Fiorini [EMAIL PROTECTED] wrote: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the user that's logged in.

Re: [Zope] ERROR BeforeTraverse Error while invoking hook

2005-12-19 Thread Chris McDonough
You might have a access rule in there that expects to be able to call something that's missing? On Dec 19, 2005, at 4:29 AM, Maciej Wisniowski wrote: Hi! After upgrading our Zope instances from Zope 2.7.2 to 2.8.4 we've noticed new kind of errors in event.log on one of our servers. Error

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 16:33, michael nt milne wrote: Does RewriteEngine work on Apache for Windows 2.0.5 ? I'm getting the following.. Syntax error on line 960 of C:/Program Files/Apache Group/Apache2/ conf/httpd.con f: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread Andreas Jung
Likely the rewrite module isn't loaded (check the corresponding LoadModule statements of your configuration). -aj --On 19. Dezember 2005 16:33:59 + michael nt milne [EMAIL PROTECTED] wrote: Does RewriteEngine work on Apache for Windows 2.0.5 ? I'm getting the following.. Syntax

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Vlada Macek
Andreas Jung wrote: --On 19. Dezember 2005 15:32:46 +0100 Pier Luigi Fiorini [EMAIL PROTECTED] wrote: Hello, I'm developing a Zope application that uses a PostgreSQL connection and several ZSQL objects. People should log in using a Postgres user and ZSQL object should be executed by the

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
ok, i simply downloaded the Apache 2.0.55 release for Windoes from Apache. Thre RewriteEngine is set to on in the httpd.conf. God knows why the module wouldn't be available in the distribution. Do you know any documentation on how to install on module at all? The unix version comes with it by

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Vlada Macek
[At 19.12.2005 18:02, Andreas Jung kindly sent the following quotation.] --On 19. Dezember 2005 17:54:31 +0100 Vlada Macek [EMAIL PROTECTED] wrote: Is there a problem somewhere? The problem is likely that someone needs to write the code :-) Indeed, we have already voted for this. :-) I'm

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Andreas Jung
--On 19. Dezember 2005 18:06:49 +0100 Vlada Macek [EMAIL PROTECTED] wrote: Indeed, we have already voted for this. :-) I'm too unexperienced in Zope coding. Just wanted to know whether my idea is sane. Better collect some money to get this feature implemented *wink* -aj

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
HiOk so I looked at this stuff but can't find anything listed for point 3. Also I had to set Plone to listen on 8080 within its config file and now get Apache for my Plone domains. However they won't re-direct to the right site within the Plone installation. I've achieved this on Unix with the

Re: [Zope] ZSQL with different user

2005-12-19 Thread Tino Wildenhain
Am Montag, den 19.12.2005, 15:43 +0100 schrieb Reinoud van Leeuwen: The postgresql commandline tool psql has a command /user to change the details of the current connection. Wouldn't it be easier to use a command like that at the beginning of each database request? Well this \connect

[Zope] Zope, Apache, REMOTE_USER

2005-12-19 Thread Robert Boyd
I'm using Apache 2.0, and I cannot find a solution to passing the value of REMOTE_USER from Apache to Zope when using a rewrite rule. I have Apache rewriting requests for Zope, and hooked into Tomcat with mod_jk. My users login through a servlet, and Apache has REMOTE_USER available to it. But any

Re: [Zope] Can't pickle objects in acquisition wrappers

2005-12-19 Thread Gabriel Genellina
At Monday 19/12/2005 15:07, Keith Alperin wrote: This is almost definitely my problem as my products keep direct references to other persistent objects all of the time. Out of curiosity, has this always been a poor practice or is it something that changed recently? Not sure when started to

[Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread Dennis Allison
Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in accessing the session

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Dennis Allison wrote: Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread Dennis Allison
The interaction between sessions, conflicts, and persistence is a bit confusing. I am still trying to understand the code in depth. One thing is for sure, request.SESSION and/or request['SESSION'] must be persistent for things to work. Mutable objects in the session variable set

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Dennis Allison wrote: The interaction between sessions, conflicts, and persistence is a bit confusing. I am still trying to understand the code in depth. One thing is for sure, request.SESSION and/or request['SESSION'] must be persistent for things to work. Mutable objects in the

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/skel/etc/zope.conf.in typos

2005-12-19 Thread Andreas Jung
Log message for revision 40885: typos Changed: U Zope/branches/Zope-2_8-branch/skel/etc/zope.conf.in -=- Modified: Zope/branches/Zope-2_8-branch/skel/etc/zope.conf.in === ---

[Zope-Checkins] SVN: Zope/trunk/ - For content-type HTTP headers starting with 'text/' or 'application/'

2005-12-19 Thread Andreas Jung
Log message for revision 40890: - For content-type HTTP headers starting with 'text/' or 'application/' the 'charset' field is automatically if not specified by the application. The 'charset' is determined by the content-type header specified by the application (if available)

[Zope-Checkins] SVN: Zope/branches/2.9/ For content-type HTTP headers starting with 'text/' or 'application/'

2005-12-19 Thread Andreas Jung
Log message for revision 40891: For content-type HTTP headers starting with 'text/' or 'application/' the 'charset' field is automatically if not specified by the application. The 'charset' is determined by the content-type header specified by the application (if available) or from the

[Zope-Checkins] SVN: Zope/trunk/doc/INSTALL.txt #1967: clearification for make instance

2005-12-19 Thread Andreas Jung
Log message for revision 40892: #1967: clearification for make instance Changed: U Zope/trunk/doc/INSTALL.txt -=- Modified: Zope/trunk/doc/INSTALL.txt === --- Zope/trunk/doc/INSTALL.txt 2005-12-20 06:18:01 UTC (rev 40891)

[Zope-Checkins] SVN: Zope/branches/2.9/doc/INSTALL.txt #1967: clearified make instance

2005-12-19 Thread Andreas Jung
Log message for revision 40893: #1967: clearified make instance Changed: U Zope/branches/2.9/doc/INSTALL.txt -=- Modified: Zope/branches/2.9/doc/INSTALL.txt === --- Zope/branches/2.9/doc/INSTALL.txt 2005-12-20 06:30:00

Re: [Zope-dev] optimised python

2005-12-19 Thread Jim Fulton
Jens Vagelpohl wrote: On 18 Dec 2005, at 06:46, Alan Milligan wrote: I'm reconsidering the way we RPM package byte-code compiled python, and although I suspect optimised python is a bit of an anacronysm, I thought I'd check with the list ;) If one was to start Zope with python -O, then it

[Zope-dev] Zope tests:

2005-12-19 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sun Dec 18 12:01:01 2005 UTC to Mon Dec 19 12:01:01 2005 UTC. There were no messages. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or

Re: [Zope-dev] optimised python

2005-12-19 Thread Sidnei da Silva
On Mon, Dec 19, 2005 at 06:50:19AM -0500, Jim Fulton wrote: | There is a drawback: Debugging becomes a lot harder and sometimes | impossible because you get no or faulty line number information in | tracebacks and when using pdb. | | That isn't true. Line numbers are included and valid. | |

Re: [Zope-dev] optimised python

2005-12-19 Thread Jim Fulton
Sidnei da Silva wrote: On Mon, Dec 19, 2005 at 06:50:19AM -0500, Jim Fulton wrote: | There is a drawback: Debugging becomes a lot harder and sometimes | impossible because you get no or faulty line number information in | tracebacks and when using pdb. | | That isn't true. Line numbers are

Re: [Zope-dev] optimised python

2005-12-19 Thread Sidnei da Silva
On Mon, Dec 19, 2005 at 07:12:44AM -0500, Jim Fulton wrote: | Sidnei da Silva wrote: | On Mon, Dec 19, 2005 at 06:50:19AM -0500, Jim Fulton wrote: | | There is a drawback: Debugging becomes a lot harder and sometimes | | impossible because you get no or faulty line number information in | |

[Zope-dev] svn.zope.org borked

2005-12-19 Thread Andreas Jung
I get always connection closed unexpectedly when using svn update. Andreas pgpFnXKQRqPEQ.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

Re: [Zope-dev] optimised python

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 12:00, Sidnei da Silva wrote: On Mon, Dec 19, 2005 at 06:50:19AM -0500, Jim Fulton wrote: | There is a drawback: Debugging becomes a lot harder and sometimes | impossible because you get no or faulty line number information in | tracebacks and when using pdb. | | That isn't

[Zope-dev] [ZPublisher] specifiying 'charset' for the content-type header

2005-12-19 Thread Andreas Jung
The following usecase is not handled correctly by Zope: When you call a PythonScript returning a Python unicode string then the ZPublisher/HTTPResponse code will convert the unicode response string using HTTPResponse.default_encoding to a Python string. The default encoding is configurable

[Zope-dev] ZPublisher, ZPT and XHTML

2005-12-19 Thread Andreas Jung
Another usecase where Zope does not play nicely: You can create a ZPT with XHTML content where the content is encoded as UTF-8 (which the corresponding encoding declaration within the XML preamble). When you redefine the zpublisher_default_encoding Zope might convert the UTF8 body of the ZPT to

[Zope-dev] Unit Test Failures

2005-12-19 Thread Benji York
The Zope2 unit tests have been failing for some time on buildbot.zope.com. Looks like a Five-related problem: http://buildbot.zope.org/Zope%20trunk%202.4%20Linux%20zc-buildbot/builds/109/test/0 -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] svn.zope.org borked

2005-12-19 Thread Jim Fulton
Jens Vagelpohl wrote: On 19 Dec 2005, at 12:23, Andreas Jung wrote: I get always connection closed unexpectedly when using svn update. Andreas That %$£@ BerkeleyDB backend was geborken again. svnadmin recover fixed it. Thanks! Jim -- Jim Fulton mailto:[EMAIL PROTECTED]

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benji York wrote: The Zope2 unit tests have been failing for some time on buildbot.zope.com. Looks like a Five-related problem: http://buildbot.zope.org/Zope%20trunk%202.4%20Linux%20zc-buildbot/builds/109/test/0 The failing test is a functional

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Jim Fulton
Tres Seaver wrote: I see a couple of problem points: the biggest is the use in the output of 'checkSiteManager.html' of a repr'ed dict, which might render differently between different machines (or even the same machine across Python versions). This is a classic case where the doctest does

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tim Peters
[Benji York] The Zope2 unit tests have been failing for some time on buildbot.zope.com. Looks like a Five-related problem: http://buildbot.zope.org/Zope%20trunk%202.4%20Linux%20zc-buildbot/builds/109/test/0 [Tres Seaver] The failing test is a functional test, not a unit test; I don't run

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Jim Fulton wrote: This is really just a matter of knowing how to write the test. Generally, when you want to show a dict sample, the way to do it is with: from zope.testing/doctestunit import pprint pprint(thisdict) This formats the dictionary nicely and, most importantly, sorts the

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Tim Peters wrote: I'm not sure what it is testing, either; CC'ing Phillip, whose fingerprints are on it, according the 'svn blame', for clarification. These tests have always failed, and Phillip doesn't know why. Because they were failing, he changed them to run at level 2. That's not

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
[resending this from the right address, the original posting got swallowed by Mailman] Tres Seaver wrote: Benji York wrote: The Zope2 unit tests have been failing for some time on buildbot.zope.com. Looks like a Five-related problem:

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: Tres Seaver wrote: Benji York wrote: The Zope2 unit tests have been failing for some time on buildbot.zope.com. Looks like a Five-related problem:

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tim Peters
[Tim] I opened a Collector issue on this about a month ago (I always run with `--all`, so these failures are old news to me): http://www.zope.org/Collectors/Zope/1947 [Philipp] Rereading that issue again, it's totally surprising to see that there's no failure on Windows, which makes

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Tres Seaver wrote: Well, if you look closer you find that it uses pprint.pformat which always outputs the same on all machines (because it provides output sorted by the dictionary key). I see that in the implementation; it isn't documented as part of pprint's contract, however. Yes

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Tim Peters wrote: I wouldn't know where to start (having tried to debug this problem in the past). Anyone got an idea? For a start, disabuse yourself of the illusion that it acts differently on Windows than on Linux ;-) Yup, sorry, misread the issue. Speed kills... :) Philipp

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Jim Fulton
Philipp von Weitershausen wrote: ... Actually, I put this particular test (functional.txt) on level=2 because it would fail when run together with other Five tests. It passes fine when run by itself. This test exists identically in Five 1.2 (based on Zope 2.8) where it passes just fine when run

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Jim Fulton wrote: Obviously, some other test isn't cleaning up after itself. Yes, that was obvious to me too. It was confusing that the same test would pass on Five 1.2, though, and I couldn't find any obvious differences. As trial and error usually takes time, I left the issue to be resolved

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: Tres Seaver wrote: Well, if you look closer you find that it uses pprint.pformat which always outputs the same on all machines (because it provides output sorted by the dictionary key). I see that in the

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Tres Seaver wrote: Well, if you look closer you find that it uses pprint.pformat which always outputs the same on all machines (because it provides output sorted by the dictionary key). I see that in the implementation; it isn't documented as part of pprint's contract, however.

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tim Peters
... [Philipp] Well, if you look closer you find that it uses pprint.pformat which always outputs the same on all machines (because it provides output sorted by the dictionary key). [Tres Seaver] I see that in the implementation; it isn't documented as part of pprint's contract, however.

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Tim Peters wrote: ... a good lecture on pprint vs. dicts Thanks, I'll be more careful about using pprint for dicts then. Philipp This message was sent using IMP, the Internet Messaging Program.

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Jim Fulton
Tim Peters wrote: ... [Philipp] Well, if you look closer you find that it uses pprint.pformat which always outputs the same on all machines (because it provides output sorted by the dictionary key). [Tres Seaver] I see that in the implementation; it isn't documented as part of

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tim Peters
[Tim] Looks like Jim's suggested from zope.testing.doctestunit import pprint inherits this insecurity. [Jim] No, it doesn't. from zope.testing.doctestunit import pprint pprint({z: 1, m: 2}) {'m': 2, 'z': 1} Note both the sorting and the wrapping. See below. Cool! I

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Jim Fulton
Tim Peters wrote: ... Well, I understand why that works, but it's not part of pprint's contract either. What contract. :) Aren't you always telling me to read the source? Note that, in Python 2.4, you can now pass a width to pprint without creating a separate pretty printer: from pprint

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Tim Peters wrote: ... Well, I understand why that works, but it's not part of pprint's contract either. What contract. :) The documented behavior, e.g. from '$ pydoc pprint' or the online equivalent,

Re: [Zope-dev] RFV: Unicode in Zope 2

2005-12-19 Thread Jürgen Herrmann
On Mon, December 19, 2005 17:44, Andreas Jung wrote: --On 9. Dezember 2005 10:11:42 -0500 Jim Fulton [EMAIL PROTECTED] wrote: I forgot a very important need: - Common approach to Unicode We need to migrate Zope 2 to use a similar strategy. We need volunteers to brainstorm how this can

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Jim Fulton
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Tim Peters wrote: ... Well, I understand why that works, but it's not part of pprint's contract either. What contract. :) The documented behavior, e.g. from '$ pydoc pprint' or the online equivalent,

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Tim Peters wrote: ... Well, I understand why that works, but it's not part of pprint's contract either. What contract. :) The

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Tim Peters
... [Tim] Well, I understand why that works, but it's not part of pprint's contract either. [Jim] What contract. :) pprint's docs. Aren't you always telling me to read the source? Indeed, if you hadn't, you wouldn't have known that forcing width=1 forces dict sorting ;-) It's common as

[Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Philipp von Weitershausen
Philipp von Weitershausen wrote: Jim Fulton wrote: Obviously, some other test isn't cleaning up after itself. Yes, that was obvious to me too. It was confusing that the same test would pass on Five 1.2, though, and I couldn't find any obvious differences. As trial and error usually

Re: [Zope-dev] Re: Unit Test Failures

2005-12-19 Thread Fred Drake
On 12/19/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Now I see what you mean by contract. You're right, I guess it isn't documented then, but perhaps it should be. That's never been part of the contract and, as Tres notes, it's inconsistent. The implmentation will only sort when

[Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Rocky Burt
Perhaps the backend should be switched from bdb to fsfs (native subversion backend type) ? I know it does away with a lot of these, issues. - Rocky Jim Fulton wrote: Jens Vagelpohl wrote: On 19 Dec 2005, at 12:23, Andreas Jung wrote: I get always connection closed unexpectedly when

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jim Fulton
Rocky Burt wrote: Perhaps the backend should be switched from bdb to fsfs (native subversion backend type) ? I know it does away with a lot of these, issues. Yup, when someone has time to do it. AFAIK, it will involve dumping the repository and reloading it. Past experience suggests that

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 20:02, Jim Fulton wrote: Rocky Burt wrote: Perhaps the backend should be switched from bdb to fsfs (native subversion backend type) ? I know it does away with a lot of these, issues. Yup, when someone has time to do it. AFAIK, it will involve dumping the repository and

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jim Fulton
Jens Vagelpohl wrote: On 19 Dec 2005, at 20:02, Jim Fulton wrote: Rocky Burt wrote: Perhaps the backend should be switched from bdb to fsfs (native subversion backend type) ? I know it does away with a lot of these, issues. Yup, when someone has time to do it. AFAIK, it will involve

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 21:27, Jim Fulton wrote: IMHO the process is straightforward and easy (except for the time it will take), That fact alone adds complication, as that down time needs to be scheduled. OK, well, the only complication is setting a date really. Someone decides and

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 21:37, Jens Vagelpohl wrote: BTW, thanks for volunteering for this! It will be great not to fool with the Berkeley DB anymore. :) Umh, more like force-volunteered now ;) Which is fine, but in return I'd like someone else (maybe you?) to herd the cats and come up with a

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jim Fulton
Jens Vagelpohl wrote: On 19 Dec 2005, at 21:27, Jim Fulton wrote: IMHO the process is straightforward and easy (except for the time it will take), That fact alone adds complication, as that down time needs to be scheduled. OK, well, the only complication is setting a date really.

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jim Fulton
Jens Vagelpohl wrote: On 19 Dec 2005, at 21:37, Jens Vagelpohl wrote: BTW, thanks for volunteering for this! It will be great not to fool with the Berkeley DB anymore. :) Umh, more like force-volunteered now ;) Which is fine, but in return I'd like someone else (maybe you?) to herd the

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 21:44, Jim Fulton wrote: Umh, more like force-volunteered now ;) Which is fine, but in return I'd like someone else (maybe you?) to herd the cats and come up with a time frame where this can be done, and communicating it. I'll do everything on the technical side.

[Zope-dev] Modifying a ZPT state based on a certain parameter

2005-12-19 Thread Takahashi, Michael
Hi guys, I am running on Zope 2.7.6 with Plone 2.0.5. I am currently building a dynamic application using MySQL as the backend database. I'd like to be able to change a ZPT's state based on a parameter passed by the db. For example, I have a ZPT that displays information for a particular

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Tim Peters
[Jim] ... The whole repository is only about 800 megs. There are over 8 gigs free. Are the dump file or the file-based repo much larger in size the the Berkeley database? FYI, if you don't want to read the code ;-), the book says an FSFS repository is slightly smaller than the same thing

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jim Fulton
Jens Vagelpohl wrote: On 19 Dec 2005, at 21:44, Jim Fulton wrote: Umh, more like force-volunteered now ;) Which is fine, but in return I'd like someone else (maybe you?) to herd the cats and come up with a time frame where this can be done, and communicating it. I'll do everything on

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 22:08, Tim Peters wrote: [Jim] ... The whole repository is only about 800 megs. There are over 8 gigs free. Are the dump file or the file-based repo much larger in size the the Berkeley database? FYI, if you don't want to read the code ;-), the book says an FSFS

[Zope-dev] Announcement: the Zope Subversion repository will be down for maintenance on December 25th, 2005

2005-12-19 Thread Jim Fulton
Jens Vagelpihl has graciously offered to convert the subversion repository to use a file-system back end. The repsository will be inaccessable for some portion of December 25. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714

Re: [Zope-dev] Announcement: the Zope Subversion repository will be down for maintenance on December 25th, 2005

2005-12-19 Thread Jim Fulton
Jim Fulton wrote: Jens Vagelpihl has graciously offered to convert the subversion repository to use a file-system back end. Jim groans, That's Jens Vagelpohl. Thanks again Jens! Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714

[Zope-dev] Re: [Zope3-dev] Announcement: the Zope Subversion repository will be down for maintenance on December 25th, 2005

2005-12-19 Thread Benji York
Jim Fulton wrote: Jens Vagelpihl has graciously offered to convert the subversion repository to use a file-system back end. Yay! I'll reserve further adulation until it comes back up intact. :) -- Benji York Senior Software Engineer Zope Corporation

Re: [Zope-dev] Re: svn.zope.org borked

2005-12-19 Thread Tino Wildenhain
Am Montag, den 19.12.2005, 22:11 + schrieb Jens Vagelpohl: On 19 Dec 2005, at 22:08, Tim Peters wrote: [Jim] ... The whole repository is only about 800 megs. There are over 8 gigs free. Are the dump file or the file-based repo much larger in size the the Berkeley database?

Re: [Zope-dev] svn.zope.org borked

2005-12-19 Thread Sebastien Douche
On 12/19/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: That %$£@ BerkeleyDB backend was geborken again. svnadmin recover fixed it. Hi Jens! Does Zope server use svn server ? I had many problems with it (with the need to recover it each time). Generally, I recommand to use Subversion with Apache.

Re: [Zope-dev] svn.zope.org borked

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 22:38, Sebastien Douche wrote: On 12/19/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: That %$£@ BerkeleyDB backend was geborken again. svnadmin recover fixed it. Hi Jens! Does Zope server use svn server ? I had many problems with it (with the need to recover it each time).

Re: [Zope-dev] Modifying a ZPT state based on a certain parameter

2005-12-19 Thread robert rottermann
Mike, this is not a task for zpt but for a python script. I would suggest you write a script that gets all courses with a given db-state and check them to be in the corresponding workflow state. If not change the workflow state. this script you call regularly (daily, hourly, when ever the db

Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread Dennis Allison
Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in accessing the session

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread Dennis Allison
The interaction between sessions, conflicts, and persistence is a bit confusing. I am still trying to understand the code in depth. One thing is for sure, request.SESSION and/or request['SESSION'] must be persistent for things to work. Mutable objects in the session variable set

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-12-19 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 2337 Blamelist: andreasjung,chrisw,jim,poster BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2005-12-19 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 2338 Blamelist: andreasjung,chrisw,jim,poster BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-12-19 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 2339 Blamelist: andreasjung BUILD FAILED: failed test sincerely, -The Buildbot ___

[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2005-12-19 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 2340 Blamelist: andreasjung BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] [RfC] Removal of old stuff in Zope 2.10

2005-12-19 Thread Andreas Jung
Hi, for next release we plan to replace several parts with the corresponding components from Zope 3 (e.g. ZPT´). Philipp is working on a proposal on that issue. In addition I would like to get rid of some old stuff that is no longer maintained and buggy: - ZopeTutorial (could be ripped off

Re: [Zope-dev] [RfC] Removal of old stuff in Zope 2.10

2005-12-19 Thread Dennis Allison
+1 on the lot if you are looking for votes. On Tue, 20 Dec 2005, Andreas Jung wrote: Hi, for next release we plan to replace several parts with the corresponding components from Zope 3 (e.g. ZPT´). Philipp is working on a proposal on that issue. In addition I would like to get rid of