Re: Development server crash with no error message

2008-12-11 Thread Tobias Kräntzer
Am Donnerstag, den 11.12.2008, 10:29 +0100 schrieb Graham Dumpleton: > A problem recently highlighted with the geos stuff though is that it > likes to crash if using it on 64 bit Linux architecture. Good to know. While switching from development to production, we also switched from 64 to 32 bit.

Re: Development server crash with no error message

2008-12-11 Thread Tobias Kräntzer
Am Donnerstag, den 11.12.2008, 00:05 +0100 schrieb Andrew Fong: > I'm using MySQLdb, cmemcache, PIL, and the django.contrib.gis stuff. Hi, we had a similar problem. It turns out, that in our case it was a multithreading issue with geos/gdal. For instance using apache2 with wsgi and and allowing

Re: Multithreading issu with GDAL transform

2008-12-10 Thread Tobias Kräntzer
Am Mittwoch, den 10.12.2008, 14:55 +0100 schrieb Justin Bronn: > No, it is not thread safe. This is because both the GEOS and GDAL > libraries are not thread safe. While those development teams are > working on making the libraries thread safe, they are not at this > time. Thus, do not use

Multithreading issu with GDAL transform

2008-12-10 Thread Tobias Kräntzer
Hi, we are using django and the geodjango extension in some of our projects. While implementing a view in one of the last projects, I encountered a bug in the method 'transform' in 'django.contrib.gis.geos.Polygon'. We have a line like Polygon(p, srid=s).transorfm(4326) in our views. It