chrisschn...@gmail.com
unread,Aug 11, 2014, 8:50:57 AM8/11/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openqua...@googlegroups.com
Hey OQ users,
I have some trouble with my OQ engine after installing Quantum GIS.
Maybe some of you have some more experiences with ubuntu.
If I try to use OQ I get the following error message:
hao@hao:~$ openquake --version
Traceback (most recent call last):
File "/usr/bin/openquake", line 9, in <module>
load_entry_point('openquake.engine==1.0.0', 'console_scripts', 'openquake')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/dist-packages/openquake/engine/bin/oqscript.py", line 44, in <module>
from openquake.commonlib import source
File "/usr/lib/python2.7/dist-packages/openquake/commonlib/source.py", line 21, in <module>
from shapely import wkt
File "/usr/lib/python2.7/dist-packages/shapely/wkt.py", line 6, in <module>
from shapely.geos import lgeos, ReadingError
File "/usr/lib/python2.7/dist-packages/shapely/geos.py", line 100, in <module>
geos_capi_version = geos_c_version = _geos_c_version()
File "/usr/lib/python2.7/dist-packages/shapely/geos.py", line 98, in _geos_c_version
return tuple(int(n) for n in v.split('.'))
File "/usr/lib/python2.7/dist-packages/shapely/geos.py", line 98, in <genexpr>
return tuple(int(n) for n in v.split('.'))
ValueError: invalid literal for int() with base 10: '2 r3921'
I suppose a new or false package was installed but I don't know how to fix it.
My OQ version (nightly build) is two days old.
Thanks for any help!
Cheers,
Chris