Re: [Zope] Re: [ZF] Zope Foundation IRC - Reminder

2005-12-09 Thread Chris McDonough
st readers haven't seen it yet: Chris McDonough has a transcript of this morning's chat up at: http://plope.com/Members/chrism/foundation_dec9 BTW, I'm sorry I couldn't make it this morning: I was waiting to board

Re: [Zope] resolving conflict errors

2005-12-08 Thread Chris McDonough
On Dec 8, 2005, at 9:29 PM, Dennis Allison wrote: On Fri, 14 Oct 2005, Chris McDonough wrote: The problem I am trying to resolve appears to be load related. The observed symptom is that (some) session variables spontaneously disappear. There appears to be some connection to conflicts, but

Re: [Zope] Python Classes and Zope.

2005-12-02 Thread Chris McDonough
On Dec 2, 2005, at 9:49 AM, Paul Winkler wrote: You know, some days I wonder why it is that Zope is the only framework around that needs to distinguish between "trusted" and "untrusted" code. Nobody else seems to be looking at us with envy in this regard. Historically I know it was because there

Re: [Zope] Python Classes and Zope.

2005-12-01 Thread Chris McDonough
So far I have not had any success with anything else than writing special methods in my Classes that converts the objects to dictionaries before passing them to the zpt or Script(Python) in question. But that feels like a very awkward way of doing things, and it makeas it *very* difficu

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Chris McDonough
Chris, A helpful suggestion. The commit errors I've been seeing have to do with the intereaction of the ZODB, MySQL, session variables, and conflicts. So the patch that Andy sent over is a fix that prevents the mysql adapter from raising an error when a conflict exception occurs? Do you

Re: [Zope] Re: Zope 2.8.4 strange behavior

2005-11-27 Thread Chris McDonough
Does this mean that you haven't seen the errors since installing Andy's patch? If not, I'd declare 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 exercis

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-27 Thread Chris McDonough
On Nov 27, 2005, at 8:13 PM, Dennis Allison wrote: here to begin to track this one down. The failure is spontaneous and apparently not triggered by any readily distinguishable inputs or pattern of inputs. The behavior smells a bit of resource limits or process synchronization problems, bu

Re: [Zope] Re: DateTime mess

2005-11-22 Thread Chris McDonough
On Nov 22, 2005, at 11:27 AM, Gabriel Genellina wrote: At Tuesday 22/11/2005 05:50, Jürgen Herrmann wrote: one more question (to the public!): do we REALLY need dates <1900 / >2036 ? using unix timestamps for storage and as the base for all conversions would make things a lot easier! Sure.

Re: [Zope] unlinking stale socket?

2005-11-22 Thread Chris McDonough
On Nov 22, 2005, at 10:57 AM, michael nt milne wrote: Yes, I noticed that the deamon wasn't running and so re-started it. It started up fine but that was the message I received. Just wondered what happened etc.. On 11/22/05, Chris McDonough <[EMAIL PROTECTED]> wrote: Note that Zo

Re: [Zope] unlinking stale socket?

2005-11-22 Thread Chris McDonough
Note that Zope likely started. Did it? Did you try zopectl stop and zopectl start again? If so, did it work? - C On Nov 22, 2005, at 9:52 AM, michael nt milne wrote: Hi My zopeinstance went down and I was getting an 'upstream server' unknown message from apache. On restarting zope from

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

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

2005-11-20 Thread Chris McDonough
t obvious from the code what that is. On Nov 20, 2005, at 1:55 PM, Chris McDonough wrote: 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 ot

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] Problem with multiple Browser Id Managers

2005-11-18 Thread Chris McDonough
Hi Pablo, On Thu, 2005-11-17 at 22:47 -0300, Pablo Ziliani wrote: > Unfortunately, my Zope instance holds multiples virtual sites, so I > can't simply change the root BMI that comes with Zope's installation; > instead I need to create inner BMI instances. So I did, giving the new > instance a d

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

2005-11-17 Thread Chris McDonough
ng out of the shared temporary storage in favor of a local temp storage. That should make things a bit better. Good idea... - C On Wed, 16 Nov 2005, Chris McDonough wrote: Changing the architecture will likely get you the most bang but note also that there are a few knobs that you ca

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

2005-11-16 Thread Chris McDonough
e blindly distributed to any of the machines. Given the conflict problems, we may need to rethink this simplistic architecture. On Tue, 15 Nov 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 techn

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

2005-11-16 Thread Chris McDonough
On Nov 16, 2005, at 6:18 PM, Dennis Allison wrote: Chris, I am aware that using ZEO to back session database is likely to increase the opportunity for conflicts, but using a single session database seems to be reaquired if you want, as we do, to distribute out interactive application acr

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

2005-11-15 Thread Chris McDonough
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 current conflict pickle. A quick google pro

Re: [Zope] still having problems

2005-11-14 Thread Chris McDonough
On Nov 14, 2005, at 9:21 PM, Dennis Allison wrote: 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 und

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

2005-11-13 Thread Chris McDonough
On Sun, 2005-11-13 at 01:39 -0800, Dennis Allison wrote: > 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

[Zope] Basket 0.1 ("New Zope Packaging Regime Product") Released

2005-11-11 Thread Chris McDonough
Basket is a Zope 2 product which allows you to employ the Python Egg format to deploy other Zope 2 products. The Python Egg packaging format is described at http://peak.telecommunity.com/DevCenter/ setuptools . The development of Basket was funded by the "Goldegg" initiative described at h

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread Chris McDonough
Use gnutar to unpack the Zope source tarball. On Oct 27, 2005, at 4:50 PM, David H wrote: Thomas Wolf wrote: Hi, I'm trying to build Zope-2.7.4-0 from source (I can't use a different version because of the releas of Plone we're using.) I ran ./configure --with-python=/usr/local/zop

Re: [Zope] NTUserFolder still useful?

2005-10-17 Thread Chris McDonough
Proably easier and faster to try it than to wait for a response. ;-) On Mon, 2005-10-17 at 12:46 -0500, Sean Dunn wrote: > I’m running Zope on WindowsXP with plans to run it on server 2003. > Instead of creating user accounts I’d like to leverage NT > authentication.. And NTUserFolder looks like i

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

2005-10-16 Thread Chris McDonough
On Sun, 2005-10-16 at 12:29 -0700, Dennis Allison wrote: > What does concern me is the way in which the recommendation to use (at the > moment) Python 2.3.5 is explained. > > I may be willing to accept the risks of using a system which has not yet > been audited in terms of security, but I want

Re: [Zope] resolving conflict errors

2005-10-14 Thread Chris McDonough
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. > > The DTML method identified as producing the conflicts is a list of calls > to other methods, conditionally executed. > > Mo

Re: [Zope] Determining user from session object - who is logged in?

2005-10-13 Thread Chris McDonough
On Thu, 2005-10-13 at 00:26 +0200, Gaute Amundsen wrote: > Well, I know that ther might easily be "login less" sessions, > but, is it possible to log have "session less" logins? Yes. In fact, this is the default for Zope "out of the box". Zope's default user folder uses HTTP basic authenticatio

Re: [Zope] Determining user from session object - who is logged in?

2005-10-12 Thread Chris McDonough
On Oct 12, 2005, at 4:50 PM, Gaute Amundsen wrote: On Wednesday 12 October 2005 20:19, Chris McDonough wrote: On Wed, 2005-10-12 at 19:32 +0200, Gaute Amundsen wrote: I thought the place to start wold be: /temp_folder/session_data/ I have built a small little thing to play with the

Re: [Zope] Determining user from session object - who is logged in?

2005-10-12 Thread Chris McDonough
On Wed, 2005-10-12 at 19:32 +0200, Gaute Amundsen wrote: > I thought the place to start wold be: /temp_folder/session_data/ > > I have built a small little thing to play with the contents of that. > External method and script below. > > However I have not been able to figure out a way to connect

Re: [Zope] ZAjax anyone?

2005-10-08 Thread Chris McDonough
On Oct 8, 2005, at 6:54 AM, Greg Fischer wrote: I would love to have a product (called ZAjax :) that simply receives a request from the client and spits out xml. To be more specific, a set of classes that call ZSQL methods and retrieve records, then send that back in xml format. We've

Re: [Zope] ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-09 Thread Chris McDonough
This is actually nothing to worry about. The error message doesn't take into account that the error it's reporting could be a conflict error (these are normal errors seen during Zope execution). The catalog probably shouldn't bother logging the error in this case. On Sep 9, 2005, at 4:16

Re: [Zope] writing permissions broken

2005-09-04 Thread Chris McDonough
Hi, please try to keep this on the list (if only to give other folks the benefit of being able to read the conclusion, if there gets to be one ;-) I don't know what "with a newly installed page" nor "the old one" in your sentence below means. Can you explain? On Mon, 2005-09-05 at 16:28 +1000, M

Re: [Zope] writing permissions broken

2005-09-04 Thread Chris McDonough
If you're on Linux/UNIX, try doing this from a command line: zopectl adduser admin2 admin2 And try to log in as admin2, admin2. On Sep 5, 2005, at 1:08 AM, Michael Lindner wrote: Hi, for some reason I can no longer use any scripts to create zope objects, including the example scripts. Whene

Re: [Zope] Finding and killing the POSKeyError in ZODB

2005-09-03 Thread Chris McDonough
Apparently "app" is a function in wherever you're doing that, which just isn't right. If you use "zopectl debug", "app" should be a Zope "Application" object. If it isn't... uh... well... something else besides the POSKeyErrors are wrong. ;-) On Sat, 2005-09-03 at 16:23 -0400, Jake wrote: > I ha

RE: [Zope] Zope scalabilty and problems

2005-09-01 Thread Chris McDonough
Zope version 2.7.3 (planning to goto 2.7.7 soon with ZODB 3.2.9) > Pyhton is 2.3.4 > Apache 1.3 > > We have 943 users as of this minute with a bout 1000 objects being created a > day (Lots of creates) > > -Original Message- > From: Chris McDonough [mailto:[EMAIL

Re: [Zope] Zope scalabilty and problems

2005-09-01 Thread Chris McDonough
Your "tranaaction blocked" error messages seem to imply that either or both of the following is true: - some transactions are taking a "long time" (any more than, say, 200 milliseconds is a long time) - you have a very high transaction volume. That said, these messages are informational rather

RE: [Zope] Help need for a Zope presentation to java lovers...

2005-08-17 Thread Chris McDonough
On Wed, 2005-08-17 at 16:02 +0100, Pascal Peregrina wrote: > Hi Chris, > > Ooops... Reading your reply shows me that I was unclear ;) > > Zope will be the CMS system of the architecture (so it will render HTML). Ah. Well, it's not too bad at doing that either. ;-) > I only meant that it would

Re: [Zope] Help need for a Zope presentation to java lovers...

2005-08-17 Thread Chris McDonough
Zope excels at providing web services via XML-RPC. Basically: - You need to do exactly nothing to make a Zope application accessible via XML-RPC. - When Zope isn't responsible for rendering HTML, it can be quite fast. - Zope is capable of interfacing transactionally with many data stores.

Re: [Zope] funny-looking events in the event.log

2005-08-10 Thread Chris McDonough
This typically is indicative of a user pressing their stop button on a page before it has been fully downloaded. I really should take time out to figure out how to prevent it from logging this scary message, but in the meantime it's assumed to be harmless. - C On Wed, 2005-08-10 at 17:38 -0400

Re: [Zope] Database Connections

2005-08-10 Thread Chris McDonough
There is probably a (real) RDB connection per Zope thread times the number of database connection objects that are in use in your ZODB. Or something equally baffling. ;-) - C On Wed, 2005-08-10 at 16:41 -0400, Asad Habib wrote: > Has anyone had problems with Zope hanging on to database connectio

Re: [Zope] large installations and conflict errors

2005-08-08 Thread Chris McDonough
I can't provide any specific advice but you may want to read the "Scaling Zope" proposal that this points to: http://www.plope.com/Members/chrism/scalingzope/view Note that sessions are a frequent source of conflict errors. If you use them, you may want to upgrade to Zope 2.8.1, which has MVCC f

Re: [Zope] ZODB BTrees File Storage error on start up

2005-08-08 Thread Chris McDonough
Hmm... not sure what causes this (did you upgrade ZODB versions?) but you may try: 1. Shut down Zope (or ZEO if you use that). 2. find your Data.fs file 3. Delete the file beside it named Data.fs.index 4. Restart Zope (or ZEO). See if the error goes away.. FileStorage builds an index of oid t

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Chris McDonough
On Wed, 2005-08-03 at 23:02 +0200, Maciej Wisniowski wrote: > Previously you've written that: > > "Zope 2.8.0 ships with a "TemporaryStorage" > implementation (used by sessions in the default > configuration) which does not implement MVCC. > The one in 2.8.1 (now in beta) and better will > impl

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Chris McDonough
I've lost context here... is this good or bad? ;-) On Wed, 2005-08-03 at 16:32 +0200, Maciej Wisniowski wrote: > > It might. ZEO adds network overhead to ZODB transactions, > > which generally increases the likelihood of conflict errors. > > I've created ZEO and executed the same test > with my

Re: [Zope] Zope 2.8 and conflict errors

2005-08-01 Thread Chris McDonough
Hi Maciej, I can't speak to the 500 errors you're receiving but Zope 2.8.0 ships with a "TemporaryStorage" implementation (used by sessions in the default configuration) which does not implement MVCC. The one in 2.8.1 (now in beta) and better will implement MVCC, so you *should* see performance i

Re: [Zope] Does Plone need the Zope CMF?

2005-07-27 Thread Chris McDonough
Yes, it does (heavily). See http://plone.org/documentation/how-to/setup-from-source - C On Wed, 2005-07-27 at 20:57 +0100, michael nt milne wrote: > Hi > > This isn't clear to me. I've installed Zope and Python from source but > do I need to also install the Zope CMF for Plone to run properly

Re: [Zope] where is Zope-2.7.6

2005-07-09 Thread Chris McDonough
I think you're going to need to guess the URL at the moment (shouldn't be too hard)... the releases are there, they just don't show up in the old releases list. On Sat, 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

Re: [Zope] Re: zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error

2005-07-04 Thread Chris McDonough
If you dont think it's file permissions, one thing this could also be... is your data.fs on an NFS partition? flock doesn't work well on NFS. On Mon, 2005-07-04 at 21:38 +, Jeff Kowalczyk wrote: > Chris McDonough wrote: > > File permissions. The user who is the effective

Re: [Zope] zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error

2005-07-04 Thread Chris McDonough
File permissions. The user who is the effective user does not have permission to overwrite the Data.fs.lock file. On Mon, 2005-07-04 at 15:29 +, Jeff Kowalczyk wrote: > I am trying to use 'zopectl debug' for the first time with zope-2.8.0, > local ZEO setup. It worked fine with zope-2.7.x and

Re: [Zope] WebDAV

2005-06-28 Thread Chris McDonough
Note that MS has a Webfolders "fixer" program, see: http://chapters.marssociety.org/webdav (beginning "Some Windows XP machines have a broken Web Folders installation. Microsoft includes a Web Folders repair utility built in to Windows to correct the problem. Use the following steps to fix the pro

Re: [Zope] Re: External editor for ZMI

2005-06-28 Thread Chris McDonough
> I've been following this discussion with some interest as I have never > been able to get ExternalEditor to work for me. Now, that said, I have > it confiured enough that it will present me with an editor and a file > (WinWord) by clicking on the pencil. But I am confused on two points: > 1.)

Re: [Zope] Re: WebDAV

2005-06-28 Thread Chris McDonough
On Tue, 2005-06-28 at 03:57 -0400, Tres Seaver wrote: > The Windows WebFolder implementation has been non-compliant with the DAV > spec from the beginning, and further broken in various ways in each version. > > The usual recommendation is to buy an alternative, e.g. Enfold Systems' > PloneDesktop

Re: [Zope] Re: External editor for ZMI

2005-06-27 Thread Chris McDonough
On Mon, 2005-06-27 at 21:14 +0200, Josef Meile wrote: > > Do you mean this? > > > > http://plope.com/software/ExternalEditor > > > > Are there any screen shots of it in action? > > > > I'm not exactly sure how it works, but have feeling it won't work for me. > Yes, that's what Paul meant. I trie

Re: [Zope] ZPT tutorial

2005-06-22 Thread Chris McDonough
The Zope Book says this in its preface FWIW: To make effective use of the book, you should know how to use a web browser and you should have a basic understanding of HTML (Hyper Text Markup Language) and URLs (Uniform Resource Locators). You don't need to be a highly-skilled programmer in order to

Re: [Zope] Zope External Editor Problem

2005-06-21 Thread Chris McDonough
Yeah, apparently 0.8 (and 0.9) writes some defaults into the homedir file if it doesn't find it there instead of copying over what exists. Maybe it should not do this. On Tue, 2005-06-21 at 13:06 -0600, [EMAIL PROTECTED] wrote: > Hi Chris. The ini that I was editing is located at: > > c:\progra

Re: [Zope] Zope External Editor Problem

2005-06-21 Thread Chris McDonough
Where is the ZopeEdit.ini file you're editing? According to the 0.8 code it should pick up the editor defined in the config file up and use it exclusively in preference to any extension- or content/type- related executables. The code first looks in: os.path.expanduser('~\\ZopeEdit.ini') (which

Re: [Zope] New External Editor release 0.9

2005-06-21 Thread Chris McDonough
; it everything got downloaded of the 1.7Mb (or whatever it was exactly) > > but when I tried doubleclicking it it complained about being corrupt. > > > > Has anybody else had similar problems? > > > > On 6/21/05, Chris McDonough <[EMAIL PROTECTED]> wrote: > &

[Zope] New External Editor release 0.9

2005-06-20 Thread Chris McDonough
Since Casey Duncan, the original author of Zope External Editor is happily hacking away on other things at a new job, I figure I might as well pick up maintenance of this product. The new location for External Editor releases will be: http://plope.com/software/ExternalEditor/ A new release (0.

Re: [Zope] accessing session data error

2005-06-20 Thread Chris McDonough
Hi Leticia, Thanks for the detailed bug report. I have tried to replicate the bug as you indicate below but cannot. I've gone through the process you describe ten times without errors (in Zope 2.7.6). If it's possible to simplify the steps to recreate the error, that would be helpful in further

Re: [Zope] ZEO recommended for single-cpu?

2005-06-14 Thread Chris McDonough
Typically it's because: - Zope starts faster in a ZEO setup. - You can use "zopectl debug" to get into a debugger session without shutting down Zope first if you use ZEO. - C On Tue, 2005-06-14 at 11:03 +0200, gabor wrote: > hi, > > i understand that you need to use ZEO when running ZOPE on

Re: [Zope] Zope - WinXP pro x64

2005-06-06 Thread Chris McDonough
I'm pretty sure there's none meant to be. Are you having a problem or are you just doing due diligence? On Mon, 2005-06-06 at 13:33 +0300, George Tesseris wrote: > R there any known compatibility issues regarding Zope(2.7.6) on Windows > XP Pro x64? > > Thanks, > George > __

Re: [Zope] ZEO, sockets and Session bug

2005-06-06 Thread Chris McDonough
There are no known bugs in Zope itself after Zope 2.7.3 consistent with what I *think* your observations are. There can be issues caused by not repersisting mutable data, as Malcom described. But that said, I'm not sure I understand what you mean when you say: - "I have my zope running with a so

RE: [Zope] Silly question

2005-06-02 Thread Chris McDonough
termine it on the fly. > > This way you would not automatically make all attributes that start with > an underscore > accessible, and the developer could specify exceptions. > > -Original Message- > From: Chris McDonough [mailto:[EMAIL PROTECTED] > Sent: Thursday, June

Re: [Zope] Silly question

2005-06-02 Thread Chris McDonough
The DWIM of not disallowing traversal of underscore names is useful (because it makes it easy to conventionally mark attrs as private) but it can definitely be a drag if you really do want to publish something that begins with an underscore; this happens a lot when you need to deal with allowing up

Re: [Zope] Modifying __bases__

2005-05-20 Thread Chris McDonough
You might also be able to do the __bases__ hack with Zope 2.8 (as long as Python 2.3+ allows you to assign to it), as it reimplements ExtensionClass using metaclasses instead of custom C hackery. On Fri, 2005-05-20 at 14:46 -0400, Paul Winkler wrote: > On Fri, May 20, 2005 at 01:48:46PM -0400, Dan

Re: [Zope] Webdav and emacs, eldav, nd problem.

2005-05-20 Thread Chris McDonough
Does a (Script) Python object actually get created or is it another object type like DTML Document when it is initially created? As far as I can tell, it would have to be the latter, as Python Scripts don't allow you to change their content-types (at least via the ZMI). On Fri, 2005-05-20 at 17:0

Re: [Zope] Re: how to accumulate data using ZPT

2005-05-20 Thread Chris McDonough
Use two things: a page template and a Python script... here's an example: page template body -- 1 total python script "sum_of" body --- ## Script (Python) "sum_of" ##bind container=container ##bind context=context ##bind namespace= ##bind script=sc

Re: [Zope] Keyword index search

2005-05-20 Thread Chris McDonough
On Fri, 2005-05-20 at 12:41 +0200, Garito wrote: > Hi all > > I have a ZCatalog object with a keywordindex called keywords > > I would like to search some objects with keywords ['k1', 'k2', k3', > 'k4'] for that I use: > > return context.catalog({'keywords': {'query': ['k1', 'k2', k3', 'k4'],

Re: [Zope] Answer's Time

2005-05-19 Thread Chris McDonough
You may want to use a tool like wget or curl to examine the response from the server for the clicked URL. This could be many things. - C On Thu, 2005-05-19 at 18:37 -0300, Fernando Lujan wrote: > I'm having the following problem and wanna know whether it can be > associated with Zope. > > I ha

Re: [Zope] ZEO and session variables.

2005-05-10 Thread Chris McDonough
t; temp:RW:temporary storage for sessioning > -- > 2005-05-09T22:46:36 INFO(0) zrpc:10285 listening on ('192.168.0.92', 8301) > -- > 2005-05-09T23:01:43 INFO(0) ZSS:10285 new connection ('192.168.0.92', > 57425): > -- > 2005-05-09T23:01:43 INFO

Re: [Zope] Debugging product init with zopectl?

2005-05-07 Thread Chris McDonough
On Fri, 2005-05-06 at 12:48, J Cameron Cooper wrote: > I agree, it would be nice to have zLOG work on startup, but I don't know > how easy/possible that is. FWIW, the reason zLOG doesn't start writing to the log at an earlier time is that it waits until the process can switch effective users. If

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread Chris McDonough
Web Folders pass cookies around too, FWIW, so it's probably not strictly necessary to use http basic auth. But without using http basic auth, there is no way to log in unless you have them go to the web interface first, then launch a web folder, so maybe impractical. - C On Sat, 2005-05-07 at 0

Re: [Zope] ZODB.POSException.ReadConflictError

2005-05-03 Thread Chris McDonough
On Tue, 2005-05-03 at 09:18 -0700, [EMAIL PROTECTED] wrote: I cc'ed Tim Peters on this, perhaps to his chagrin, but he seemed to be interested in this. ;-) > Thank you for that reference (I have an older dead trees version). Now > I understand that these errors happen, but what I don't understan

Re: [Zope] ZODB.POSException.ReadConflictError

2005-05-03 Thread Chris McDonough
On Tue, 2005-05-03 at 11:58 -0400, Tim Peters wrote: > [Chris McDonough] > > This is actually normal. See the end of > > http://www.plope.com/Books/2_7Edition/Sessions.stx ("Conflict Errors") > > for a short explanation. > > Conflict errors are certainly n

Re: [Zope] ZODB.POSException.ReadConflictError

2005-05-03 Thread Chris McDonough
This is actually normal. See the end of http://www.plope.com/Books/2_7Edition/Sessions.stx ("Conflict Errors") for a short explanation. On Tue, 2005-05-03 at 08:00 -0700, [EMAIL PROTECTED] wrote: > I'm getting a ZODB.POSException.ReadConflictError on my Plone 2.0.5 > site (Zope 2.7.3, Python 2.3

Re: [Zope] Memory management problems

2005-04-19 Thread Chris McDonough
Many things could be going on here. I don't know of any outstanding memory leaks in Zope itself. There may be one in Plone or another 3rd-party product you're using. Or you may have created one within your own code. Tracking down memory leaks is hard and it's not clear to even tell you where to

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Chris McDonough
On Tue, 2005-04-12 at 20:01, Richard Jones wrote: > On Wed, 13 Apr 2005 09:44 am, you wrote: > > On Tue, 2005-04-12 at 19:08, Richard Jones wrote: > > > Is there a viable non-versioned alternative to the filestorage approach? > > > My sessions database grows ridiculously quickly. I'm also fairly su

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Chris McDonough
On Tue, 2005-04-12 at 19:08, Richard Jones wrote: > Is there a viable non-versioned alternative to the filestorage approach? My > sessions database grows ridiculously quickly. I'm also fairly sure it's > causing problems when my site gets ~5 requests a second (yes, that low) You could use tempor

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Chris McDonough
On Tue, 2005-04-12 at 18:23, Fernando Lujan wrote: > Please, take a look in what I've done! Is that right? It works pretty > fine here! :-) If it works for you, it's right. ;-) > > If this is right, are there a desire for a how-to? I think I can write > one, once it's pretty simple as you said

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Chris McDonough
Yes. All the information in that article is geared for Zope 2.5 which had no facility for using mounted databases from a config file... everything up until "At this time you should be able to navigate to the /session_storage folder..." in that article can be done by reconfiguring ZEO using zeo.con

Re: [Zope] "The Zope Book"

2005-04-12 Thread Chris McDonough
No, sorry. THe canonical version is on the web. - C On Tue, 2005-04-12 at 04:10, Dario Lopez-KÃsten wrote: > Chris McDonough wrote: > > I don't think anyone has given much thought to actually documenting all > > these nice nifty features in 2.9. Which is no change from

Re: [Zope] Session without cookies.

2005-04-11 Thread Chris McDonough
On Mon, 2005-04-11 at 16:35, Fernando Lujan wrote: > Hi everyone, > > Is there possible to use a Session control without cookies? Yes. > > I already changed the browser_id_manager and unchecked the cookies and > checked the "Automatically Encode Zope-Generated URLs With A Browser Id" > option

Re: [Zope] "The Zope Book"

2005-04-08 Thread Chris McDonough
I don't think anyone has given much thought to actually documenting all these nice nifty features in 2.9. Which is no change from the norm, and it will be a fairly organic process again. I hate it, but whatever. - C On Fri, 2005-04-08 at 11:22, Paul Winkler wrote: > On Fri, Apr 08, 2005 at 10:

Re: [Zope] best practices Zope filesystem development

2005-04-08 Thread Chris McDonough
Yup. http://www.zope.org/Members/mcdonc/Products/Standalone%20Skins%20Tool On Fri, 2005-04-08 at 08:08, bruno modulix wrote: > Andreas Jung wrote: > > > > > > --On Freitag, 8. April 2005 11:30 Uhr +0200 Milos Prudek <[EMAIL > > PROTECTED]> > > wrote: > > > >> Hi, > >> > >> What are the best,

Re: [Zope] ClockServer 0.1 released

2005-04-06 Thread Chris McDonough
On Wed, 2005-04-06 at 11:05, Florent Guillaume wrote: > Chris McDonough <[EMAIL PROTECTED]> wrote: > > I was creeped out by Zope scheduling products that started a separate > > thread to call methods at scheduled intervals and I got tired of setting > > up cron+wget to

Re: [Zope] Multiple Browser Id Managers question

2005-04-05 Thread Chris McDonough
That sentence in the Zope Book should likely be removed. It is inaccurate. It is possible to continue to add browser id managers wherever you'd like. Doing so doesn't do anything "bad" (except maybe confuse people). On Tue, 2005-04-05 at 15:46, David H wrote: > Hi Zope List, > > The current SE

Re: [Zope] ClockServer 0.1 released

2005-04-02 Thread Chris McDonough
probably a lot simpler to use than something like Xron. On Fri, 2005-04-01 at 16:54, Jonathan Cyr wrote: > Am I getting this this is what Zron should have been? > > -Jon > > Chris McDonough wrote: > > On Fri, 2005-04-01 at 02:40, Chris Withers wrote: > > > &

Re: [Zope] ClockServer 0.1 released

2005-04-01 Thread Chris McDonough
On Fri, 2005-04-01 at 02:40, Chris Withers wrote: > Chris McDonough wrote: > > It works by posing as a medusa server, and injects things that look like > > http requests into the publisher every so often. > > Isn't that effectively just creating a seperate thread t

[Zope] ClockServer 0.1 released

2005-03-31 Thread Chris McDonough
Hi folks, I was creeped out by Zope scheduling products that started a separate thread to call methods at scheduled intervals and I got tired of setting up cron+wget to call Zope methods via HTTP, thus: http://plope.com/software/ClockServer It works by posing as a medusa server, and injects thi

Re: [Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Chris McDonough
Hmmm. I have a feeling that this may be related to a DNS lookup problem in user folders that was solved in Zope 2.3. Is it feasible for you to try 2.3? - Original Message - From: "Matt Gushee" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]&

Re: [Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Chris McDonough
If you visit localhost via the IP address (127.0.0.1), do you experience the same problem? - Original Message - From: "Matt Gushee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 31, 2001 3:16 PM Subject: [Zope] Extremely slow connection on local network (Zope 2.2.5

Re: [Zope] Need zope sales training :)

2001-01-31 Thread Chris McDonough
I think something like this has already been done quite nicely in Zope: http://www.hiretechs.com, although to look at how it actually works I think you'd need to get a login. - Original Message - From: "Tom Jenkins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 31,

[Zope] Re: sessions/noundo dbs/mounting/exmount

2001-01-31 Thread Chris McDonough
> thanks for the prompt replies. to recap, i have > -Berkeley DB > -External Mount > -something that i'm not too sure of :) > > as i see it, i can use External mount to mount berkeley Db. that will then > give me a nonundo, nonversioning db.. right? Well, I know you're using ZEO with a FileStor

Re: [Zope] Fwd: What group is user "zope" in, and what is its home dir?

2001-01-31 Thread Chris McDonough
This depends almost entirely on your installation. See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO for more information (and a particular strategy) for setting UNIX permissions for Zope. - Original Message - From: "Deja User" <[EMAIL PROTECTED]> To: <[EMAIL P

Re: [Zope] CoreSessionTracking timeout

2001-01-31 Thread Chris McDonough
Oliver, > If timeout expires I expect > 'Before change:' to be empty again, thus generating a new token. But it > isn't. It still uses the old token. What's going on? Just for clarification: core session tracking tokens don't expire. Session data objects associated with tokens expire. See the

Re: [Zope] compress data.fs

2001-01-31 Thread Chris McDonough
Control_Panel->Database->Pack. - Original Message - From: "Olaf Zanger" <[EMAIL PROTECTED]> To: "Zope Mailinglist" <[EMAIL PROTECTED]> Sent: Wednesday, January 31, 2001 6:43 AM Subject: [Zope] compress data.fs > hi there, > > my data.fs grew to formidable 42MB, since we'd deleted quite

Re: [Zope] noundo dbs

2001-01-30 Thread Chris McDonough
ed undo and versioning), but I'm going to see if I can get the packless piece onto Zope.org without waiting for the rest of it. - Original Message - From: "Chris McDonough" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January

Re: [Zope] CoreSessionTracking and noundo db

2001-01-30 Thread Chris McDonough
I think this howto is still applicable: http://www.zope.org/Members/andyd/zopeberkeleydb - Original Message - From: "Bak@kedai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 30, 2001 9:28 PM Subject: [Zope] CoreSessionTracking and noundo db > hi > in trying out th

Re: [Zope] CoreSessionTracking and noundo db

2001-01-30 Thread Chris McDonough
Oops, I forgot to mention ExternalMount: http://www.zope.org/Members/hathawsh/ExternalMount - Original Message - From: "Bak@kedai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 30, 2001 9:28 PM Subject: [Zope] CoreSessionTracking and noundo db > hi > in trying out

Re: [Zope] ANN: Core Session Tracking 0.7

2001-01-30 Thread Chris McDonough
> servlet world too), when a session starts and ends, you can associate an > event with it. So this allows you to use the session space as sort of a > scratchpad for use when a user comes in. At start time, you copy over some > user state to the session object (based on authentication informatio

Re: [Zope] ANN: Core Session Tracking 0.7

2001-01-30 Thread Chris McDonough
> >A new release of the "CoreSessionTracking" product is out. The product > >allows you to associate state with anonymous visitors between requests. > > I've been wondering about this for a long time. It allows you to associate > state with anonymous users. Does this imply that you can't associat

<    1   2   3   4   5   6   >