Try run web2py with matplotlib without mod_wsgi. Perhaps matplotlib is printing something.
On Apr 12, 8:16 am, Manuele Pesenti <[email protected]> wrote: > Il 11/04/2011 19:42, Arun K.Rajeevan ha scritto:> Seems your second problem > is a circular import problem in matplotlib > > here is a reference > >https://groups.google.com/forum/#!topic/modwsgi/97bnQk9ojtY > > <https://groups.google.com/forum/#%21topic/modwsgi/97bnQk9ojtY> > > > And here goes gist of it, > > Try adding as first import, before other matplotlib imports: > > import matplotlib > > import matplotlib.cbook > > no it doesn't fix the problem :( > the strange thing is that the problem is still at the line of my code in > wich I call> frommatplotlib.backends.backend_aggimportFigureCanvasAgg as > FigureCanvas > > that comes after the two import you suggest that do not give errors. > > Cheers > Manuele

