Code

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12450 closed (fixed)

GEOSFree not available in GEOS 3.1.0

Reported by: jpwatts Owned by: nobody
Component: GIS Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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)

geosfree.diff (1.2 KB) - added by jpwatts 4 years ago.
Replace explicit check for 3.1.0 with a try/except block

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by jpwatts

Replace explicit check for 3.1.0 with a try/except block

comment:1 Changed 4 years ago by jbronn

  • Resolution set to fixed
  • Status changed from new to closed

(In [12004]) Fixed #12450 -- GEOSFree was really added in GEOS 3.1.1, not 3.1.0. Thanks, jpwatts for the bug report.

comment:2 Changed 4 years ago by jbronn

(In [12005]) [1.1.X] Fixed #12450 -- GEOSFree was really added in GEOS 3.1.1, not 3.1.0. Thanks, jpwatts for the bug report.

Backport or r12004 from trunk.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.