leepro / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
0 stars 0 forks source link

python -m cherrypy.test.benchmark fails #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I tried this with U-S trunk and it doesn't seem to run.

python -m cherrypy.test.benchmark

cu,

Original issue reported on code.google.com by ren...@gmail.com on 10 Jan 2010 at 12:40

GoogleCodeExporter commented 8 years ago
Here's the traceback:

Client Thread Report (1000 requests, 14 bytes via staticdir, 10 server threads):
Traceback (most recent call last):
  File
"/home/rene/tmp/unladen-swallow/lib/python2.6/site-packages/cherrypy/test/benchm
ark.py",
line 381, in run
    run_standard_benchmarks()
  File
"/home/rene/tmp/unladen-swallow/lib/python2.6/site-packages/cherrypy/test/benchm
ark.py",
line 290, in run_standard_benchmarks
    print_report(thread_report("%s/static/index.html" % SCRIPT_NAME))
  File
"/home/rene/tmp/unladen-swallow/lib/python2.6/site-packages/cherrypy/test/benchm
ark.py",
line 249, in thread_report
    val = float(getattr(sess, attr))
TypeError: float() argument must be a string or a number

Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound 
method
Popen.__del__ of <subprocess.Popen object at 0xb73b3a2c>> ignored

Not really sure what is causing it.

Original comment by ren...@gmail.com on 10 Jan 2010 at 4:26

GoogleCodeExporter commented 8 years ago
Which version of Cherrypy is this? What system is this? Which options was 
Unladen 
Swallow configured with?

Original comment by collinw on 11 Jan 2010 at 7:40