getting an error with the example

29 views
Skip to first unread message

thomas ulrich

unread,
Jun 3, 2013, 11:56:08 AM6/3/13
to openqu...@googlegroups.com
Hi,

I've reinstalled Openquake today since I did a wrong move with my virtual machine.
Procedure followed:
https://github.com/gem/oq-engine/wiki/Installing-the-OpenQuake-Engine
Now I'm getting the following error when launching the demo calculation:
[see error below]
Any Idea?

Thomas.


ulrich@ulrich-VM:/usr/openquake/engine$ openquake --run-hazard=/usr/openquake/engine/demos/hazard/SimpleFaultSourceClassicalPSHA/job.ini
Traceback (most recent call last):
  File "/usr/bin/openquake", line 9, in <module>
    load_entry_point('openquake.engine==0.9.2', '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 98, in <module>
    from openquake.engine.tools.import_hazard_curves import import_hazard_curves
  File "/usr/lib/python2.7/dist-packages/openquake/engine/tools/import_hazard_curves.py", line 7, in <module>
    from openquake.nrmllib.hazard.parsers import HazardCurveParser
ImportError: cannot import name HazardCurveParser
Reply all
Reply to author
Forward
0 new messages