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

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to