Re: Thread local storage issue under Apache

2012-02-10 Thread Alessandro Candini
On 02/10/2012 01:11 PM, Tom Evans wrote: On Fri, Feb 10, 2012 at 11:00 AM, Alessandro Candini wrote: Hi everyone. … But if I run the same application under the Apache web server, I get the following error: Fatal Python error: Couldn't create autoTLSkey mapping … I'm using Apache/2.2.20 on U

Re: Thread local storage issue under Apache

2012-02-10 Thread Tom Evans
On Fri, Feb 10, 2012 at 11:00 AM, Alessandro Candini wrote: > Hi everyone. > > … > > But if I run the same application under the Apache web server, I get the > following error: > Fatal Python error: Couldn't create autoTLSkey mapping > >… > > I'm using Apache/2.2.20 on Ubuntu-11.10 mod_wsgi-3.3 Py

Thread local storage issue under Apache

2012-02-10 Thread Alessandro Candini
Hi everyone. I have a django project in where I've added a custom .py file which launches a shell command (a GDAL utility to manipulate shapefiles): subprocess.call(["ogr2ogr", "-t_srs", "EPSG:900913", shpGoogle, shpOrig]) If I run the function containing this command using django web server