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: Good idea, but it is hard to do

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 object at the same time

Re: [Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Dennis Allison
We probably want an ALL level as well which would map to the NOTSET of the Python logging code and log everything. Florent, I don't see a TRACE level in this list. Did you think one was needed? On Mon, 5 Dec 2005, Florent Guillaume wrote: Chris Withers wrote: # In the days of zLOG,

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

Re: [Zope-dev] Logging of ConflictError

2005-12-04 Thread Dennis Allison
Dieter's point about not includeing the traceback makes sense if all it does is report on the reporting code. Wlorent, do you envision a single ConflicError or two -- one which succeeds on retry and another where the retry fails? On Sun, 4 Dec 2005, Dieter Maurer wrote: Florent Guillaume

[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

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-02 Thread Dennis Allison
1. INFO 2. Yes, with traceback (necessary as these are heissenevents) 3. ERROR 4. don't care -- we can adapt Thanks Florent for taking the lead on this. I think it's a great help. On Fri, 2 Dec 2005, Florent Guillaume wrote: Please vote for the level at which you want to log retried

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

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-29 Thread Dennis Allison
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 where Zope suddenly stops responding. It is not a new

[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

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
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 blame them on. The problem appears

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
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 one down. The failure

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Dennis Allison
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 four internal states for each

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 not find any Client disconnected

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

Re: [Zope] DateTime mess

2005-11-25 Thread Dennis Allison
and 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 buggy. You can only deprecate when you have

Re: [Zope-dev] Re: How bad _are_ ConflictErrors

2005-11-23 Thread Dennis Allison
Thanks, I'll take a look. On Wed, 23 Nov 2005, Michael Dunstan wrote: On 11/22/05, Florent Guillaume [EMAIL PROTECTED] wrote: Dennis Allison wrote: *** you are correct -- this is the easy hack on the event.log. It's much harder to know how many make it out to the user. We have

Re: [Zope-dev] How bad _are_ ConflictErrors

2005-11-21 Thread Dennis Allison
present a particularly vexing problem since they may trigger writes even though they are apparently read-only. Chris McDonough [EMAIL PROTECTED] wrote in response to my posting: On Nov 20, 2005, at 12:16 PM, Dennis Allison wrote: [...] Looking at the code, I don't understand why I am seeing

Re: [Zope-dev] How bad _are_ ConflictErrors

2005-11-21 Thread Dennis Allison
On Mon, 21 Nov 2005, Chris McDonough wrote: On Nov 21, 2005, at 2:10 PM, Dennis Allison wrote: Conflicts and how they interact with the database and sessioning machinery is my hot button right at the moment )-: I Hope I have not included too much information. I ran a quick

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

2005-11-20 Thread Dennis Allison
/zproducts/standard/ZMySQLDA/db.py, line 389, in _abort self._tlock.release() error: release unlocked lock -- On Sat, 19 Nov 2005, Florent Guillaume wrote: Dennis Allison wrote: We are using MySQL but are fully transactional using innodb. The sort of problems we are seeing are (cruft

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 -- 2005-11-18T12:50:16 ERROR txn.3075

[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

[Zope] Zope 2.8.4 external methods do not autorefresh

2005-11-18 Thread Dennis Allison
test framework: dtml-var standard_html_header dtml-var expr=eproc() dtml-var standard_html_footer Setup an external method def eproc( self ): return 'hello world' and run the test method. It prints hello world Now, change the test method def eproc( self ): return 'hello

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

2005-11-18 Thread Dennis Allison
blush Yup. or so it seems. Thanks. Stupid errors confume the day... On Fri, 18 Nov 2005, Paul Winkler wrote: On Fri, Nov 18, 2005 at 11:25:06AM -0800, Dennis Allison wrote: To adopt the code for the modified method the external method needs to be resaved. *Or* you need to have

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-18 Thread Dennis Allison
Thanks Dieter. On Fri, 18 Nov 2005, Dieter Maurer wrote: Dennis Allison wrote at 2005-11-15 14:54 -0800: Has anyone prepared a set of best practice guidelines on the techniques to use to minimize conflicts? * Localize out into separate persistent objects attributes with high

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-17 Thread Dennis Allison
to do this every so often by calling the housekeep method on TOC. See this written by dunny about conflicts and sessions (although this was written before MVCC): http://www.plope.com/Members/dunny/conflicts/view HTH, - C On Nov 16, 2005, at 6:18 PM, Dennis Allison wrote

Re: [Zope] HTML to PDF.

2005-11-16 Thread Dennis Allison
We use htmldoc. It's a bit old and a bit grotty, but it does the job. On Wed, 16 Nov 2005, Fernando Lujan wrote: Does Anyone has this product in a production environment? It's easy to configure and stuff? We currently are working with the reportlab, but it's painful to change the

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-16 Thread Dennis Allison
2005, Chris McDonough wrote: On Nov 15, 2005, at 5:54 PM, Dennis Allison wrote: Has anyone prepared a set of best practice guidelines on the techniques to use to minimize conflicts? It is becoming clear that we need to do to refactor some of our code to get us out of our

[Zope] conflicts, sessions, and programming best practices guidelines

2005-11-15 Thread Dennis Allison
Has anyone prepared a set of best practice guidelines on the techniques to use to minimize conflicts? It is becoming clear that we need to do to refactor some of our code to get us out of our current conflict pickle. A quick google produced lots of commentary but nothing I could hand to our

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-15 Thread Dennis Allison
balancers so that certain requests don't clog your pipes On 11/15/05, Dennis Allison [EMAIL PROTECTED] wrote: Has anyone prepared a set of best practice guidelines on the techniques to use to minimize conflicts? It is becoming clear that we need to do to refactor some of our code

[Zope] still having problems

2005-11-14 Thread Dennis Allison
ZEO 3.4.2 Zope 2.8.4 ZODB 3.4.2 as relesed with Zope 2.8.4B Python 2.4.2 or 2.3.5 MySQL 4.0.20 MySQL-Python 1.2.0 MYSQLDA 2.0.9 We have just moved from Zope 2.7.6 to Zope 2.8.4 motivated, in part, but the ability to avoid read conflicts under ZODB 3.4.2. We have been having a lot of

[Zope] session variables in the presence of conflicts

2005-11-13 Thread Dennis Allison
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.9 We have just moved from Zope 2.7.6 to Zope 2.8.4 motivated, in part, but the ability to avoid read conflicts under ZODB 3.4.2. We have been having a lot of problems: more conflict errors,

[Zope] Sessions and Persistence

2005-11-11 Thread Dennis Allison
Current configuration: Linux RH7.3 Zope 2.8.4 Python 2.4.2 (but the same is observed with Python 2.3.5) I continue to observe occasional failures of the Zope session variable mechanism. The problem manifests itself by a KeyError when accessing data in the session data container. We

[Zope] Zope 2.8.4 and Plone

2005-11-07 Thread Dennis Allison
We've run into problems tryin to run Plone under Zope 2.8.4. What is the current best practice? -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Error on starting and stopping Zope 2.8.2

2005-10-16 Thread Dennis Allison
whrandom is a deprecated python library package which should be replaced by random. Python 2.3.5 does not produce the deprecation warning but lacks some of the features of the Python 2.4.X series. On Fri, 14 Oct 2005 [EMAIL PROTECTED] wrote: Hello. On starting and stopping Zope 2.8.2

RE: [Zope] Error on starting and stopping Zope 2.8.2

2005-10-16 Thread Dennis Allison
Pascal, Why does Zope lag the release of Python by so very long? The Python 2.4.X series includes language features and poerformance enhancements which ought to be available in Zope. For the most part, Python 2.3.5 is a subset of Python 2.4.X. Compatibility is a language and implementation

Re: [Zope] Error on starting and stopping Zope 2.8.2

2005-10-16 Thread Dennis Allison
Andreas, Aside from a security audit what problems have been reported using Python 2.4.X? Those of use who run Python 2.4.X do it becasue we want access to the language features and performance. If there are stability issues attributed to that choice, we'd like to know what they are.

RE: [Zope] Error on starting and stopping Zope 2.8.2

2005-10-16 Thread Dennis Allison
to be identified and publicized. We certainly collect the incompatilities (if there are any) so they can be fixed as eventually the code base will move to later python systems. -d On Sun, 16 Oct 2005, Andreas Jung wrote: --On 16. Oktober 2005 11:54:18 -0700 Dennis Allison [EMAIL PROTECTED

[Zope] resolving conflict errors

2005-10-14 Thread Dennis Allison
Zope 2.7.6 I am a bit confused. I have a Zope DTML method that is generating ZODB conflict errors. The DTML method identified as producing the conflicts is a list of calls to other methods, conditionally executed. Most conflicts don't cause problems because the backoff and restart of the

Re: [Zope] resolving conflict errors

2005-10-14 Thread Dennis Allison
would be the simplest solution, but I'm a bit wary of doing so on a live system. On Fri, 14 Oct 2005, Chris McDonough wrote: On Fri, 2005-10-14 at 09:27 -0700, Dennis Allison wrote: Zope 2.7.6 I am a bit confused. I have a Zope DTML method that is generating ZODB conflict errors

[Zope] Zope 2.7.8 or Zope 2.8.X

2005-10-13 Thread Dennis Allison
We have been running on Zope 2.7.6 with a few patches. I am now planning to migrate to Zope 2.7.8 but am pondering the move to Zope 2.8. We are in a production situation and cannot accept any downtime, so I am very concerned about stability and compatibility. Can the list provide words of

[Zope] ooops... ZMYSQL tests fail in the ZMI on batching dynamic queries

2005-10-08 Thread Dennis Allison
posting is appended From [EMAIL PROTECTED] Sat Oct 8 10:52:32 2005 Date: Tue, 7 Jun 2005 03:41:21 -0700 (PDT) From: Dennis Allison [EMAIL PROTECTED] To: zope@zope.org Subject: Z SQL test in the ZMI aborts on key error Zope 2.7.6 Python 2.3.5 MySQLDA-1.2.1c3 ZMYSQLDA-2.09b3 Site Error An error

Re: [Zope] Re: ooops... ZMYSQL tests fail in the ZMI on batching dynamic queries

2005-10-08 Thread Dennis Allison
, that is, the result of a dtml evaluation, the query value (that is, the result of the evaluation) does not seem to be preserved and re-evaluated. On Sat, 8 Oct 2005, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: Sorry for the long message

Re: [Zope] Write log file from script

2005-10-07 Thread Dennis Allison
Depends upon what you want to do and how much access you have. For debugging purposes I often use an external procedure def debugWindow( data ): fd = open('/tmp/debugWindow,'a') fd.write( str(data)) fd.close() and look at the output with tail -f /tmp/debugWindow Or, you can

Re: [Zope] Write log file from script

2005-10-07 Thread Dennis Allison
We are running on a linux host. The file information ends upon in the local file system in the /tmp directory. On Fri, 7 Oct 2005, Brian Sullivan wrote: On 10/7/05, Tino Wildenhain [EMAIL PROTECTED] wrote: Am Freitag, den 07.10.2005, 09:03 -0700 schrieb Dennis Allison: Depends upon

Re: [Zope] Log aggregator?

2005-09-23 Thread Dennis Allison
When you get a solution let me know. I am in the middle of log hell at the moment (including Zopes logs) trying to get things to sync up properly across multiple machines. When my stuff works, I'll share. -d On Fri, 23 Sep 2005, Paul Winkler wrote: Anybody know of any software

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-07 Thread Dennis Allison
I have been running Zope 2.7.6 with Python 2.4.1 without problems for several months now. On Wed, 7 Sep 2005, Jim Fulton wrote: At: http://www.zope.org/Wikis/DevSite/Proposals/RequirePython24 Is a proposal to require Python 2.4 for Zope 2.9 (to be released this December).

[Zope] redirecting logs

2005-08-25 Thread Dennis Allison
I want to direct the Z2.log file to both a local file and to a remote machine. I think the configuration might be something like this: logger access level WARN logfile path $INSTANCE/log/Z2.log format %(message)s /logfile syslog address 192.168.0.92:514 format

[Zope] database connections in a multi-Zope zeo environment

2005-08-14 Thread Dennis Allison
I am sure this is a synaptic disconnect, but I can't seem to get my head around this one. I have remote Zopes (call them A, B, C ) and a database server (D). I also have a bunch of mysql databases. All of the machines run mysql. All the Zope instances share the same Data.fs connected

[Zope] (no subject)

2005-08-06 Thread Dennis Allison
We've been seeing this problem for some time. Earlier postings to the list were helpful in that we have eliminated possible causes, but the problem has never been resolved. Any assistance in tracking down the problem and fixing it would be greatly appreciated. Our configuration: Athlon dual

[Zope] error: release unlocked lock with Zope/MySQL

2005-08-06 Thread Dennis Allison
[Reposted with a non-blank Subject field] We've been seeing this problem for some time. Earlier postings to the list were helpful in that we have eliminated possible causes, but the problem has never been resolved. Any assistance in tracking down the problem and fixing it would be greatly

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Dennis Allison
: --On 1. August 2005 09:51:37 -0700 Dennis Allison [EMAIL PROTECTED] wrote: Zope 2.7.6 with ZEO Python 2.4.1 I would like to configure for a single merged log. If BE is the backend machine running ZEO and FEA FEB and FEC are various front-ends for the ZEO, what's

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Dennis Allison
Exactly what I was planning to do. The docs themselves indicate they are incomplete. Is there any documentation beyond that supplied with the distribution. (I have read the logging docs and PEP 282.) Python 2.4.1 seems to be clean and stable with Zope 2.7.6. We've been running it in

Re: [Zope] dtml to pdf

2005-07-15 Thread Dennis Allison
For simple conversion, you may find htmldoc to be a good choice. Reportlab is a great tool but takes considerable effort; htmldoc gives a good enough solution in many cases. On Fri, 15 Jul 2005, Chris Withers wrote: Allen Huang wrote: How do I change my webpage into pdf using dtml or python

[Zope] where is Zope-2.7.6

2005-07-09 Thread Dennis Allison
The download list at zope.org does not have any releases between 2.7.3 and 2.8. We've been using 2.7.6 and would like to be able to download clean copies... ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] where is Zope-2.7.6

2005-07-09 Thread Dennis Allison
, 2005-07-09 at 15:31 -0700, Dennis Allison wrote: The download list at zope.org does not have any releases between 2.7.3 and 2.8. We've been using 2.7.6 and would like to be able to download clean copies... ___ Zope maillist - Zope@zope.org

Re: [Zope] where is Zope-2.7.6

2005-07-09 Thread Dennis Allison
Thanks Tim. I'm not really sure where I was looking--I followed the standard download, then to the 'other releases tab. And the 2.7.X X3 releases somehow were not visible On Sat, 9 Jul 2005, Tim Peters wrote: [Dennis Allison] The download list at zope.org does not have any releases

Re: [Zope] Checking for an Integer Argument

2005-06-30 Thread Dennis Allison
posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723

[Zope] ZMySQLDB problems

2005-06-27 Thread Dennis Allison
/python/Shared/DC/ZRDB/TM.py, line 59, in tpc_finish try: self._finish() File /opt/zope/zproducts/standard/ZMySQLDA/db.py, line 376, in _finish self._tlock.release() error: release unlocked lock -- -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford

Re: [Zope] External editor for ZMI

2005-06-23 Thread Dennis Allison
emacs via ftp -- see the Zope Book for funky details. On Thu, 23 Jun 2005, Paul Winkler wrote: On Thu, Jun 23, 2005 at 04:27:50PM +0100, John Poltorak wrote: What alternatives are there to editing objects through ZMI? ExternalEditor. -- Dennis Allison * Computer Systems

Re: [Zope] External editor for ZMI

2005-06-23 Thread Dennis Allison
? I'm not exactly sure how it works, but have feeling it won't work for me. -- Paul Winkler http://www.slinkp.com -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723

[Zope] ZMYSQLDA 2.0.9 lock problem

2005-06-20 Thread Dennis Allison
IE, Zope 2.7.6, Python 2.4.1, MYSQLDA 2.0.9 One of our developers is reporting a curious problem, which I have not been able to track down. It appears to be threading related, somewhere in the ZBMYSQLDB adaptor. The database connection string is bare of transaction indicators. The database

Re: [Zope] Zope programms for databases

2005-06-18 Thread Dennis Allison
Take a look at http://http://products.bluedynamics.org/Products/Znolk, a wizard method which generates a wide variety of different Zope methods for maintaining databases. I don't understand your concurrent update issue. Such problems should be handled by the backend database, careful table

[Zope] Python Scripts

2005-06-16 Thread Dennis Allison
We have been seeing a number of instances where python scripts fail due to an apparent syntax error but the syntax is correct and simply storing the method restores it to functionality. Anyone else seeing this? -- Dennis Allison * Computer Systems Laboratory * Gates 227

[Zope] Re: datetime bug

2005-06-12 Thread Dennis Allison
CalendarX for Plone, so this behavior concerns me greatly and I'll be looking into it more very soon. +lupa+ Lupa Zurven, CalendarX.org At 12:00 PM 6/12/2005 -0400, you wrote: From: Dennis Allison [EMAIL PROTECTED] Precedence: list Subject: [Zope] Datetime bug in Zope-2.7.6? Date

[Zope] Datetime bug in Zope-2.7.6?

2005-06-11 Thread Dennis Allison
-04-25 1995-04-24 4/25/1995 1995-04-25 1995-05-25 1995-05-24 5/25/1995 1995-05-25 1995-06-25 1995-06-24 6/25/1995 1995-06-25 -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax

[Zope] aggreagating and merging logs under Zope 2.7.X

2005-06-10 Thread Dennis Allison
Is there any way to configure multi-headed Zopes running on different machines but sharing the same ZEO to log to the same file (in time order would also be nice...)? -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305

Re: [Zope] Re: aggreagating and merging logs under Zope 2.7.X

2005-06-10 Thread Dennis Allison
SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: Is there any way to configure multi-headed Zopes running on different machines but sharing the same ZEO to log to the same file (in time order would also be nice...)? zope.conf supports logging to syslog, which would be the sanest way

Re: [Zope] XMLRPC problems?

2005-06-07 Thread Dennis Allison
2005 15:14:21 -0700 Dennis Allison [EMAIL PROTECTED] wrote: Zope 2.7.6, ZEO, Python 2.4.1 (yes, I know it is not yet official but ... ZEO runs on the same machine but is accessed through an internal network ZMYSQLDA 2.0.9 MySQL-1.1.7 I've seen a couple of problems attributable

[Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Dennis Allison
Zope 2.7.6 Python 2.3.5 MySQLDA-1.2.1c3 ZMYSQLDA-2.09b3 Site Error An error was encountered while publishing this resource. Error Type: KeyError Error Value: 'query' Troubleshooting Suggestions * This resource may be trying to reference a nonexistent object or variable 'query'. *

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Dennis Allison
parameters? For some reason (and I'm not the guy who can tell you why...) these types of tests always break - try adding '?query=' to the end of the URL. and see if that helps. Cheers, Joe. On 7 Jun 2005, at 11:41, Dennis Allison wrote: Zope 2.7.6 Python 2.3.5 MySQLDA-1.2.1c3

[Zope] SQL query manage_test throws KeyError vith value 'query'

2005-06-07 Thread Dennis Allison
Failure occurs with Zope 2.7.6 final Python 2.3.5 or Phython 2.4.1 MySQLdb 1.2.1 gamma or MySQLdb 1.1.1 final ZMySQLDA 2.08 or ZMYSQLDA 2.09 Failure does not occur with Zope 2.6.4 python 2.3.5 MySQLdb 1.1.1 final ZMySQLDA 2.08 The

[Zope] ZODB Lock Errors and Storage Errors

2005-06-06 Thread Dennis Allison
Zope 2.7.6b3, ZEO, Python 2.4.1 (yes, I know it is not yet official but ... ZEO runs on the same machine but is accessed through an internal network ZMYSQLDA 2.0.9 MySQL-1.1.7 I have seen several Lock problems and a couple of storage error problems as I upgrade our system. Anyone seen anything

[Zope] XMLRPC problems?

2005-06-06 Thread Dennis Allison
Zope 2.7.6, ZEO, Python 2.4.1 (yes, I know it is not yet official but ... ZEO runs on the same machine but is accessed through an internal network ZMYSQLDA 2.0.9 MySQL-1.1.7 I've seen a couple of problems attributable to XLRPC failures in our system after an upgrade to Zope 2.7.6. Has anyone

Re: [Zope] XML Content handling questions.

2005-05-28 Thread Dennis Allison
://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 ) -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford

Re: [Zope] Opening .doc files in zope

2005-05-27 Thread Dennis Allison
On Fri, 27 May 2005, Allen Huang wrote: Is there any way to open a .doc files using dtml or script and print them?? The short answer is it depends. To make such files generally available you have to convert them to HTML so arbirary browsers can access them. You can use MS Word to do the

[Zope] ZSyncer and ZEO

2005-05-25 Thread Dennis Allison
Does ZSyncer have any problem with Zope/ZEO systems? I have some anecdotal evidence of problems as we migrate to a multiheaded Zope/ZEO systems architecture. Is there any difficult using ZSyncer between a Zope and a Zope/ZEO combination. Are there problems syncing between Zope 2.6.X and

Re: [Zope] Zope 2.7.2 with Ape 1.0 installed in root, fails to restart, without any usefull logging, after adding a local role

2005-05-25 Thread Dennis Allison
- 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 ) -- Dennis Allison * Computer Systems Laboratory * Gates 227

Re: [Zope] No ZMI - panic!!!!

2005-05-25 Thread Dennis Allison
force a login prompt or include a login in the URL? If this is a FAQ, please tell me which Q to look under. -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax

[Zope] Re: ZSyncer and ZEO

2005-05-25 Thread Dennis Allison
problem. Thanks to all. -d On Wed, 25 May 2005, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: Does ZSyncer have any problem with Zope/ZEO systems? I have some anecdotal evidence of problems as we migrate to a multiheaded Zope/ZEO systems

Re: [Zope] Re: ZSyncer and ZEO

2005-05-25 Thread Dennis Allison
, 2005 at 09:15:32AM -0700, Dennis Allison wrote: Furher investigation has shown that the failing ZSyncer target had a problem with its authentication code and that was likely the cause of the failure. We are continuing to test, but it appears everything is working. We'll continue

Re: [Zope] using DOM from within Zope

2005-05-25 Thread Dennis Allison
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305

[Zope] surprising interaction between Javascript and Zope

2005-05-24 Thread Dennis Allison
We have a need to set a session variable concurrently with a user submitting a form on a mouse click. I accomplish this with a bit of JavaScript associated with the OnClick attribute of the form: location.replace('/setSesVar?var=namsval=xxx;frm.submit(); which does the job except that

Re: [Zope] How do I logout using DTML

2005-05-11 Thread Dennis Allison
I do wrong?? - Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650

[Zope] ZEO and session variables.

2005-05-10 Thread Dennis Allison
I am hoping someone with more experience that I with multi-headed Zope/ZEO installations can point out my problem. I am using with Zope 2.7.6-final and Python 2.4.1. Yes, I know I am jumping the gun with 2.4.1 but I expect that it is not the source of the problem. Hardware is an Athlon

[Zope] (no subject)

2005-05-10 Thread Dennis Allison
Dieter, I get the following error at startup (Zope 2.7.6-final, Python 2.3.4, ZopeProfiler 1.1 in a multi-headed Zope/ZEO configuration with shared session variables. My hypothesis is that the culprit is the ZopeProfiler and that I need to move to Version 1.4. Are there any problems using it

Re: [Zope] ZEO and session variables.

2005-05-10 Thread Dennis Allison
McDonough wrote: It appears that something in the ZopeProfiler product is unhappy with your configuration. Does it work if you remove this product? On Mon, 2005-05-09 at 23:37 -0700, Dennis Allison wrote: I am hoping someone with more experience that I with multi-headed Zope/ZEO

[Zope] ZEO and session variables.

2005-05-03 Thread Dennis Allison
system, the session variables need to be shared and therefore must be managed by ZEO. What is the recommended best practice for this? -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650

Re: [Zope] Re: ZEO and session variables.

2005-05-03 Thread Dennis Allison
, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: I am just setting up a multi-headed distributed system with several Zope heads all communications with a ZEO backend. The zopes can be on the same machine or on different machines connected

Re: [Zope] Re: Zope 2.75 tgz distribution

2005-05-03 Thread Dennis Allison
or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723

Re: [Zope] question about login

2005-05-02 Thread Dennis Allison
You might take a look at the CookieCrumbler product. It does pretty much what you seem to want manages much of the hard stuff. On Tue, 3 May 2005, Phillip Hutchings wrote: On 03/05/05, u1207440 [EMAIL PROTECTED] wrote: I have created a login form an a few users in acl_users, both exists

Re: [Zope] question about login

2005-05-02 Thread Dennis Allison
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model. On Tue, 3 May 2005, Phillip Hutchings wrote: On 03/05/05, Dennis Allison [EMAIL PROTECTED] wrote: You might

[Zope] Python 2.4.X

2005-04-29 Thread Dennis Allison
Are there any problems using Python 2.4.X with Zope 2.7.X? -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax * [EMAIL PROTECTED] * [EMAIL

Re: [Zope] Session Variable Error

2005-04-28 Thread Dennis Allison
On Thu, 28 Apr 2005, Asad Habib wrote: I have a session variable called 'undergraduateProjectsDirected' that I declare using the following syntax: dtml-call REQUEST.SESSION.set('undergradProjectsDirected', [ ]) When I try to append items to this list variable, I get the following error:

[Zope] problems rendering objects stored in the local file system

2005-04-27 Thread Dennis Allison
really would like to be able to do is to reference all files relatively and allow internal directories and the like. We've been using the LocalFS product, mostly with great success, but this has got me stumped. Any suggestions? hints? pointers? -- Dennis Allison * Computer Systems Laboratory

[Zope] Python2.4.1 and Zope 2.7.X

2005-04-26 Thread Dennis Allison
Has anyone had problems with Python 2.4.1 with the latest Zope 2.7.X versions? -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax * [EMAIL PROTECTED

Re: [Zope] segregated users

2005-04-05 Thread Dennis Allison
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 ) -- Dennis Allison * Computer Systems Laboratory * Gates 227

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Dennis Allison
On Sun, 3 Apr 2005, Garito wrote: My +1 for ZClasses deprecation And +1 for DTML deprecation Try to keep Zope simple -1 for DTML deprecation. It serves a different purpose that ZPT-- DTML is Logic+HTML ZPT is HTML+Logic.

<    1   2   3   >