#50841 closed defect (invalid)
py27-django requires old postgis2
Reported by: | jeabraham | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | py-django |
Description
My py27-django @1.7.1_0 stopped working. It looks like the upgrade to Postgis from 2.1.7 to 2.2.1 broke something, when executing
manage.py runserver
it complained
django.db.utils.OperationalError: could not access file "$libdir/postgis-2.1": No such file or directory
I was able to get it working by activating the old PostGIS2 with
sudo port activate postgis2 @2.1.7_0+postgresql93+raster+topology
Sorry I don't know how to fix this.
Change History (5)
comment:1 Changed 9 years ago by jeabraham
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Port: | py-django added; py27-django removed |
---|
comment:3 Changed 9 years ago by jeabraham
This is not a macports problem nor a django problem. Upgrading postgis in a database requires one to execute the command
alter extension posts update to "2.2.1";
in the database.
Sorry for the false alarm.
comment:4 Changed 9 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 Changed 9 years ago by jeabraham
oops that should be
alter extension postgis update to "2.2.1";
stupid autocorrect.
Note: See
TracTickets for help on using
tickets.
See also https://trac.macports.org/ticket/50842 django could use a rev bump to 1.9.4