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 at 1190763820> Traceback (most recent call last): File "/usr/local/src/zope/Zope2.8/lib/python/transaction/_transaction

[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 Conten

[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 at 1190763820> Traceback (most recent call last): File "/usr/local/src/zope/Zope2.8/lib/python

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 comme

[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 2.0.

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 change

[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, '"%s"

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, w

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.

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 lib/pytho

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 connec

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 which sets a number of parameters mostly by reading them from the SESSION (with an interface function) or plucking them from the relational database with a

[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

[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 _

[Zope] dtml-sqlvar problem with large strings?

2005-11-20 Thread Joshua Burvill
Hello All, I am uploading and encoding files and then trying to insert the file content into a database. It works fine for small files (under about 20KB), but fails for larger ones with the error: Error Type: ProgrammingError Error Value: (-104, 'execute.isc_dsql_prepare: Dynamic SQL Error. SQL

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 D