Re: [Zope] Re: session variables in the presence of conflicts

2005-11-20 Thread Dennis Allison
Florent, There were, of course, tracebacks. Any assist you can provide would be appreciated. -D -- 2005-11-18T12:50:16 ERROR txn.3075 Error in tpc_abort() on manager MultiObjectResourceAdapter for Products.ZMySQLDA.db.DB instance at 0x450431cc at 1190763820 Traceback (most recent call

[Zope] CMF 1.5.5 released

2005-11-20 Thread Jens Vagelpohl
The CMF developer community and Zope Corporation are pleased to announce the release of version 1.5.5 of the Zope Content Management Framework (CMF). This release marks the latest stable release in the CMF 1.5 series and should be suitable for production use. What is the CMF? The Zope

[Zope] Re: session variables in the presence of conflicts

2005-11-20 Thread Florent Guillaume
Dennis Allison wrote: Florent, There were, of course, tracebacks. Any assist you can provide would be appreciated. -D -- 2005-11-18T12:50:16 ERROR txn.3075 Error in tpc_abort() on manager MultiObjectResourceAdapter for Products.ZMySQLDA.db.DB instance at 0x450431cc at 1190763820

Re: [Zope] Re: session variables in the presence of conflicts

2005-11-20 Thread Dennis Allison
That was my conclusion long ago, but I have not been able to track it down. It only occurs under heavy load when backing out of a conflict error. I have not been successful at creating a test set that triggers it. I suppose it is time to again read the ZMySQLDA code... There are a few

[Zope] minimizing conflict errors

2005-11-20 Thread Dennis Allison
I have a DTML method which provides the primary navigation control in a portion of our system and so is very heavily used. It is a primary source of conflict errors and so is being rethought. Zope 2.8.4, ZEO 3.4.2, ZODB 3.4.2, Python 2.4.2 or 2.3.5 MySQL 4.0.20, MySQL-Python 1.2.0, MYSQLDA

Re: [Zope] External Methods, Proxy Roles, and Executable Security

2005-11-20 Thread George Lee
Great, thanks much. Is there much buzz about this in CMF developer land? It seems like proper proxy roles handling, and like you said what Zope 3 security will do to it, are pretty important and will come up quite often (all I was doing, after all, was trying to move an object upon workflow

[Zope] MD5 Python Zope Plone

2005-11-20 Thread D Washburn
I have a need to encrypt a parameter passed on a URL to another website using Python and MD5 encryption. I tried to set up a test python script: I am running ZOPE and Plone. I have made other Python scripts that work. *** import md5 print "This is the", script.meta_type,

Re: [Zope] External Methods, Proxy Roles, and Executable Security

2005-11-20 Thread Jens Vagelpohl
On 20 Nov 2005, at 18:47, George Lee wrote: Great, thanks much. Is there much buzz about this in CMF developer land? It seems like proper proxy roles handling, and like you said what Zope 3 security will do to it, are pretty important and will come up quite often (all I was doing, after all,

Re: [Zope] minimizing conflict errors

2005-11-20 Thread Tino Wildenhain
Am Sonntag, den 20.11.2005, 09:16 -0800 schrieb Dennis Allison: I have a DTML method which provides the primary navigation control in a portion of our system and so is very heavily used. It is a primary source of conflict errors and so is being rethought. Zope 2.8.4, ZEO 3.4.2, ZODB 3.4.2,

Re: [Zope] MD5 Python Zope Plone

2005-11-20 Thread Jens Vagelpohl
On 20 Nov 2005, at 18:54, D Washburn wrote: I have a need to encrypt a parameter passed on a URL to another website using Python and MD5 encryption. I tried to set up a test python script: This is a FAQ. Python scripts provide a *restricted* execution environment. You cannot just import

Re: [Zope] MD5 Python Zope Plone

2005-11-20 Thread Tino Wildenhain
Am Sonntag, den 20.11.2005, 12:54 -0500 schrieb D Washburn: I have a need to encrypt a parameter passed on a URL to another website using Python and MD5 encryption. I tried to set up a test python script: I am running ZOPE and Plone. I have made other Python scripts that work.

Re: [Zope] MD5 Python Zope Plone

2005-11-20 Thread Andreas Jung
--On 20. November 2005 12:54:58 -0500 D Washburn [EMAIL PROTECTED] wrote: When I do this and I attempt to test it - my ZOPE/Plone instance pops up the login screen (even though I am logged in already). I tried logging in but it just kept asking for my username/password. FAQ: read

Re: [Zope] Re: session variables in the presence of conflicts

2005-11-20 Thread Chris McDonough
Hi Dennis, I notice that line 389 of db.py of the most recent ZMySQLDA (2.0.8) doesn't match the traceback you show. No mutex locking at all is done in the 2.0.8 version of that module (or any other module in that product). Are you using an older version? - C On Nov 20, 2005, at 9:57

Re: [Zope] Re: session variables in the presence of conflicts

2005-11-20 Thread Chris McDonough
Sorry, I noticed in another email you said that you're using 2.0.9 (which appears to be in beta) and I confirmed that the traceback matches that source. The note in the product's CHANGES.txt about this is: Wrap queries with a lock to prevent multiple threads from using the

Re: [Zope] minimizing conflict errors

2005-11-20 Thread Chris McDonough
On Nov 20, 2005, at 12:16 PM, Dennis Allison wrote: The structure of the naviagation method is simple enough. Everything is wrapped in a dtml-let which sets a number of parameters mostly by reading them from the SESSION (with an interface function) or plucking them from the relational

[Zope] Re: Zope 2.8.4 compilation error

2005-11-20 Thread Gusti Gonzalez
Tres Seaver escribió: Gusti Gonzalez wrote: Does anybody know what Debian (3.1) packages are required in order to compile zope 2.8.4? Or, my only option is to download python from source and compile it as well? I *think* that you need the following (I don't run 3.1, but it seems enough

[Zope] Re: Zope 2.8.4 external methods do not autorefresh

2005-11-20 Thread Martijn Pieters
Dennis Allison wrote: To adopt the code for the modified method the external method needs to be resaved. Is this a bug or a feature? Feature unless you had debug mode switched on. Debug mode is off by default in Zope 2.8 (as it should). Martijn Pieters

Re: [Zope] dtml-sqlvar problem with large strings?

2005-11-20 Thread Andreas Jung
--On 21. November 2005 16:30:10 +1100 Joshua Burvill [EMAIL PROTECTED] wrote: Using zope 2.6.4 on win32 with kinterbasdbda (not sure what version), firebird 1.0 This sounds like a bug in the kinterbasedbda. Since this is DA is not used widely I would recommend to buzz the author of the DA

[Zope-Checkins] SVN: Zope/trunk/ Merged r40279 from 2.9 branch:

2005-11-20 Thread Florent Guillaume
Log message for revision 40280: Merged r40279 from 2.9 branch: Warn when an attempt is made to have a security declaration on a nonexistent method. Removed one such method. Fixed unclear security declarations. When bug 761 was fixed, declareProtected(perm) was made illegal, at

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Merged r40279 from 2.9 branch:

2005-11-20 Thread Florent Guillaume
Log message for revision 40281: Merged r40279 from 2.9 branch: Warn when an attempt is made to have a security declaration on a nonexistent method. Removed one such method. Fixed unclear security declarations. When bug 761 was fixed, declareProtected(perm) was made illegal, at

Re: [Zope-Coders] Re: Why zope-coders?

2005-11-20 Thread Jim Fulton
Albertas Agejevas wrote: On Sat, Nov 19, 2005 at 08:36:48AM -0500, Jim Fulton wrote: Does anyone know how to disable a mailman list without losing the archives? Perhaps redirect the mail coming to zope-coders to zope-dev in the Mailman's aliases file. Something will also need to be done in

[Zope-Coders] Re: Why zope-coders?

2005-11-20 Thread Jim Fulton
Philipp von Weitershausen wrote: Philipp von Weitershausen wrote: Does anyone know how to disable a mailman list without losing the archives? I would simply reject all further postings though Sender Filters (under Privacy Options). It would probably be best accomplished by setting the

[Zope-Coders] Re: Why zope-coders?

2005-11-20 Thread Jim Fulton
OK, I think I found a hack. I can: - Prevent subscription - cause everybody to be moderated. - Case all mail from moderated members to be rejected with a controlled message. If this works, this discussion will be over, at least here. :) Jim Jim Fulton wrote: Philipp von Weitershausen

[Zope-dev] Re: Zope 2 security and SimpleItem

2005-11-20 Thread Florent Guillaume
[Intended for zope-dev actually...] Florent Guillaume wrote: Florent Guillaume wrote: I'm in the process of refactoring OFS to use new-style security declarations (about time ;)), and I stumbled on something which may or may not be a bug, I don't know, I'd like some else's opinion: The

Re: [Zope-dev] Re: Zope 2 security and SimpleItem

2005-11-20 Thread Chris McDonough
On Nov 20, 2005, at 11:28 AM, Florent Guillaume wrote: [Intended for zope-dev actually...] Florent Guillaume wrote: Ok I got to the reasons for that, it all dates back to the origins of SecurityInfo in December 2000 when it originally had methods that did the work of both declareProtected and

Re: [Zope-dev] Re: UI improvements

2005-11-20 Thread Jens Vagelpohl
On 18 Nov 2005, at 23:19, Alexander Limi wrote: On Fri, 18 Nov 2005 06:56:32 -0800, Andreas Jung [EMAIL PROTECTED] jung.com wrote: In general such changes should be made on the HEAD (for next 2.10 release). OK. I was aiming for a quick sprint to get some small changes into 2.9 before

[Zope-dev] Bad security declarations

2005-11-20 Thread Florent Guillaume
I've added a long-needed warning if you attempt to make a security declaration for a nonexistent method, usually because of typos. Checked in for 2.8, 2.9 and trunk. Look carefuly for WARNING in your logs, there are already a few bad ones in CMF (I don't have time to fix them tonight

Re: [Zope-dev] Bad security declarations

2005-11-20 Thread Paul Winkler
On Mon, Nov 21, 2005 at 01:24:52AM +0100, Florent Guillaume wrote: I've added a long-needed warning if you attempt to make a security declaration for a nonexistent method, usually because of typos. Checked in for 2.8, 2.9 and trunk. You are my hero :-) -- Paul Winkler

[ZWeb] SWRelease update version-strings

2005-11-20 Thread Michael Haubenwallner
Zope.orgs 'swpackage_view' (default view) takes all releases of a SWPackage, reverse sorts on the release-version string and takes the first element of the list for the 'Latest Release: ' display too. For all of you that need to change/update the version-string of a SWRelease without changing