[Zope-dev] Grrr... Python Scripts

2001-05-03 Thread Chris Withers
Hi Evan zope-dev'ers, Hope you can help, and pre-emptive apologies for the bad mood I'm in :-S I want to do: try: acatalog.searchResults(aDict) except CatalogError,e: print Something bad happened: ,e Where should I import CatalogError from? And _please_ don't tell me I have to

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris Withers
Hmmm... saw these in the stupid log, just before the server crashed: -- 2001-05-03T10:09:34 INFO(0) Z2 CONFLICT Competing writes at, /VirtualHostBase/http/server.nipltd.com:80/VirtualHostRoot/folder/object Traceback (innermost last): File

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris Withers
Good morning, I presume? :-) Chris McDonough wrote: This probably isn't meaningful... unless it is. ;-) Huh? Conflict errors are normal... I wish they wouldn't be so big and have an UPPERCASE word in their description. OK, but I did notice them just before the server died. Maybe now

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris McDonough
Chris Withers wrote: Good morning, I presume? :-) Present! This probably isn't meaningful... unless it is. ;-) Huh? This is a Jim Fultonism. In English, it means this is probably not meaningful. Conflict errors are normal... I wish they wouldn't be so big and have an UPPERCASE

RE: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Tim McLaughlin
Sorry, Chris M, didn't mean to get you stuck in the documentation torture chamber ;-) Cheers, Tim -Original Message- From: Michel Pelletier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 11:58 PM To: Chris McDonough Cc: Tim McLaughlin; Chris Withers; [EMAIL PROTECTED]

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Chris Withers
Chris McDonough wrote: You can also use cumulative reporting to sort by hangs: requestprofiler.py your.log.file --cumulative --sort=hangs python requestprofiler.py my.log --cumulative --sort=hangs out2.txt resulted in: Traceback (innermost last): File requestprofiler.py, line 586,

[Zope-dev] another Zope hanging..

2001-05-03 Thread Christian Scholz
Hi! I also now have some problems with a hanging zope. I got something like this in my stupid logfile: 2001-05-03T13:44:39 ERROR(200) ZServer uncaptured python exception, closing channel select-trigger (pipe) at 81d64c8 (exceptions.OSError:[Errno 11] Die Ressource ist zur Zeit nicht

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Chris McDonough
What Python version are you using? - Original Message - From: Christian Scholz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 11:05 AM Subject: [Zope-dev] another Zope hanging.. Hi! I also now have some problems with a hanging zope. I got something like this

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Chris McDonough
Please apply this patch, sorry! *** requestprofiler.py 2001/04/26 02:51:49 1.3 --- requestprofiler.py 2001/05/03 15:12:13 *** *** 269,276 i2 = i + 1 v1 = all[i] v2 = all[i2] ! if v1 == NA or v2 == NA: return I

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Christian Scholz
Hi! What Python version are you using? That's 1.5.2 MySQLDA is MySQL-python-0.3.3.tar.gz and ZMySQLDA-2.0.4.tar.gz (if this makes any problems..) Zope is 2.3.1 as suerly have noticed.. :) cheers, christian - Original Message - From: Christian Scholz [EMAIL PROTECTED] To:

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Christian Scholz
Maybe another general question: How are exceptions handled which appear in your own products and you don't catch them? Is there some except somewhere on top ? How does this look if you're using ZPatterns with your own attribute providers (as I do with my sql attribute provider). Are these all

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Chris McDonough
Maybe another general question: How are exceptions handled which appear in your own products and you don't catch them? Is there some except somewhere on top ? Yes, in ZPublisher, there's an exception hook. I don't know more about it than that. How does this look if you're using

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Chris McDonough
Alright... so you're getting an OSError 11, and you're using Zope 2.3.1. errno 11 is temporarily unavailable which means about as much as foobar feeblefar as far as I'm concerned ;-). Though you've said the -M log isn't helpful here, I think it is. If this is happening when a certain method is

[Zope-dev] ANN: Proposal ContentNegotiation

2001-05-03 Thread Andreas Jung
Hi folks, feel free to review and comment the proposal for extending the content negotiation capabilities of Zope: http://dev.zope.org/Wikis/DevSite/Proposals/HTTPContentNegotiation Cheers, Andreas Digital Creations ___ Zope-Dev maillist -

Re: [Zope-dev] ANN: Proposal ContentNegotiation

2001-05-03 Thread Toby Dickenson
On Thu, 3 May 2001 11:45:58 -0400, Andreas Jung [EMAIL PROTECTED] wrote: Hi folks, feel free to review and comment the proposal for extending the content negotiation capabilities of Zope: http://dev.zope.org/Wikis/DevSite/Proposals/HTTPContentNegotiation Cheers, Andreas Digital Creations

Re: [Zope-dev] ANN: Proposal ContentNegotiation

2001-05-03 Thread Toby Dickenson
On Thu, 03 May 2001 17:14:28 +0100, Toby Dickenson [EMAIL PROTECTED] wrote: On Thu, 3 May 2001 11:45:58 -0400, Andreas Jung [EMAIL PROTECTED] wrote: http://dev.zope.org/Wikis/DevSite/Proposals/HTTPContentNegotiation http://www.zope.org/Members/htrd/wstring Ive expressed before that I would

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Tino Wildenhain
Hi, most problems with hanging zope come from external RDBMS-access. You wont see anything useful in the logs because there are some objects published before the *sql-method is hanging. If you have a monitor program for your database, you see many blocks on tables or rows during this times. I

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Chris McDonough
Hi, most problems with hanging zope come from external RDBMS-access. Lots do, but lots don't... You wont see anything useful in the logs because there are some objects published before the *sql-method is hanging. If you see a request come into ZServer, and you see the request go into

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Christian Scholz
Hi! most problems with hanging zope come from external RDBMS-access. Lots do, but lots don't... You wont see anything useful in the logs because there are some objects published before the *sql-method is hanging. If you see a request come into ZServer, and you see the request go

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Chris McDonough
Well, my problem might be that in my case most sql statement are done inside some attribute provider of ZPatterns.. This is using ZSQL methods internally but actually those then won't show up I guess.. Even if you weren't using ZPatterns, the error probably wouldn't jump out and say here I

Re: [Zope-dev] another Zope hanging..

2001-05-03 Thread Dieter Maurer
Christian Scholz writes: I also now have some problems with a hanging zope. I got something like this in my stupid logfile: 2001-05-03T13:44:39 ERROR(200) ZServer uncaptured python exception, closing channel select-trigger (pipe) at 81d64c8 (exceptions.OSError:[Errno 11] Die

[Zope-dev] CopySupport bug

2001-05-03 Thread Casey Duncan
There is a subtle bug in the CopySupport module that makes it impossible to copy and paste a folder that contains a ZCatalog with CatalogAware objects in indexed in the catalog also in that folder. The reason is as follows, CopySupport calls a hookable method manage_afterClone (which is hooked by

[Zope-dev] determining database manager type from z database connection?

2001-05-03 Thread Kent Polk
Is there a generic way to determine what 'brand' of database manager a Zope database connection is connected to by interrogating the connection object? I couldn't see anything in the source and I also walked a connection object using the debugger and couldn't locate any non-specific way to

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Michel Pelletier
On Thu, 3 May 2001, Chris McDonough wrote: It's no problem, especially as Michel had insomnia last night and did it. ;-) My best stuff comes out when I can't sleep. Those of you who are interested in looking at it, check out the ever-growing Zope Developer's Guide (shame on you if you

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Michel Pelletier
On Thu, 3 May 2001, Michel Pelletier wrote: On Thu, 3 May 2001, Chris McDonough wrote: It's no problem, especially as Michel had insomnia last night and did it. ;-) My best stuff comes out when I can't sleep. Those of you who are interested in looking at it, check out the

Re: [Zope-dev] determining database manager type from z database connection?

2001-05-03 Thread Andreas Heckel
Kent Polk wrote: Is there a generic way to determine what 'brand' of database manager a Zope database connection is connected to by interrogating the connection object? dtml-in SQLConnectionIDs bID:/bdtml-var sequence-key btitle:/bdtml-var _.getitem(_['sequence-item']).title