GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

Shapely dependencies crashing test_all #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run test_all

What is the expected output? What do you see instead?

_______________________________________________
Traceback (most recent call last):
  File "test_all.py", line 36, in <module>
  File "test_all.py", line 29, in test_all_main
    log.console_logging_level = log.ERROR
  File "/home/547/dsg547/eqrm/trunk/eqrm_code/test_all.py", line 167, in main
    suite, moduleNames = regressionTest(path=path)
  File "/home/547/dsg547/eqrm/trunk/eqrm_code/test_all.py", line 140, in regressionTest
    modules = map(__import__, moduleNames)
  File "/home/547/dsg547/eqrm/trunk/eqrm_code/../eqrm_code/test_polygon_class.py", line 10, in <module>
    from eqrm_code import polygon_class
  File "/home/547/dsg547/eqrm/trunk/eqrm_code/polygon_class.py", line 8, in <module>
    from shapely.geometry import Point
  File "/home/547/dsg547/.local/lib/python2.6/site-packages/Shapely-1.2.10-py2.6.egg/shapely/geometry/__init__.py", line 4, in <module>
    from geo import box, shape, asShape, mapping
  File "/home/547/dsg547/.local/lib/python2.6/site-packages/Shapely-1.2.10-py2.6.egg/shapely/geometry/geo.py", line 5, in <module>
    from point import Point, asPoint
  File "/home/547/dsg547/.local/lib/python2.6/site-packages/Shapely-1.2.10-py2.6.egg/shapely/geometry/point.py", line 7, in <module>
    from shapely.geos import lgeos, DimensionError
  File "/home/547/dsg547/.local/lib/python2.6/site-packages/Shapely-1.2.10-py2.6.egg/shapely/geos.py", line 47, in <module>
    _lgeos = load_dll('geos_c', fallbacks=['libgeos_c.so.1', 'libgeos_c.so'])
  File "/home/547/dsg547/.local/lib/python2.6/site-packages/Shapely-1.2.10-py2.6.egg/shapely/geos.py", line 44, in load_dll
    libname, fallbacks or []))
OSError: Could not find library geos_c or load any of its variants 
['libgeos_c.so.1', 'libgeos_c.so']
__________________________________________________________________________

Original issue reported on code.google.com by duncan.g...@gmail.com on 5 Mar 2012 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by duncan.g...@gmail.com on 5 Mar 2012 at 4:28