On Wed, Feb 5, 2014 at 9:24 PM, JS <[email protected]> wrote:

> Sorry to bother you again with this issue. Unfortunately I wasn't able to
> get profiling with the current version of web.py (0.37) running. It seems
> as this method doesn't do anything for me. I tried:
>  app = web.application(urls, globals())
> web.http.profiler(app)
> app.run()
> and
> app = web.application(urls, globals())
> app = web.http.profiler(app)
> app.run()
>
> In the first case nothing happens, in the later I only get the error that
> the attribute run is not available. With
> app = web.application(urls, globals())
>  app.run(web.http.profiler)
> I get the message that run only supports one argument.
>
> What am I missing?
>


Try:

app = web.application(urls, globals())
app.run(web.profiler)

Anand

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to