[Zope-dev] Zope Server hanging :-(

Chris Withers chrisw@nipltd.com
Thu, 03 May 2001 15:35:54 +0100


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, in ?
    analyze(open(sys.argv[1]), top, sortf, start, end, mode)
  File "requestprofiler.py", line 346, in analyze
    write(dict, top)
  File "requestprofiler.py", line 360, in write
    print str(stat)[:78]
  File "requestprofiler.py", line 226, in __str__
    body = (
  File "requestprofiler.py", line 273, in median
    else: return (all[i] + all[i2]) / 2
TypeError: number coercion failed

Any ideas?

cheers,

Chris