Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VFPAnalysis plugin gives ModuleNotFoundError #1251

Open
anders-kiaer opened this issue Dec 18, 2023 · 1 comment
Open

VFPAnalysis plugin gives ModuleNotFoundError #1251

anders-kiaer opened this issue Dec 18, 2023 · 1 comment
Labels
bug 🐛 Something isn't working

Comments

@anders-kiaer
Copy link
Collaborator

Using the VFPAnalysis plugin, with recent version of ecl2df / res2df gives:

  File ".../site-packages/webviz_subsurface/plugins/_vfp_analysis/_utils/_vfp_data_model.py", line 11, in <module>
    from ecl2df.vfp._vfpdefs import (
ModuleNotFoundError: No module named 'ecl2df.vfp._vfpdefs'; 'ecl2df.vfp' is not a package

Changing to

python -c "from ecl2df.vfp import _vfpdefs as defs; print(defs.ALQ)"

seems to work.

Users can workaround this by either using previous version of ecl2df, or comment out VFPAnalsyis plugin.

@anders-kiaer anders-kiaer added the bug 🐛 Something isn't working label Dec 18, 2023
@anders-kiaer
Copy link
Collaborator Author

from res2df.vfp._vfpdefs import ALQ works with res2df=1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant