AIFDR / riab

Risk in a Box - main project
Other
17 stars 6 forks source link

Unable to run Risiko on Ubuntu 11.04 system - GEOS issue #147

Closed uniomni closed 13 years ago

uniomni commented 13 years ago

After the fix of issue #146 (https://github.com/AIFDR/riab/issues/146) a new issue has appeared on Ubuntu 11.04: The Risiko main screen is blank and when clicking on any of the layers under the "Layers" tab an GEOS exception appears as shown below. Screenshots are

Blank Risiko main screen: http://www.aifdr.org/projects/riat/attachment/ticket/13/risiko-blank.png GEOS Exception: http://www.aifdr.org/projects/riat/attachment/ticket/13/geos_exception.png

This could be due to versioning issue along the lines of what was seen in ticket https://github.com/AIFDR/riab/issues/133 and https://github.com/AIFDR/riab/issues/136

Layers do appear in the embedded GeoServer as expected.

Error message:

GEOSException at /data/geonode:glp10ag

GDAL library is not available to transform() geometry.

Request Method: GET Request URL: http://127.0.0.1:8000/data/geonode:glp10ag Django Version: 1.3 Exception Type: GEOSException Exception Value:

GDAL library is not available to transform() geometry.

Exception Location: /home/nielso/dev/riab_env/lib/python2.7/site-packages/django/contrib/gis/geos/geometry.py in transform, line 518 Python Executable: /home/nielso/dev/riab_env/bin/python Python Version: 2.7.1 Python Path:

['/usr/bin', '/home/nielso/dev/riab_env/lib/python2.7/site-packages/distribute-0.6.10-py2.7.egg', '/home/nielso/dev/riab_env/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg', '/home/nielso/dev/riab_env/src/avatar', '/home/nielso/dev/riab_env/src/gsconfig.py/src', '/home/nielso/dev/riab_env/src/owslib', '/home/nielso/dev/geonode/src/GeoNodePy', '/home/nielso/dev/riab', '/home/nielso/dev/riab_env/lib/python2.7', '/home/nielso/dev/riab_env/lib/python2.7/plat-linux2', '/home/nielso/dev/riab_env/lib/python2.7/lib-tk', '/home/nielso/dev/riab_env/lib/python2.7/lib-old', '/home/nielso/dev/riab_env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib64/python2.7/lib-tk', '/home/nielso/dev/riab_env/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/pymodules/python2.7/gtk-2.0', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/pymodules/python2.7/ubuntuone-client', '/usr/lib/pymodules/python2.7/ubuntuone-control-panel', '/usr/lib/pymodules/python2.7/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

Server time: Tue, 27 Sep 2011 19:34:03 -0500

uniomni commented 13 years ago

Ariel identified the culprit as gdal 1.8 which seems to have caused this issue. Interestingly, though, issues https://github.com/AIFDR/riab/issues/133 https://github.com/AIFDR/riab/issues/136

also dealt with this and risiko worked fine until around 26th September 2011 when this one appeared.

So for now we cannot expect Risiko to run with gdal newer than what is provided by Ubuntu. Watch this space.