#12450 closed (fixed)
GEOSFree not available in GEOS 3.1.0
| Reported by: | Joel Watts | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I'm using GEOS 3.1.0 on Ubuntu Server 9.10 (amd64) and after r11979, I can no longer import django.contrib.gis.geos or anything that depends on it:
>> from django.contrib.gis.db import models AttributeError: /usr/lib/libgeos_c.so.1: undefined symbol: GEOSFree
According to the GEOS changelog, GEOSFree was added in their r2506 (2009-05-13) while 3.1.0 was released around r2271 (2009-03-10), so it looks like the number in the version check in django.contrib.gis.geos.prototypes.errcheck should be bumped up to 3.1.1 (released 2009-06-15) or replaced with a try/except block.
Attachments (1)
Change History (3)
by , 16 years ago
| Attachment: | geosfree.diff added |
|---|
comment:1 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
Replace explicit check for 3.1.0 with a try/except block