I updated Django today to trunk (last update was Oct 2010) and I'm now getting an error when creating a LinearRing object. The following from a python shell will produce the error:
from django.contrib.gis.geos import * test = LinearRing ( [ (1,1), (2,1), (2,2), (1,1) ] ) test Accessing 'test' with the last line above causes the following error to occur: WindowsError: exception: access violation writing 0x0291CC80 (the string of chars following the 0x will naturally vary) As best I can tell, I have GEOS 3.2.2 installed (and will happily give more information if it helps). (I say 'As best as I can tell' as this is what is reported when I run "select postgis_full_version()" from psql command prompt and the PostgresSQL\9.0\bin is the only entry in my PATH variable that I can see that would point to the GEOS binaries). I can run the same python code on a Linux machine (with the latest Django and GEOS 3.3.2) and I get no error (not sure if it's the GEOS library version or the OS that's making the difference...). Any ideas? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.