Re: [Zope] ZMI in zope 2.10.5 broken

2008-01-30 Thread Martijn Pieters
On Jan 28, 2008 4:54 PM, quizzical [EMAIL PROTECTED] wrote: Module TreeDisplay.TreeTag, line 337, in tpRenderTABLE Module zlib, line 38, in compress NameError: global name 'util' is not defined The error occurs in the 'zlib' module, which is not part of Zope, but a python library.

Re: [Zope] ZMI in zope 2.10.5 broken

2008-01-30 Thread quizzical
I'm not sure how the rogue file got there but it was probably while I was trying to install a non 2.5 version of python, I did have a lot of trouble installing python with zlib included, I don't know if this is a common problem. Anyway, I fixed the problem by removing and reinstalling python

[Zope] Z2.log

2008-01-30 Thread Tom Von Lahndorff
Can instance/log/Z2.log be deleted? On restart is fresh file created? Also, is max-bytes supported for logfiles in zope.conf? Thanks, Tom ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Z2.log

2008-01-30 Thread Jens Vagelpohl
On Jan 30, 2008, at 18:17 , Tom Von Lahndorff wrote: Can instance/log/Z2.log be deleted? On restart is fresh file created? Yup. Also, is max-bytes supported for logfiles in zope.conf? What's that? jens ___ Zope maillist - Zope@zope.org

Re: [Zope] Z2.log

2008-01-30 Thread Tom Von Lahndorff
On Jan 30, 2008, at 12:28 PM, Jens Vagelpohl wrote: On Jan 30, 2008, at 18:17 , Tom Von Lahndorff wrote: Can instance/log/Z2.log be deleted? On restart is fresh file created? Yup. Also, is max-bytes supported for logfiles in zope.conf? What's that? Saw it referenced here:

Re: [Zope] Z2.log

2008-01-30 Thread Fred Drake
On Jan 30, 2008 12:17 PM, Tom Von Lahndorff [EMAIL PROTECTED] wrote: Also, is max-bytes supported for logfiles in zope.conf? max-bytes is supported as of ZConfig 2.5. I'm not sure what version of ZConfig is currently being used with Zope 2, but would be surprised if it weren't possible to use

[Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Another related question. With respect to conflict resolution, is is safe to assume that products (with _p_resolveConflict methods) in the main Zope products directory are already available to the ZEO server without

Re: [Zope] Z2.log

2008-01-30 Thread Fred Drake
On Jan 30, 2008 12:32 PM, Tom Von Lahndorff [EMAIL PROTECTED] wrote: Saw it referenced here: http://blogs.sistes.net/Garito/568 Ah! ZConfig 2.5 and newer include max-bytes and old-files in the basic logfile section, but Products.rotatezlogs provides more features. -Fred -- Fred L.

Re: [Zope] problem authenticating, even with emergency user

2008-01-30 Thread Dieter Maurer
Ben Bartrum wrote at 2008-1-29 08:51 -0800: ... File /www/zope/instance2.9.1/Products/ZMySQLDA/db.py, line 89, in ? import _mysql ImportError: ld.so.1: python2.4: fatal: libmysqlclient.so.12: open failed: No such file or directory If on the command line I do: python2.4 -c 'import _mysql'

Re: [Zope] Re: suddenly confused

2008-01-30 Thread Dieter Maurer
Ricardo Newbery wrote at 2008-1-29 01:19 -0800: ... Apologies for jumping late in this thread but how precisely should App.FindHomes be imported? Someone else reported about a ZEO patch that does the same thing without a need to import App.FindHomes. If you have Zope installed and ZEO is

Re: [Zope] Re: suddenly confused

2008-01-30 Thread Chris McDonough
Dieter Maurer wrote: Ricardo Newbery wrote at 2008-1-29 01:19 -0800: ... Apologies for jumping late in this thread but how precisely should App.FindHomes be imported? Someone else reported about a ZEO patch that does the same thing without a need to import App.FindHomes. That's here:

Re: [Zope] Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Dieter Maurer
Ricardo Newbery wrote at 2008-1-29 22:56 -0800: ... Another related question. With respect to conflict resolution, is is safe to assume that products (with _p_resolveConflict methods) in the main Zope products directory are already available to the ZEO server without any special

Re: [Zope] Cant access 'real' root folder in ZMI

2008-01-30 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2008-1-30 14:07 +1100: ... I recently installed plone 3 on a RHEL 5 server and did some mucking around to get apache working with it. I mostly followed the 'apache-with-plone' tutotial on plone.org to do this. The way it is currently set is as follows: -  Plone and

Re: [Zope] problem authenticating, even with emergency user

2008-01-30 Thread Chris McDonough
FWIW, it is typically better to install mysql-python with an --rpath, e.g. python setup.py build_ext --rpath=/path/to/mysql/lib python setup.py install This prevents you from ever needing to set LD_LIBRARY_PATH in programs that use the library. You might need to change the mysql-python's

Re: [Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Ricardo Newbery
On Jan 30, 2008, at 9:32 AM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Another related question. With respect to conflict resolution, is is safe to assume that products (with _p_resolveConflict methods) in the main Zope products directory are

Re: [Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Okay, then assuming you've installed ZEO from Zope software, if your third-party product includes conflict resolution by instantiating a class defined in the Zope product directory, then is it also safe to assume that

Re: [Zope] Re: suddenly confused

2008-01-30 Thread Ricardo Newbery
On Jan 30, 2008, at 10:42 AM, Dieter Maurer wrote: Ricardo Newbery wrote at 2008-1-29 01:19 -0800: ... Apologies for jumping late in this thread but how precisely should App.FindHomes be imported? Someone else reported about a ZEO patch that does the same thing without a need to import

Re: [Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Ricardo Newbery
On Jan 30, 2008, at 11:17 AM, Tres Seaver wrote: Ricardo Newbery wrote: Okay, then assuming you've installed ZEO from Zope software, if your third-party product includes conflict resolution by instantiating a class defined in the Zope product directory, then is it also safe to assume that

[Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Has anyone given thought to maybe providing a more general class with conflict resolution in the core distribution? The Length class works for simple counters and I guess it can also be used for just simple

Re: [Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Ricardo Newbery
On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Has anyone given thought to maybe providing a more general class with conflict resolution in the core distribution? The Length class works for simple counters and I guess

Re: [Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Chris McDonough
Ricardo Newbery wrote: On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Has anyone given thought to maybe providing a more general class with conflict resolution in the core distribution? The Length class works for

Re: [Zope] problem authenticating, even with emergency user

2008-01-30 Thread Ben Bartrum
-Original Message- From: [EMAIL PROTECTED] Sent: Wed, 30 Jan 2008 19:29:05 +0100 This is too late. The dynamic loader looks at LD_LIBRARY_PATH on startup and then caches the value. Later modification have no effect on the current process. You need to set LD_LIBRARY_PATH

Re: [Zope] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-30 Thread Ricardo Newbery
On Jan 30, 2008, at 1:39 PM, Chris McDonough wrote: Ricardo Newbery wrote: On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo Newbery wrote: Has anyone given thought to maybe providing a more general class with conflict resolution in

[Zope-dev] Zope Tests: 5 OK

2008-01-30 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Jan 29 12:00:00 2008 UTC to Wed Jan 30 12:00:00 2008 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Tue Jan 29 20:51:43 EST 2008

[Zope-dev] Session concurrency problem

2008-01-30 Thread Stephan Richter
Hi everyone, I have come across a situation, where temporarily the session data for a user is not available. Scenario: User 1 creates some session data. While a user 2 creates also some session data, user 1's data is not accessible. The problem plays out in two ways: 1. The data's __dict__

Re: [Zope-dev] Session concurrency problem

2008-01-30 Thread Dieter Maurer
Stephan Richter wrote at 2008-1-30 08:45 -0500: ... 1. The data's __dict__ returns an empty dictionary. When you access an attribute directly, though, the data can be seen. This symptom can be reliably reproduced. This is normal for persistent objects. When a persistent object is in Ghost

Re: [Zope-dev] FileUpload and blob on Windows

2008-01-30 Thread Dieter Maurer
Leonardo Rochael wrote at 2008-1-27 22:29 -0800: ... Closing the NamedTemporaryFile after consuming it and before opening the blob makes the matters worse, since Windows removes the file from under Blob *after* it has been consumed, so we'll have to think of a different strategy for consuming

[Zope-dev] Re: Session concurrency problem

2008-01-30 Thread Maurits van Rees
Hi, It's been a long day and I am way out of my league on this issue, so I will just go in off-topic mode and share a bash trick. Stephan Richter, on 2008-01-30: cd sessionIssue2 for number in 1 2 3 4 5 6 7 8 ;do sh sessionTest.sh;done You can also do: for number in $(seq 8); do sh

[Zope-PAS] Problems Upgrading PluggableAuthService

2008-01-30 Thread Mark Phillips
I have a plone site running: Plone 2.5.5, CMF-1.6.4, Zope (Zope 2.9.8-final, python 2.4.4, freebsd6), Five 1.4.2, Python 2.4.4 (#2, Sep 26 2007, 13:07:27) [GCC 3.4.6 [FreeBSD] 20060305], PIL 1.1.6 membrane 1.0 remember 1.0 PluggableAuthService-1.4.2 The members cannot add portraits to the

Re: [Zope-PAS] Problems Upgrading PluggableAuthService

2008-01-30 Thread Jens Vagelpohl
On Jan 30, 2008, at 14:01 , Mark Phillips wrote: I looked at the bug reports and found 2 that relate to this error: http://plone.org/products/remember/issues/44 http://plone.org/products/remember/issues/32 The suggested solution is to upgrade PluggableAuthService to version 1.5.2, which I did.

Re: [Zope-PAS] Problems Upgrading PluggableAuthService

2008-01-30 Thread Mark Phillips
On Wed, 2008-01-30 at 08:50 -0500, Jens Vagelpohl wrote: On Jan 30, 2008, at 14:01 , Mark Phillips wrote: I looked at the bug reports and found 2 that relate to this error: http://plone.org/products/remember/issues/44 http://plone.org/products/remember/issues/32 The suggested solution