Solved - default debian/ubuntu install of python no longer includes the profiler because of license issues. The package python-profiler needs to be installed. Sorry for wasting your time.
Thanks, Philip On May 14, 4:56 pm, Massimo Di Pierro <[email protected]> wrote: > I am running it with 2.5 > > On May 14, 3:11 pm, Philip <[email protected]> wrote: > > > > > > > > > python 2.6.5 running on Linux (ubuntu) using current web2py src. Does > > the profiler require 2.7? > > > Thanks, > > Philip > > > On May 14, 1:22 pm, Massimo Di Pierro <[email protected]> > > wrote: > > > > -F profiler.log > > > > works for me. Which python version? which os? > > > > On May 13, 6:45 pm, Philip <[email protected]> wrote: > > > > > I am trying to use the web2py profiler (which I haven't used before). > > > > I tried starting web2py with the -F option and a filename, and I get > > > > the following error: > > > > > ImportError: No module named pstats > > > > > Any ideas on why it isn't working? I couldn't find any documentation > > > > for the profiler feature other than a few posts on this group and the > > > > listing of -F as one of the command line options. > > > > > Thanks, > > > > Philip

