[Zope-dev] favicon.ico for 2.10?

2006-04-24 Thread Lennart Regebro
I find all these errors that Zope can't find a favicon.ico pretty
annoying. Can we put one into 2.10s root by default, or is that for
some reason a bad idea?
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] favicon.ico for 2.10?

2006-04-24 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 24 Apr 2006, at 10:59, Lennart Regebro wrote:


I find all these errors that Zope can't find a favicon.ico pretty
annoying. Can we put one into 2.10s root by default, or is that for
some reason a bad idea?


+1 from me. The circle-Z should make an OK icon.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFETKKIRAx5nvEhZLIRAuFSAJ4kKnO4Lmi1FqjQ06cLLs2uteE8vwCfeoCo
9DP7MzN+zx7xKnOcto/SkQM=
=Tgem
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] favicon.ico for 2.10?

2006-04-24 Thread Andreas Jung



--On 24. April 2006 11:59:40 +0200 Lennart Regebro [EMAIL PROTECTED] 
wrote:



I find all these errors that Zope can't find a favicon.ico pretty
annoying. Can we put one into 2.10s root by default, or is that for
some reason a bad idea?



No objections.

-aj

--
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope  Plone development, Consulting


pgphJoPIOl2iR.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread Philipp von Weitershausen

Lennart Regebro wrote:

I find all these errors that Zope can't find a favicon.ico pretty
annoying. Can we put one into 2.10s root by default, or is that for
some reason a bad idea?


+1

Zope 3 has a decent one, I think: 
http://svn.zope.org/Zope3/trunk/src/zope/app/rotterdam/favicon.png?rev=13888view=auto


Philipp

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 24 Apr 2006, at 11:43, Philipp von Weitershausen wrote:


Lennart Regebro wrote:

I find all these errors that Zope can't find a favicon.ico pretty
annoying. Can we put one into 2.10s root by default, or is that for
some reason a bad idea?


+1

Zope 3 has a decent one, I think: http://svn.zope.org/Zope3/trunk/ 
src/zope/app/rotterdam/favicon.png?rev=13888view=auto


Yeah, that's nice. Does it work as a PNG, though? I was under the  
impression (and thought  the spec requires) that favicons must be  
*.ico files.


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFETKwARAx5nvEhZLIRAlaDAKCZfT20jfrLVkXCNriQI1rn3sn10ACeL7L8
kXc/xFO+GQ9M1PK1rPgxYFU=
=+CE0
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread kit BLAKE
2006/4/24, Jens Vagelpohl [EMAIL PROTECTED]:
 Yeah, that's nice. Does it work as a PNG, though? I was under the
 impression (and thought  the spec requires) that favicons must be
 *.ico files.

A PNG favicon will work in the Mozilla family, but not in IE.
kit


--
kit BLAKE
Infrae · infrae.com + 31 10 243 7051
Hoevestraat 10 · 3033GC · Rotterdam · The Netherlands
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread Jens Vagelpohl


On 24 Apr 2006, at 11:57, kit BLAKE wrote:


2006/4/24, Jens Vagelpohl [EMAIL PROTECTED]:

Yeah, that's nice. Does it work as a PNG, though? I was under the
impression (and thought  the spec requires) that favicons must be
*.ico files.


A PNG favicon will work in the Mozilla family, but not in IE.


OK, that would be unacceptable, IMHO. However, the awesome power of  
Graphic Converter helped me produce a ICO file from the PNG, which I  
am attaching to this email (no idea if the list lets it through,  
though).


jens



favicon.ico
Description: Binary data


PGP.sig
Description: This is a digitally signed message part
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread kit BLAKE
2006/4/24, Jens Vagelpohl [EMAIL PROTECTED]:
  A PNG favicon will work in the Mozilla family, but not in IE.

 OK, that would be unacceptable, IMHO. However, the awesome power of
 Graphic Converter helped me produce a ICO file from the PNG, which I
 am attaching to this email (no idea if the list lets it through,
 though).

Works for me (although I'm on an Apple, someone please test with Win/IE))
kit


--
kit BLAKE
Infrae · infrae.com + 31 10 243 7051
Hoevestraat 10 · 3033GC · Rotterdam · The Netherlands
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread Florent Guillaume

kit BLAKE wrote:

2006/4/24, Jens Vagelpohl [EMAIL PROTECTED]:

Yeah, that's nice. Does it work as a PNG, though? I was under the
impression (and thought  the spec requires) that favicons must be
*.ico files.


A PNG favicon will work in the Mozilla family, but not in IE.
kit


However I'd be surprised if a .gif didn't work.

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Reminder: Feature Freeze May 1

2006-04-24 Thread Florent Guillaume

Jim Fulton wrote:

Don't forget that the feature freeze for the June release is May 1!
That is only 10 days away!  New features should be check in in a
*stable* form by then.  While we won't necessarily do a beta release
then, anything checked in for the new release must be ready for a
beta release when it is checked into the trunk.


What's the ETA for merging the various branches? Yours in Z3, Phil's in Z2, 
maybe Five... ?


I'd rather have them sooner than later.

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Reminder: Feature Freeze May 1

2006-04-24 Thread Jim Fulton

Florent Guillaume wrote:

Jim Fulton wrote:


Don't forget that the feature freeze for the June release is May 1!
That is only 10 days away!  New features should be check in in a
*stable* form by then.  While we won't necessarily do a beta release
then, anything checked in for the new release must be ready for a
beta release when it is checked into the trunk.



What's the ETA for merging the various branches? Yours in Z3, Phil's in 
Z2, maybe Five... ?


I'd rather have them sooner than later.


I'll merge mine as soon as I can.  There's some chance that that
will happen today.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: favicon.ico for 2.10?

2006-04-24 Thread Duncan Booth
Florent Guillaume wrote:

 kit BLAKE wrote:
 2006/4/24, Jens Vagelpohl [EMAIL PROTECTED]:
 Yeah, that's nice. Does it work as a PNG, though? I was under the
 impression (and thought  the spec requires) that favicons must be
 *.ico files.
 
 A PNG favicon will work in the Mozilla family, but not in IE.
 kit
 
 However I'd be surprised if a .gif didn't work.
 
So far as I can tell, neither .png nor .gif work for favicon.ico in IE. It 
will display a gif/png named favicon.ico in the browser, but it won't use 
it as an icon on the address bar/favourites.

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


Re: [Zope] Zope crashes on request of certain page

2006-04-24 Thread Andreas Pakulat
On 24.04.06 08:26:02, Sven Jacobs wrote:
 Dieter Maurer schrieb:
 
 Well, for testing I tried to copy the Zope DB (Data.fs.*) into a fresh 
 OpenSuSE 10.0 installation. Zope version there is 2.7.7. It works but now I 
 get an authorization request dialog on every page. Any idea what could have 
 gone wrong during the upgrade?
 Install the product VerboseSecurity and look (tell us) what
 it reports.
 
 Did that! But the authorization dialog did not change. There is no extra 
 information about why an authorization is required. Or where do I find this 
 information?

Have a look at the error_log in your Zope root.

Andreas

-- 
Increased knowledge will help you now.  Have mate's phone bugged.
___
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] keeping files in the local filesystem

2006-04-24 Thread gf
Hi,
I am a Zope newbie and would appreciate some counsel from experienced
Zope users.

I have come across several products (e.g. ExternalFile) for keeping
files in the local filesystem.
I was wondering about the wisdom of keeping objects, such as images,
dtml documents, and page templates, in the local filesystem. On the
face of it, it seems like a good idea since tools like version
control/management and backup software could manage the files
directly.

What do you see as the upsides and downsides?

Thank you for your input.

Best Regards,
gyro
___
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 )


Re: RE : [Zope] zope 2.8.5 becomes unresponsive.

2006-04-24 Thread Erik Myllymaki
I got a chance to try and debug with the the DeadlockDebugger, but it was 
unresponsive...


Still nothing in the event log.

Any other ideas?


Jens Vagelpohl wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 21 Apr 2006, at 07:52, Sébastien VINOT wrote:

I've read documentation about deadlock and apparently the CPU usage
should be high, isn't it ? Because in my case the CPU usage is falling
to 0.0 (while the python process is still alive).


No. Deadlocks cannot be identified by CPU usage. If Zope hangs, there is 
a deadlock. Use the diagnostic methods described in the documents you 
looked up.


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFESJ2iRAx5nvEhZLIRAiQ7AKCdWKcS8d0nh80djOdVNkrtGFzsRACgssng
JNnz286zi8qJMFI4CgQe0iI=
=27JP
-END PGP SIGNATURE-
___
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 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] Re: RE : zope 2.8.5 becomes unresponsive.

2006-04-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Myllymaki wrote:
 I got a chance to try and debug with the the DeadlockDebugger, but it
 was unresponsive...
 
 Still nothing in the event log.
 
 Any other ideas?

You might enable the 'trace_log' option, and then use the
'requestprofiler.py' script to show which requests are failing to complete.

Configuring the log file:

  http://mail.zope.org/pipermail/zope/2005-April/158309.html


To use the profiler:

 $ /path/to/python $ZOPE_HOME/utilities/requestprofiler.py --help



Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFETO48+gerLs4ltQ4RAi2IAKC8vOHl/0ZLXYb82gipl3ehikrKYQCfYv8i
8kIvCFnUYLFsfwmYaiiB4Gg=
=SNAL
-END PGP SIGNATURE-

___
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 )


Re: [Zope] keeping files in the local filesystem

2006-04-24 Thread Dieter Maurer
gf wrote at 2006-4-24 07:28 -0600:
 ...
I have come across several products (e.g. ExternalFile) for keeping
files in the local filesystem.
I was wondering about the wisdom of keeping objects, such as images,
dtml documents, and page templates, in the local filesystem. On the
face of it, it seems like a good idea since tools like version
control/management and backup software could manage the files
directly.

We do it this way (using CMF's SkinTool) and are pleased with
the approach.

-- 
Dieter
___
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 )


Re: [Zope] Zope crashes on request of certain page

2006-04-24 Thread Dieter Maurer
Sven Jacobs wrote at 2006-4-24 08:26 +0200:
Dieter Maurer schrieb:

 Well, for testing I tried to copy the Zope DB (Data.fs.*) into a fresh 
 OpenSuSE 10.0 installation. Zope version there is 2.7.7. It works but 
 now I get an authorization request dialog on every page. Any idea what 
 could have gone wrong during the upgrade?
 
 Install the product VerboseSecurity and look (tell us) what
 it reports.

Did that! But the authorization dialog did not change. There is no extra 
information about why an authorization is required. Or where do I find 
this information?

You read the installation instructions for VerboseSecurity.

It (hopefully) tells you that you have to activate Python
implemented Zope Security,
to reconfigure the error_log object (to not ignore Unauthorized
exceptions) and then to look in the error_log object for
information about the resulting Unauthorized exception.

-- 
Dieter
___
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 unresponsive

2006-04-24 Thread Andy Altepeter
Hey All,

I'm experiencing hanging issues with my Zope-2.8.6+zeo setup/ RHEL 4. The 
hanging isn't categorized by 100% cpu usage. Actually, I had the same issues 
using 2.8.5, but I've upgraded since then.  Here's the situation:

I have one zeo client connected to a zeo server on the same box.  Apache sits 
in front, using RewriteRules to request data from zope.

After some time (could be 2 minutes or an hour), the zeo client stops 
responding.  Apparently this is called a deadlock or a spinning zope.

I've tried using gdb to attach to the zeo client pid, and use the recipe 
http://zopelabs.com/cookbook/1073504990 to print a traceback, but the call 
always aborted with SIGABORT. 

I've captured all of the requests sent to zope during an uptime window (via 
Z2.log), and using wget to replay the requests.  I've also pulled from 
apache's rewrite log all requests proxied to zope, thinking the Z2.log only 
writes finished requests.  I setup another zeo client (on the same box, 
different port) and used wget to replay these captures as well.  Just running 
these captures does not cause zope to hang.  In fact, I have not been able to 
cause zope to hang by replaying.  There doesn't seem to be any one url or 
sequence of urls that cause zope to hang.

I've tried reinstalling the zope instance, but that didn't help.

I've tried using requestprofiler.py to inspect the trace.log.  This shows a 
high number of hangs, but not on a url that actually triggers a spinning 
zope.

Basically, that's where I'm stuck.  Is there anything else I can try?  Am I 
missing something?

Thanks for the help,
Andy
___
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.conf question

2006-04-24 Thread David Pratt
Hi. Is there a way to create an INSTANCE_HOME variable in zope.conf more 
dynamically than hardcoding the path. I want an app to be platform 
portable so this will be different?


Alternatively, I have been considering overriding zope.conf settings for 
use in zope.app.twisted.main and an interested in any suggestion for 
best approach to this.


In z3 services are started with:
service = setup(load_options(args))
args are a list ['-C', '/path/to/my/instance/etc/zope.conf']

In load_options, the default zope.conf.in is looked for else it gives it 
a value of None then options are utilized with options.realize(args)


Regards,
David
___
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] Re: zope unresponsive

2006-04-24 Thread Florent Guillaume

Try DeadlockDebugger.

Florent

Andy Altepeter wrote:

Hey All,

I'm experiencing hanging issues with my Zope-2.8.6+zeo setup/ RHEL 4. The 
hanging isn't categorized by 100% cpu usage. Actually, I had the same issues 
using 2.8.5, but I've upgraded since then.  Here's the situation:


I have one zeo client connected to a zeo server on the same box.  Apache sits 
in front, using RewriteRules to request data from zope.


After some time (could be 2 minutes or an hour), the zeo client stops 
responding.  Apparently this is called a deadlock or a spinning zope.


I've tried using gdb to attach to the zeo client pid, and use the recipe 
http://zopelabs.com/cookbook/1073504990 to print a traceback, but the call 
always aborted with SIGABORT. 

I've captured all of the requests sent to zope during an uptime window (via 
Z2.log), and using wget to replay the requests.  I've also pulled from 
apache's rewrite log all requests proxied to zope, thinking the Z2.log only 
writes finished requests.  I setup another zeo client (on the same box, 
different port) and used wget to replay these captures as well.  Just running 
these captures does not cause zope to hang.  In fact, I have not been able to 
cause zope to hang by replaying.  There doesn't seem to be any one url or 
sequence of urls that cause zope to hang.


I've tried reinstalling the zope instance, but that didn't help.

I've tried using requestprofiler.py to inspect the trace.log.  This shows a 
high number of hangs, but not on a url that actually triggers a spinning 
zope.


Basically, that's where I'm stuck.  Is there anything else I can try?  Am I 
missing something?


Thanks for the help,
Andy
___
Zope maillist  -  [EMAIL PROTECTED]
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 )




--
Florent Guillaume, Nuxeo (Paris, France)   Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
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 )


Re: [Zope] Re: zope unresponsive

2006-04-24 Thread Erik Myllymaki
I'll chime in with a me too ( see me thread within the last week on the same 
list).


I haven't looked into it as deeply as you, but I have tried the 
DeadlockDebugger which itself was inaccessible during the time when zope was 
spinning. Nothing in the logs.


My install is Zope 2.8.5 on RHEL 4 without Zeo.




Florent Guillaume wrote:

Try DeadlockDebugger.

Florent

Andy Altepeter wrote:

Hey All,

I'm experiencing hanging issues with my Zope-2.8.6+zeo setup/ RHEL 4. 
The hanging isn't categorized by 100% cpu usage. Actually, I had the 
same issues using 2.8.5, but I've upgraded since then.  Here's the 
situation:


I have one zeo client connected to a zeo server on the same box.  
Apache sits in front, using RewriteRules to request data from zope.


After some time (could be 2 minutes or an hour), the zeo client stops 
responding.  Apparently this is called a deadlock or a spinning zope.


I've tried using gdb to attach to the zeo client pid, and use the 
recipe http://zopelabs.com/cookbook/1073504990 to print a traceback, 
but the call always aborted with SIGABORT.
I've captured all of the requests sent to zope during an uptime window 
(via Z2.log), and using wget to replay the requests.  I've also 
pulled from apache's rewrite log all requests proxied to zope, 
thinking the Z2.log only writes finished requests.  I setup another 
zeo client (on the same box, different port) and used wget to replay 
these captures as well.  Just running these captures does not cause 
zope to hang.  In fact, I have not been able to cause zope to hang by 
replaying.  There doesn't seem to be any one url or sequence of urls 
that cause zope to hang.


I've tried reinstalling the zope instance, but that didn't help.

I've tried using requestprofiler.py to inspect the trace.log.  This 
shows a high number of hangs, but not on a url that actually 
triggers a spinning zope.


Basically, that's where I'm stuck.  Is there anything else I can try?  
Am I missing something?


Thanks for the help,
Andy
___
Zope maillist  -  [EMAIL PROTECTED]
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 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] submission

2006-04-24 Thread Khachatur Yengibaryan

[EMAIL PROTECTED] wrote:


Send Zope mailing list submissions to
zope@zope.org

To subscribe or unsubscribe via the World Wide Web, visit
http://mail.zope.org/mailman/listinfo/zope
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Zope digest...


Today's Topics:

  1. Re: Permissions, files and folders (Paul Winkler)
  2. Re: REQUEST.form variables order (Gaute Amundsen)
  3. Rendering Product by index_html (Thomas Adams)
  4. Re: Rendering Product by index_html (Andreas Jung)
  5. zope-2.8.4 and ZopeXMLMethods (Milos Negovanovic)


--

Message: 1
Date: Fri, 21 Apr 2006 12:45:43 -0400
From: Paul Winkler [EMAIL PROTECTED]
Subject: Re: [Zope] Permissions, files and folders
To: zope@zope.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

On Fri, Apr 21, 2006 at 09:54:15AM +0200, Erik Billing wrote:
 


Btw, what editor would you recommend for writing python outside Zope. I've
frequently used Eclipse with PyDev before, but it's a bit slow and heavy.
I've looked around a bit on the free editors without finding anything I like
so I'm thinking it might be worth trying a commercial editor. What do you
guys use?
   



Emacs :-)
It takes a bit of work to get it set up nicely, but there are some
really nice features like good pdb integration.

e.g. try this:  put a pdb.set_trace() somewhere in your code, and
then run the program from a shell within emacs - e.g. you can start a
shell by typing M-x shell, and then type the command to run your
program.  When you enter pdb, you can step around
the code and emacs shows you where you are in another buffer, opening
modules as you step into them. I've said it before: All hail Ken Manheimer!

I'm sure plenty of IDEs can do stuff like that, but I'm surprised how
many emacs users don't seem to know it's there.

(dunno if all that works on Windows, never tried.)

The code-completion support is pretty rudimentary, though.  It seems to
only be good for repeating symbols already in your source file.

And no built-in browsing of documentation afaict.

 



___
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 )