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

2005-11-20 Thread Dennis Allison
comments on the net about problems with MySQLDA which may also be related. On Sun, 20 Nov 2005, Florent Guillaume wrote: > Dennis Allison wrote: > > Florent, > > There were, of course, tracebacks. Any assist you can provide would be > > appreciated. -D > > > &g

[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] DateTime mess

2005-11-25 Thread Dennis Allison
If I have a vote, +1 on deprecation and replacement with something less buggy. We have spent enormous amounts of time trying to sort out and then work around DateTime problems. On the other hand, we have a substantial amount of code that uses DateTime and finally, mostlyt works. We'd be unhappy

Re: [Zope] DateTime mess

2005-11-25 Thread Dennis Allison
that investment needs to be protected. On Fri, 25 Nov 2005, Andreas Jung wrote: > > > --On 25. November 2005 12:22:05 -0800 Dennis Allison > <[EMAIL PROTECTED]> wrote: > > > > > If I have a vote, +1 on deprecation and replacement with something less > >

[Zope] (no subject)

2005-11-27 Thread Dennis Allison
-- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

[Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
Python2.4.2 Zope 2.8.4 ZODB/Zeo 2.3.4 Mysql 4.0 Dual Athalon processors Linux RH7.3 We have two recent instances in our production sites where Zope suddenly stops responding. It is not a new problem, but we've now been confronted with two clean examples and nothing to blame them on. The problem

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
s. On Mon, 28 Nov 2005, Florent Guillaume wrote: > Dennis Allison wrote: > > We have two recent instances in our production sites where Zope suddenly > > stops responding. It is not a new problem, but we've now been confronted > > with two clean examples and nothing to b

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
them since leaks easily cause failures far away from where the fault lies. It certainly is a worthwhile thing to check and monitor. -d On Sun, 27 Nov 2005, Chris McDonough wrote: > > On Nov 27, 2005, at 8:13 PM, Dennis Allison wrote: > > > here to begin to track this on

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
re victory and forget about using the > deadlock debugger (unless you want to do it for learning purposes only). > > On Nov 27, 2005, at 8:46 PM, Dennis Allison wrote: > > > > > Just went throught that exercise with Andy and installed a patch to > > MySQLDA

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
pe and ZEO share the same machine. On Sun, 27 Nov 2005, Paul Winkler wrote: > On Sun, Nov 27, 2005 at 05:13:21PM -0800, Dennis Allison wrote: > > Examination of the raw trace log shows that Zope is continuing to accept > > requests, but nothing getting done. The raw log date-stamps fou

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
We had been plagued with a threading error which manifests itself as an exception reporting "release unreleased lock". At Andy's suggestion I added code to catch the exception in the appropriate place in ZMySQLDA -- Here's the code from db.py --- The code probably should be specific to the

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
We do see occasional instances where things slow down, a backlog builds, and then it clears. But no disconnects. On Sun, 27 Nov 2005, Paul Winkler wrote: > On Sun, Nov 27, 2005 at 08:08:20PM -0800, Dennis Allison wrote: > > Thanks Paul. > > > > I checked and did

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-29 Thread Dennis Allison
new subprocess module rather than use popen2 in the external method. On Sun, 27 Nov 2005, Dennis Allison wrote: > > Python2.4.2 > Zope 2.8.4 > ZODB/Zeo 2.3.4 > Mysql 4.0 > Dual Athalon processors > Linux RH7.3 > > We have two recent instances in our production sites wher

[Zope] MySql problems

2005-12-01 Thread Dennis Allison
I have not yet completed differential diagnosis, but I was hoping someone had encountered a similar problem and could pass along a fix/workaround. The following program fails to do the writes -- import MySQLdb initdb='test' dbuser = 'root' dbpass = 'XX' host = 'localhost' connection = MySQ

[Zope] killing off individual Zope session

2005-12-03 Thread Dennis Allison
We just had an example of a run away process with one of our authenticated users. I would have liked to kill off the user's processing while leaving all the other users running. Any ideas as to how to accomplish this? I do know the user's login and password, but little else. We use the Cooki

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Dennis Allison
I cannot make any sense out of your example data. Since you already have the data in a MySQL table, I would think the best way to find the match would be to make a MySQL query. On Mon, 5 Dec 2005, Cameron Beattie wrote: > I have a large set of data (that will be stored in MySQL) that I wish

[Zope] states in _p_resolveConflicts

2005-12-07 Thread Dennis Allison
I am having trouble understanding what they are and how one gets from a "state" to the ZODB value associated with thast state. Can someone assist? Many thanks, -d -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] resolving conflict errors

2005-12-08 Thread Dennis Allison
On Fri, 14 Oct 2005, Chris McDonough wrote: > Dennis Allison asked: > > What data does Zope store in the ZODB when an object is evaluated? > > None that you don't tell it to. Typically conflict errors are a result > of two threads calling code which changes the same ob

Re: [Zope] resolving conflict errors

2005-12-10 Thread Dennis Allison
whether the SESSION data whether a KeyError signals that all session variables are missing or whether only a few are missing. On Sun, 11 Dec 2005, Michael Dunstan wrote: > On 12/9/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > The problem I am trying to resolve appears to be lo

Re: [Zope] resolving conflict errors

2005-12-10 Thread Dennis Allison
Thanks, I'll take a look. I don't have much faith in getting to do it with the live system, but maybe I can find a way to get some sort of testbed. On Sun, 11 Dec 2005, Michael Dunstan wrote: > On 12/11/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > > > Goo

Re: [Zope] Recursive Display Of All Folder Items

2005-12-13 Thread Dennis Allison
Read the documentation for . You should be able to use it to generate the information you want. On Tue, 13 Dec 2005, J Cameron Cooper wrote: > Francisco Chamorro wrote: > > Hi everyone, I am trying to get a dump of all the content currently in > > our zope server. Using DTML I was able to ge

[Zope] sessions in the presence of conflicts

2005-12-14 Thread Dennis Allison
Zope 2.8.4, ZODB 3.4.2 I am still trying to resolve a "session variables in the presence of conflicts" problem. The observed symptom is that suddenly either some session variables disappear or all session variables disappear. In both cases, Zope has raised a KeyError exception for the a particu

Re: [Zope] sessions in the presence of conflicts

2005-12-14 Thread Dennis Allison
Hi Davids. Thanks for your note. I remember your post. No, I have not used HappySession although we looked at it when we started. When we started development, sessions had just become part of the standard release Zope and we decided that in the long run we'd be better off using the release

[Zope] Re: Triggering the persistence mechanism

2005-12-15 Thread Dennis Allison
you > *mutate* values stored in the session that you need to do explicit > persistence triggering. I provided an example of doing this in my > last email. > > - C > > On Dec 15, 2005, at 4:20 PM, Dennis Allison wrote: > > > > > Chris McDonnough pointed out

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

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

2005-12-19 Thread Dennis Allison
sion variable initialization in a Script(Python) object has a downside because one cannot set a _p_changed attribute and so must rely on the assignment paradigm. Perhaps the interface should be in a Product or External Method which is less constrained. Anyhow, David, thanks for the assist. On Mon, 19 D

[Zope] More on understanding conflicts

2005-12-20 Thread Dennis Allison
Zope 2.8.4 ZODB 3.4.2 I have a dtml method which is an obvious hotspot. It puts up navigation wigetry and is rendered on nearly every page. The logs show it generates a large number of conflicts. The conflicts are in TemporaryStrorage and so are due to session variables. The session variables

Re: [Zope] More on understanding conflicts

2005-12-20 Thread Dennis Allison
Chris, thanks again. You've clarified several issues. Interlinear comments below, original text edited with a heavy hand for brevity... On Wed, 21 Dec 2005, Chris McDonough wrote: > > If this is the same getSessionVariable as you reported before (a > Python Script), note that each call tha

Re: [Zope] More on understanding conflicts

2005-12-20 Thread Dennis Allison
One more thought --- On Wed, 21 Dec 2005, Chris McDonough wrote: > > The structure of the method is simple enough: there is a large > > > > block which populates local variables with data from the session > > variables > > > > > ... > >> > > > > with the body of the contai

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
Thanks again Chris for the helpful comments. The navigation_box, in this context is just a table which is rendered into a frame in our standard frameset. It is not an iframe. In the sense I used them below, a transaction and a request are the same thing. This follows from the fact that each

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
ive to the number of hits served, and most are resolved by the normal Zope conflict resolution mechanism. On Wed, 21 Dec 2005, Chris McDonough wrote: > On Dec 21, 2005, at 10:32 AM, Dennis Allison wrote: > > Thanks again Chris for the helpful comments. > > > > The navigation_box,

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
much more clearly and precisely. Since conflict errors are discovered and managed when the publisher commits, there is not a whole lot one can do, in terms of code organization, to minimize the potential for conflicts. Thanks for your insight. On Wed, 21 Dec 2005, Chris Withers wrote: >

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
On Wed, 21 Dec 2005, Chris McDonough wrote: > On Dec 21, 2005, at 11:38 AM, Dennis Allison wrote: > > > > > Chris, > > > > You asked about frames a while back and I responded in the > > affirmative. > > I am sure I mentioned that we use frames and fra

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
12/22/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > The issue here has had to do with session variables and their iteraction > > with the persistence mechanism and conflicts and multiple threads for the > > same session. Chris McDonough has pointed out that session variable

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
The side effect is that sessions will live longer than the specified period, up to 300 seconds longer if session-resolution-seconds is set to 30 seconds. In my case, setting it higher helps, b ut does not eliminate the problems. On Wed, 21 Dec 2005, Maciej Wisniowski wrote: > > >The missing d

[Zope] Deadlock Debugger with Zope 2.8.5

2006-01-01 Thread Dennis Allison
DeadlockDebugger-1.0 causes the following log entry 2006-01-01T00:22:38 ERROR DeadlockDebugger Incorrectly installed threadframe module with Zope 2.8.5. Any thoughts as to the problem? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mail

Re: [Zope] Re: Handling login failures

2006-01-12 Thread Dennis Allison
A more usual solution to this issue is to insert a delay after the third and subsequent failures. You, of course, need a policy for removing the delay (successful login or N minutes following the last attempt). On Fri, 13 Jan 2006, Florent Guillaume wrote: > HÃ¥kan Johansson wrote: > > I want

[Zope] Autoconnect with ZMySQLDA 2.0.9

2006-01-16 Thread Dennis Allison
I have been seeing occasional "release unlocked lock" errors from a storage error in a two-phase commit which really comes from a "Lost connection to MySQL server during query". Apparently this arises from a failure of self.db.ping() to find a connected database as the transaction is opened.

Re: [Zope] Autoconnect with ZMySQLDA 2.0.9

2006-01-17 Thread Dennis Allison
there in MySQL 5.0. And does MySQL-Python and ZMYSQLDA grock MySQL-5.0? -d On Mon, 16 Jan 2006, Dennis Allison wrote: > I have been seeing occasional "release unlocked lock" errors from a > storage error in a two-phase commit which really comes from a "Lost > connectio

[Zope] LocalFS under Zope2.9

2006-01-20 Thread Dennis Allison
This is the LocalFS-1.3-andreas version. Later releases do not appear to address this issue. 2006-01-20T09:22:51 ERROR Zope Couldn't install LocalFS Traceback (most recent call last): File "/usr/local/src/zope/Zope2.9/lib64/python/OFS/Application.py", line 763, in install_product globa

[Zope] Zope 2.9 and product installation

2006-01-20 Thread Dennis Allison
IssueTracker 0.6.13 Zope 2.9.0 64-bit linux 2006-01-20T09:22:49 WARNING Init Class Products.IssueTrackerProduct.IssueTracker.IssueTracker has a security declaration for nonexistent method 'index_html' -- 2006-01-20T09:22:49 WARNING Init Class Products.IssueTrackerProduct.IssueTracker.IssueT

[Zope] Where to begin (Performance on 2.9.0 vs. 2.8.4)

2006-01-27 Thread Dennis Allison
Migrating systems to 2.9.0, we have noticed "sluggish" behavior compared to 2.8.4. The 2.8.4 systems run on a dual processor AMD2600 32-bit processors. The 2.9.0 systems run on AMD dual opteron 240 processors. The dual opteron systems have much more memory, much faster memory, and faster dis

Re: [Zope] Off Topic: Good linux editors?

2006-01-28 Thread Dennis Allison
vim, emacs, ... yu might try nano On Sat, 28 Jan 2006, David wrote: > Hi list, > > I'm fairly new to Linux (ubuntu server version) and simply hate VIM. Nor > do I want to mind meld with the complex EMACS. I just wonder what > Editors some of you prefer as you write stuff like external scr

[Zope] raw trace log format

2006-02-02 Thread Dennis Allison
generally it's code id fromepoch desc The desc field is B request (e.g. 'GET /') I ??? A status_code bytes E The desc for E is normally empty. The desc for I is usually 0 or a small integer. Google could not help me find a definitio

Re: [Zope] Re: raw trace log format

2006-02-02 Thread Dennis Allison
I gleened what I could from the requestrofiler code, but teh meaning of the desc field for I is not described in the comments. A quick check of the code did not help either. On Thu, 2 Feb 2006, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dennis A

[Zope] ZEO disconnects, Zope auto restarts (via zopectl)

2006-02-03 Thread Dennis Allison
Zope 2.9.0 We are seeing spontaneous restarts of Zope with no indication in any of the standard Zope logs. Looking at the ZEO log indicates that the restarts of Zope are due to a lost connection between Zope & ZEO but with no other information. The logging level is set at the distribution d

Re: [Zope] ZEO disconnects, Zope auto restarts (via zopectl)

2006-02-03 Thread Dennis Allison
Paul, Thanks for the assist. Comments on your comments interlinearly below. I have increased cache and other resources to see what the impact will be. On Fri, 3 Feb 2006, Paul Winkler wrote: > On Fri, Feb 03, 2006 at 01:00:45AM -0800, Dennis Allison wrote: > > > > Zope 2.

Re: [Zope] New Product called Zoep

2006-02-07 Thread Dennis Allison
I think there is potential for confusion. Both Zope Corp and teh Zope Foundation should send cease and desist letters. On Tue, 7 Feb 2006, Jonathan Cyr wrote: > Hello, > > Is there any concern about naming confusion with the new VOIP browser > extension called "Zoep" (from Slashdot this mor

[Zope] Trademarks, Zope and Zoep

2006-02-07 Thread Dennis Allison
Voipster and Zoep people: (copied to the Zope Mailing List) The choice of the "Zoep" name by Voipster for their Firefox Voip plugin seems to many of us to be easily confused with "Zope" and is a potential trademark issue. Becasue of the Slashdot article today there is some discussion of the iss

[Zope] Re: New Product called Zoep

2006-02-07 Thread Dennis Allison
It is a legitimate concern for everyone in the Zope community regardless of what entity owns and controls the trademark. On Tue, 7 Feb 2006, Alexander Limi wrote: > > > On Tue, 07 Feb 2006 09:55:02 -0800, Dennis Allison > wrote: > > > I think there is potential

[Zope] Zope=ZEO connection

2006-02-07 Thread Dennis Allison
Zope 2.9.0 Python 2.4.2 Amd dual Opteron Linux I am seeing occasional (several per day) Zope crashes under load. The event.log immediately before and after the crash looks like: 2006-02-06T14:07:20 INFO ZPublisher.Conflict ConflictError at : database conflict error (oid 0x086e, class BTree

Re: [Zope] Zope=ZEO connection

2006-02-07 Thread Dennis Allison
, Paul Winkler wrote: > On Tue, Feb 07, 2006 at 06:18:49PM -0800, Dennis Allison wrote: > > > > Zope 2.9.0 > > Python 2.4.2 > > Amd dual Opteron > > Linux > > > > I am seeing occasional (several per day) Zope crashes under load. The >

[Zope] Startup error with Formulator

2006-02-08 Thread Dennis Allison
Zope 2.8.4 Python 2.4.2 Startup error with Formulator. What's missing or broken? Out of the box: 2006-02-08T01:51:58 ERROR Zope Couldn't install Five Traceback (most recent call last): File "/usr/local/src/zope/Zope2.8/lib/python/OFS/Application.py", line 773, in install_product initmeth

[Zope] Session Variables Redux

2006-02-08 Thread Dennis Allison
Zope 2.9.0 Python 2.4.2 There appears to still be a problem with session variables that does not appear to be the result of interactions with conflicts nor the result of unexpected restarts. It does not appear to be load related. The problem we see is a sudden disappearance of all, one, or a sm

Re: [Zope] Startup error with Formulator

2006-02-09 Thread Dennis Allison
Thanks. On Thu, 9 Feb 2006, Martijn Faassen wrote: > Dennis Allison wrote: > > Zope 2.8.4 > > Python 2.4.2 > > > > Startup error with Formulator. What's missing or broken? > > > The offending file is: > > > > > xmlns=&qu

Re: [Zope] Dates off by one day

2006-02-27 Thread Dennis Allison
It is likely to be a problem with timezones. Zope recognizes one particular date format as UTC and not local. If that sounds like the problem, I can provide a patch. On Sat, 25 Feb 2006, Kevin Carlson wrote: > Recently moved to a new server farm and am having a problem with dates > from My

[Zope] Squishdot on Zope 2.9.X with Python 2.4.2

2006-02-27 Thread Dennis Allison
Are there any known compatibilty problems? -d -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http:

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4.2

2006-02-28 Thread Dennis Allison
Yup, it does seem a bit strange, but I'd rather not maintain multiple versions of Zope if I can avoid it. And I have a user that wants to experiment with and/or use Squishdot. On Tue, 28 Feb 2006, Jens Vagelpohl wrote: > > On 28 Feb 2006, at 07:26, Dennis Allison wrote: >

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4

2006-02-28 Thread Dennis Allison
OK, I'll do that. My post was to learn whether I was walking into a mine field... On Tue, 28 Feb 2006, Chris Withers wrote: > Dennis Allison wrote: > > Yup, it does seem a bit strange, but I'd rather not maintain multiple > > versions of Zope if I can avoid it. And

Re: [Zope] External Methods newbie question

2006-02-28 Thread Dennis Allison
To executed a "whole file" you need to wrap it as a function -- def foo( self ): and call foo as an external method. The self argument gives the context. Python provides several modules which give access to execute bash commands, linux commands, etc. Look at the modu

[Zope] Re: Squishdot installation problems, CVS problems

2006-03-05 Thread Dennis Allison
ve not tried to track it down (yet). On Sun, 5 Mar 2006, Chris Withers wrote: > Dennis Allison wrote: > > CVS at SourceForge seems broken. I got a proxy error > > when I tried to use the web version and a login rejection on anonymous > > access. > > Seems fin

[Zope] Re: Squishdot installation problems, CVS problems

2006-03-06 Thread Dennis Allison
so many lists, so little time On Mon, 6 Mar 2006, Chris Withers wrote: > Hi Dennis, > > Dennis Allison wrote: > > > > There is a Squishdot patch and several comments about 2.8.X problems on > > the site. I applied the patch and got a running site but as the patch

Re: [Zope] readconflicterror

2006-03-06 Thread Dennis Allison
Upgrading to Zope 2.9.X would be my recommendation. From our experience, it's an improvement on 2.8.X which was an improvement on 2.7.X. On Mon, 6 Mar 2006, Reinoud van Leeuwen wrote: > On Mon, Mar 06, 2006 at 02:22:08PM -0500, Brian Sullivan wrote: > > I had this reported a couple of times (

[Zope] repozo.py

2006-03-07 Thread Dennis Allison
We are (finally) moving to repozo for our backups. We are running a mixed collection of Zopes -- mostly Zope 2.7.6, Zope 2.8.X and Zope 2.9.0. For the near term we cannot move to a single release. There are differences between the versions of repozo distributed with the different Zope syst

[Zope] Ape

2006-03-11 Thread Dennis Allison
I am looking to map a portion of the local file system into Zope. One way to do this is to use LocalFS, another is to use Ape. I am sure there are onter approaches as well. We are using Zop 2.9.X. Will Ape work in this context? What would you suggest? ___

Re: [Zope] AttributeError on SESSION

2006-03-13 Thread Dennis Allison
Are cookies enabled? If not, should be. what does request look like Is SESSION presnt? On Mon, 13 Mar 2006, Jeff Gentry wrote: > Okay ... I figure I've probably managed to really hose up my Zope instance > somehow but I can't figure out what it would be. Whenever I'm trying to > a

Re: [Zope] "No module named rotor"

2006-03-14 Thread Dennis Allison
Rotor was removed form python for a variety of reasons (see the mailing list archives) but one of them was that it's a terrible way to do any sort of encryption. There are numberous python extensions that do encryption and decryption which could be incorporated into your product. Alternative

Re: [Zope] "No module named rotor"

2006-03-14 Thread Dennis Allison
Jeff, Looks like you've happened on a real bug. rotor() is used when building and loading pyp files but is no longer provided with Python. You should file a bug report. lib/python/App/Extensions.py lib/python/App/Product.py both contain references. If you do not need cross Zope compatibili

[Zope] Using Twisted rather than ZServer with Zope >= 2.9.0

2006-03-15 Thread Dennis Allison
I know Twisted is used in the Zope 3 space. Has anyone experimented with replacing ZServer? A quick Google search turned up litte information. Pointers? Experience? -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zop

Re: [Zope] Using Twisted rather than ZServer with Zope >= 2.9.0

2006-03-15 Thread Dennis Allison
pe.org/Members/adytumsolutions/pycon2004/TwistedZope > > - C > > On Mar 15, 2006, at 8:38 PM, Dennis Allison wrote: > > > > > I know Twisted is used in the Zope 3 space. Has anyone > > experimented with > > replacing ZServer? A quick Google search t

[Zope] Stepper on Zope 2.9.X

2006-03-17 Thread Dennis Allison
Chris & others -- Anyone have experience with Stepper under Zope 2.8.X and Zope 2.9.X. -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.

[Zope] Zasync

2006-03-17 Thread Dennis Allison
Has anyone tested and used in production thi sproduct with Zope 2.9.X? -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinf

[Zope] Re: Stepper on Zope 2.9.X

2006-03-18 Thread Dennis Allison
Thanks Chris. I'll be doing dsome experimentation and will let you know about any problems I find. -d On Sat, 18 Mar 2006, Chris Withers wrote: > Dennis Allison wrote: > > Chris & others -- > > > > Anyone have experience with Stepper under Zope 2.8.X and

[Zope] External Methods

2006-04-03 Thread Dennis Allison
When Zope is run in production (as opposed to debug) mode, modifications to External Methods are not sensed. What's the programatic way to get them all refreshed? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] External Methods

2006-04-03 Thread Dennis Allison
Too many and too hard to remember where they are. I have writen a FindAndApply external method that uses reloadIfChanged(). On Mon, 3 Apr 2006, Chris Withers wrote: > Dennis Allison wrote: > > When Zope is run in production (as opposed to debug) mode, modifications > > to E

Re: [Zope] External Methods

2006-04-03 Thread Dennis Allison
Figured it out after the fact :-( and have not yet tested it before posting it as a solution On Mon, 3 Apr 2006, Chris Withers wrote: > Dennis Allison wrote: > > Too many and too hard to remember where they are. I have writen a > > FindAndApply external method that uses

[Zope] Some installation glitches

2006-04-15 Thread Dennis Allison
64-bit machines (dual dual-core AMD Opteron) First: Configuring Zope installation Using Python interpreter at /usr/local/bin/python2.4 /usr/local/bin/python2.4 install.py -q build Dependencies/ExtensionClass-Zope-2.9.2/ExtensionClass/_ExtensionClass.c: In function `PyExtensionClass_Export_':

Re: [Zope] Regular Expressions

2006-04-20 Thread Dennis Allison
Regular expressions are usually precluded as a potential security risk. You can enable imports into Python Scripts (see instructions in the source) fairly easily. Or you can do the regular expression processing you need in an External Method or Product. And, of course, you'll need to "import

[Zope] coercing to Unicode: need string or buffer, NoneType found

2006-04-25 Thread Dennis Allison
Zoe 2.9.0, Python 2.4.2 ## Script (Python) "ascript" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## root = container.restrictedTraverse('/') objs = root.ZopeFind(container.this(), obj_metatypes=['Ex

[Zope] LocalFS problems

2006-05-07 Thread Dennis Allison
Chris, Andreas, others LocalFS product (1.3-andreas) seems to be having a problem with the tag in Zope 2.9.2/Python 2.4.2. The behavior is very different for a folder with three nested sub-folders (a list of the three nested sub-folders) that what is seen when pointed to a LocalFS with three n

Re: [Zope] LocalFS problems

2006-05-08 Thread Dennis Allison
Or just do a custom tpValues equivalent for the particular special case. I suspect that is what we will try next... ;-) On Mon, 8 May 2006, Chris Withers wrote: > Dennis Allison wrote: > > LocalFS product (1.3-andreas) seems to be having a problem with the > > tag in Zo

[Zope] Templates vs DTML

2006-06-05 Thread Dennis Allison
We've been using DTML but we are at a point where we could move to page templates. We are starting a major restruture and rewrite of much of the system and are debating moving to ZPT. Performance is potentially a major issue. We are using Zope 2.9.X, will eventually move to Zope 2.10.X and

Re: [Zope] dtml forwarding request

2006-06-08 Thread Dennis Allison
You can do a redirect and construct the cgi space from REQUEST. On Thu, 8 Jun 2006, Alric Aneron wrote: > The dtml_method where I want to forward to is on another server, so your may > would be a little hard to do. Sorry, I didn't make myself clear the first > time. > > Thanks, any sugges

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-27 Thread Dennis Allison
Which Zope are you using? Set the logging level to BLATHER and try running with runzope rather than zopectl and see what happens. The event log should help localize the problem. Be sure to check both the ZEO logs and the Zope logs. Also, it helps if you post the traceback. On Wed, 28 Jun

Re: [Zope] Trying to trap ConflictError

2006-07-04 Thread Dennis Allison
Johnathan, I have been lurking, following your thread, but not paying full attention. Excuse me if thes points have been made before. There are many long threads on Conflict Errors. You should read them. Note that there have been significant changes in management strategy beginning with Zop

Re: [Zope] Trying to trap ConflictError

2006-07-04 Thread Dennis Allison
Tue, 4 Jul 2006, Jonathan wrote: > > - Original Message - > From: "Dennis Allison" <[EMAIL PROTECTED]> > To: "Jonathan" <[EMAIL PROTECTED]> > Cc: > Sent: Tuesday, July 04, 2006 1:27 PM > Subject: Re: [Zope] Trying to trap ConflictError

Re: [Zope] Trying to trap ConflictError

2006-07-04 Thread Dennis Allison
You might also want to use the conflict resulution hook. The reason you don't see the Conflict Error exception is that it is caught and triggers a conflict resolution process. On Tue, 4 Jul 2006, Jonathan wrote: > > - Original Message - > From: "Dennis Allison

Re: [Zope] MySQL queries in Python

2006-08-01 Thread Dennis Allison
Usually you install the database adaptor ZMySQLDB and make queries through a ZSQL Method object. On Tue, 1 Aug 2006, Muk Yan wrote: > Dear Coveted Braintrust, > > I was wondering if anyone had any experience with MySQL queries in Python in > Zope: > > import MySQLdb > import string > > reque

Re: [Zope] cannot paste objects

2006-08-11 Thread Dennis Allison
Dean, Have you checked permissions on the var and log directories in your instance? Have you verified that the security settings give Managers proper authorization? When you say you are "Logged in as administrator" should we presume that you are logged into the ZMI as a user with a "manager"

Re: [Zope] Log Files Not Logging

2006-08-15 Thread Dennis Allison
The log rotation process is simple. Rename the logs to whatever name you want to use for archival purposes. Then (assuming you are using the usual setup and zopectl: # zopectl> logreopen which will close and reopen the logs. The behavior you observed is exactly the Unix behavior that woul

Re: POUND AND ZOPE HELL!!! was: Re: [Zope] Can't Find This Bug!

2006-08-16 Thread Dennis Allison
On Wed, 16 Aug 2006, beno - wrote: > To summarize, I'm newly using Pound as a reverse-proxy for Zope. I'm using > VHM mapping to pass the requests to the appropriate folders in Zope. I have > some clients who can't see their sites, but I and many others can. They get > this message: "Zope \n We

Re: POUND/VHM AND ZOPE HELL!!! was: Re: [Zope] Can't Find This Bug!

2006-08-16 Thread Dennis Allison
Could it be that the combination of Pound and VHM are mapping your client's connection to your personal website? Does your pesonal website have a splash screen that presents "Zope \n Welcome to Web.vi"? If so, you should be able to find the log enties and get a bit more information. Pound h

Re: POUND AND ZOPE HELL!!! was: Re: [Zope] Can't Find This Bug

2006-08-16 Thread Dennis Allison
3306/tcp openmysql /tcp filteredkrb524 8080/tcp openhttp-proxy 12345/tcp filteredNetBus 31337/tcp filteredElite On Wed, 16 Aug 2006, beno - wrote: > 2 > &g

Re: [Zope] Trouble with PIL and Zope 2.8

2006-08-18 Thread Dennis Allison
Be sure that PIL is installed into the python you are using to run Zope. On Fri, 18 Aug 2006, Dan Gaibel wrote: > Hello group, > > I am having problems with my PIL installation and I wonder if anyone > has any ideas.. > > After what looked like a successful install of PIL 1.1.5 I am getting

Re: [Zope] How best to copy and paste in pythonscript?

2006-08-28 Thread Dennis Allison
Take a look at the actual code. Th API requires a that a clipboard object acquired from the copy be sent to the paste. On Mon, 28 Aug 2006, Gaute Amundsen wrote: > > Hi. > > I am having some strange problems getting copy and paste to work propperly in > > python script > > Basically I do

Re: [Zope] How best to copy and paste in pythonscript?

2006-08-28 Thread Dennis Allison
ust 2006 07:24:40 -0700 Dennis Allison > <[EMAIL PROTECTED]> wrote: > > > > > Take a look at the actual code. Th API requires a that a clipboard > > object acquired from the copy be sent to the paste. > > > > > > > > This is not entirely

Re: [Zope] How best to copy and paste in pythonscript?

2006-08-28 Thread Dennis Allison
Andreas -- Take the compliment. Either way, you have been a great resource for me in the past and will, I hope, continue to be so in the future. On Mon, 28 Aug 2006, Andreas Jung wrote: > > > --On 28. August 2006 07:41:03 -0700 Dennis Allison > <[EMAIL PROTECTED]>

[Zope] LocalFS cut and paste across LocalFS instaces

2006-08-31 Thread Dennis Allison
I have a zope system (Zope 2.9.2) that needs to be able to cut and paste between different instances of LocalFS. Specifically, I have two LocalFS instances, LFS1 and LFS2. The two local files systems are disjoint and image different parts of the local file directory tree. What I need to be able

Re: [Zope] TinyTablesPlus How To??

2006-09-03 Thread Dennis Allison
Let me add in my 2cents worth. Unless you really need TinyTablesPlus for some product that requires it, you are better off using a relational database like MySQL. On Mon, 4 Sep 2006, Andreas Jung wrote: > > > --On 3. September 2006 17:12:04 -0400 beno <[EMAIL PROTECTED]> wrote: > > > Hi; >

<    1   2