opm-utilities icon indicating copy to clipboard operation
opm-utilities copied to clipboard

summaryplot issue

Open qilicun opened this issue 8 years ago • 3 comments

Hi, long time no see!

I tried to use summaryplot to get some plots, but the issue happened. I have updated ERT and summarploy to the least version and this binary never had the problem before.

Thanks!

Traceback (most recent call last):
  File "opm-utilities/summaryplot", line 52, in <module>
    import ert.ecl as ecl
  File "/usr/local/lib/python2.7/dist-packages/ert/__init__.py", line 120, in <module>
    from ert.util import Version
  File "/usr/local/lib/python2.7/dist-packages/ert/util/__init__.py", line 40, in <module>
    from cwrap import Prototype
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/__init__.py", line 46, in <module>
    from .basecclass import BaseCClass
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/basecclass.py", line 6, in <module>
    class BaseCClass(object):
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/metacwrap.py", line 30, in __init__
    registerType(type_name, cls, is_return_type=is_return_type, storage_type=storage_type)
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/prototype.py", line 20, in registerType
    raise PrototypeError("Type: '%s' already registered!" % type_name)
ert.cwrap.prototype.PrototypeError: Type: 'base_c_class' already registered!

qilicun avatar Dec 15 '16 03:12 qilicun

OK - this summaryplot utility does not get regular maintainence - will look into it; but not today I am afraid.

joakim-hove avatar Dec 15 '16 05:12 joakim-hove

@joakim-hove Thanks, take your time please.

qilicun avatar Dec 15 '16 06:12 qilicun

Summaryplot is used in our starting-point tutorial:

http://opm-project.org/?page_id=197&page=6

If it breaks we must either fix it, or change the tutorial... (I assume for now that the release version of ert works with the current version of summaryplot, so that it is not very urgent.)

atgeirr avatar Dec 15 '16 06:12 atgeirr