ZServer uncaptured python exception
Greetings: I am writing to you - again :( - kindly requesting to look into this old problem. There has been an attempt to solve the problem (Chris McDonough's answer to Philipp Giere), but HTTP and PCGI Servers are still in shamble. The environment: System = SunOS Release = 5.8 Zope Version = 2.5.1 (Chris McDonough's patch r1.21 FTPServer.py installed) Zope startup script: #!/usr/bin/ksh # # added Thu Jun 13 12:47:42 PDT 2002 # export ORACLE_HOME=/opt/oracle/OraHome1 export ORACLE_SID=gp9i01 export LD_LIBRARY_PATH=$ORACLE_HOME/lib # # end Thu Jun 13 12:48:36 PDT 2002 # reldir=`dirname $0` INST_HOME=`cd $reldir; pwd` export INST_HOME exec /usr/zope/bin/python \ $INST_HOME/z2.py \ -D "$@" The error: ------ 2002-07-31T15:27:02 ERROR(200) ZServer uncaptured python exception, closing chan nel <ZServer.HTTPServer.zhttp_channel connected 15.112.17.245:1059 at 0x9f7eac c hannel#: 0 requests:> (socket.error:(11, 'Resource temporarily unavailable') [/u sr/zope/ZServer/medusa/asynchat.py|handle_read|82] [/usr/zope/ZServer/medusa/htt p_server.py|recv|420] [/usr/zope/ZServer/medusa/asyncore.py|recv|357]) ------ 2002-07-31T15:27:02 ERROR(200) ZServer uncaptured python exception, closing chan nel <ZServer.PCGIServer.PCGIServer listening '/usr/zope/var/pcgi.soc' at 0x9f7d9 4> (exceptions.TypeError:unpack non-sequence [/usr/zope/ZServer/medusa/asyncore. py|poll|94] [/usr/zope/ZServer/medusa/asyncore.py|handle_read_event|385] [/usr/z ope/ZServer/PCGIServer.py|handle_accept|319]) ------ 2002-07-31T15:27:02 PROBLEM(100) ZServer warning: server accept() threw EWOULDBL OCK ------ ------ Consequences: Web goes into an infinite loop with CPU at >90% Work around: Bounce the server (what if you are not around???) Thank you for your timely response to this matter. Regards, Alex Ganus.
Alex, Please don't post in HTML. That was a truly horrible font... Alex Ganus wrote:
McDonough's answer to Philipp Giere), but HTTP and PCGI Servers are still in shamble.
PCGI is a shambles full stop, don't use it ;-)
Zope Version = 2.5.1 (Chris McDonough's patch r1.21 FTPServer.py installed)
What version of python are you using?
Bounce the server (what if you are not around???)
Right a cron job to restart it every 1hr.
Thank you for your timely response to this matter.
Huh? Are you paying me? If so, then you can ask me to be timely... Chris
Hi Chris: Thank you for your answer. Evidently, I have the wrong perception about Zope Corporation. My impression was that Zope was the "Next Linux" and, although started by enthusiasts, now was a fully developed, commercial grade, application. I was in process of convincing some of my large organization customers that Zope was a viable alternative to IBM or Documentum, for content management. My opinions were reinforced by the fact that Zope provides Service Support Agreements and offer training classes on a tune of $2,500/person. I also understand that there are still many volunteers, but with a future earning potential in sight the dedication may not be altogether altruistic. Hopefully, you are aware that any mature product in the industry has to have a bug reporting mechanism. The bugs need not to be fixed instantly - just their submittal acknowledged. A work around is an acceptable alternative, especially when is delivered by an engineer with a clear judgment. To shutdown the site for an hour or to reduce the usage of the product to some feature is, alas, not an acceptable solution. I do not expect you to like my fonts or style - our mutual feelings are in perfect harmony there. If it matters, I am using Python 1.5.2 on sunos5. Alex Ganus -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Thursday, August 01, 2002 3:29 AM To: alex_ganus@att.net Cc: zope@zope.org; chrism@zope.com Subject: Re: [Zope] ZServer uncaptured python exception Alex, Please don't post in HTML. That was a truly horrible font... Alex Ganus wrote:
McDonough's answer to Philipp Giere), but HTTP and PCGI Servers are still in shamble.
PCGI is a shambles full stop, don't use it ;-)
Zope Version = 2.5.1 (Chris McDonough's patch r1.21 FTPServer.py installed)
What version of python are you using?
Bounce the server (what if you are not around???)
Right a cron job to restart it every 1hr.
Thank you for your timely response to this matter.
Huh? Are you paying me? If so, then you can ask me to be timely... Chris
Evidently, I have the wrong perception about Zope Corporation. My impression was that Zope was the "Next Linux" and, although started by enthusiasts, now was a fully developed, commercial grade, application. I was in process of convincing some of my large organization customers that Zope was a viable alternative to IBM or Documentum, for content management. My opinions were reinforced by the fact that Zope provides Service Support Agreements and offer training classes on a tune of $2,500/person.
Please note that Chris Withers (to whom you are responding) does not work for Zope Corporation.
Hopefully, you are aware that any mature product in the industry has to have a bug reporting mechanism. The bugs need not to be fixed instantly - just their submittal acknowledged. A work around is an acceptable alternative, especially when is delivered by an engineer with a clear judgment. To shutdown the site for an hour or to reduce the usage of the product to some feature is, alas, not an acceptable solution.
The bug reporting mechanism for Zope exists at http://collector.zope.org.
If it matters, I am using Python 1.5.2 on sunos5.
I saw that you said you used a patched version of FTPServer.py created by me... where did you obtain this from? cvs.zope.org? Or from an attachment to a post on the maillist? Did you use this version because it was claimed that it fixes a bug similar to the one that you're currently seeing? Thanks, - C
Alex Ganus wrote:
Hopefully, you are aware that any mature product in the industry has to have a bug reporting mechanism.
Maybe you're unaware of http://collector.zope.org?
- just their submittal acknowledged. A work around is an acceptable alternative, especially when is delivered by an engineer with a clear judgment. To shutdown the site for an hour or to reduce the usage of the product to some feature is, alas, not an acceptable solution.
You sound like you're paying for support here. Are you? BTW, have you read "The Cathedral and the Bazaar"?
I do not expect you to like my fonts or style - our mutual feelings are in perfect harmony there.
This is an explicitly non-HTML list.
If it matters, I am using Python 1.5.2 on sunos5.
So, with any commercial software, they'd tell you to g jump for using an unsupported platform ;-) You really shouldn't be using Python 1.5.2 with Zoep 2.5.1. you should be using Python 2.1.3. Are you compiling from source? As for PCGI, don't use it, stick Apache in front and use ProxyPass and/or rewrite rules... cheers, Chris
Chris & Chris: Thank you for your time and suggestions. The problem went away. * I have upgraded to Python 2.2.1 (compilation). You still get the error with "python exception" but it looks benign as the server goes on in its merry ways. * Moving to Apache was another story as that too, needed an upgrade to 2.x - to solve some virtual hosts klutziness. Once I ran Zope through Apache everything was dandy. Suppose that I am an average Joe (which might not be far from reality) that is unhappy with the Web interface that Oracle put in front of its server. I am looking for a better Web interface and learned about Zope. I am just trying to do a quick evaluation (normal under circumstances) of Zope. INSTALL.txt says that "Using ZServer is much easier..." Well, I am running in all kind of problems that are *not* obvious if you are a dilettante. I can tell now that Zope is a great product with an exceptional potential. But so was UNIX (vs. Microsoft.) I know that you guys are besieged with many problems. However, at least a compatibility matrix ought to be included in the installation instructions. That is, of course, if you ask me :-) Many thanks and Good Luck! Alex Ganus. -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Thursday, August 01, 2002 9:31 AM To: alex_ganus@att.net Cc: zope@zope.org; chrism@zope.com Subject: Re: [Zope] ZServer uncaptured python exception Alex Ganus wrote:
Hopefully, you are aware that any mature product in the industry has to have a bug reporting mechanism.
Maybe you're unaware of http://collector.zope.org?
- just their submittal acknowledged. A work around is an acceptable alternative, especially when is delivered by an engineer with a clear judgment. To shutdown the site for an hour or to reduce the usage of the product to some feature is, alas, not an acceptable solution.
You sound like you're paying for support here. Are you? BTW, have you read "The Cathedral and the Bazaar"?
I do not expect you to like my fonts or style - our mutual feelings are in perfect harmony there.
This is an explicitly non-HTML list.
If it matters, I am using Python 1.5.2 on sunos5.
So, with any commercial software, they'd tell you to g jump for using an unsupported platform ;-) You really shouldn't be using Python 1.5.2 with Zoep 2.5.1. you should be using Python 2.1.3. Are you compiling from source? As for PCGI, don't use it, stick Apache in front and use ProxyPass and/or rewrite rules... cheers, Chris
Hi Alex, The next version of Zope sends a message to the console if you're trying to run with the wrong version of Python. I think that this was your original problem, so I'll consider it fixed. ;-) - C On Sun, 2002-08-04 at 15:47, Alex Ganus wrote:
Chris & Chris:
Thank you for your time and suggestions.
The problem went away.
* I have upgraded to Python 2.2.1 (compilation). You still get the error with "python exception" but it looks benign as the server goes on in its merry ways. * Moving to Apache was another story as that too, needed an upgrade to 2.x - to solve some virtual hosts klutziness. Once I ran Zope through Apache everything was dandy.
Suppose that I am an average Joe (which might not be far from reality) that is unhappy with the Web interface that Oracle put in front of its server. I am looking for a better Web interface and learned about Zope. I am just trying to do a quick evaluation (normal under circumstances) of Zope. INSTALL.txt says that "Using ZServer is much easier..." Well, I am running in all kind of problems that are *not* obvious if you are a dilettante.
I can tell now that Zope is a great product with an exceptional potential. But so was UNIX (vs. Microsoft.) I know that you guys are besieged with many problems. However, at least a compatibility matrix ought to be included in the installation instructions.
That is, of course, if you ask me :-)
Many thanks and Good Luck!
Alex Ganus.
-----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Thursday, August 01, 2002 9:31 AM To: alex_ganus@att.net Cc: zope@zope.org; chrism@zope.com Subject: Re: [Zope] ZServer uncaptured python exception
Alex Ganus wrote:
Hopefully, you are aware that any mature product in the industry has to have a bug reporting mechanism.
Maybe you're unaware of http://collector.zope.org?
- just their submittal acknowledged. A work around is an acceptable alternative, especially when is delivered by an engineer with a clear judgment. To shutdown the site for an hour or to reduce the usage of the product to some feature is, alas, not an acceptable solution.
You sound like you're paying for support here. Are you? BTW, have you read "The Cathedral and the Bazaar"?
I do not expect you to like my fonts or style - our mutual feelings are in perfect harmony there.
This is an explicitly non-HTML list.
If it matters, I am using Python 1.5.2 on sunos5.
So, with any commercial software, they'd tell you to g jump for using an
unsupported platform ;-)
You really shouldn't be using Python 1.5.2 with Zoep 2.5.1. you should be using Python 2.1.3. Are you compiling from source?
As for PCGI, don't use it, stick Apache in front and use ProxyPass and/or rewrite rules...
cheers,
Chris
participants (3)
-
Alex Ganus -
Chris McDonough -
Chris Withers