On Tue, Nov 11, 2008 at 10:56 PM, Robert Coup
<[EMAIL PROTECTED]>wrote:
> Maybe i should run the geos tests inside a wsgi request...
They fail inside mod-wsgi. In fact, so does a wsgi application that does:
from django.contrib.gis.geos import GEOSGeometry
g = GEOSGeometry("POINT(0 0)")
s = g.wkt # boom!
So either the pointer being returned from the C constructor is rubbish, and
therefore any methods being called with that explode - or the ctypes
interface is broken somehow. Another function in the interface -
geos_version() - works ok though fwiw.
/me thinks the answer is getting closer, but why only under apache/mod-wsgi?
Rob :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---