-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This is a bug found by @jpmailaddy . We broke mepo update-state recently. To demonstrate the issue, you need mepo 1 and 2. So let's go to discover. First load mepo 1 and clone a repo:
> ml other/mepo/1.52.0
> mepo clone [email protected]:GEOS-ESM/MAPL.git
> cd MAPLNow, go to mepo 2 and run update-state:
> ml other/mepo/2.4.0
> mepo status
Checking status...
Detected mepo1 style state
Run <mepo update-state> to permanently convert to mepo2 style
MAPL | (b) main
ESMA_env | (t) v4.38.0 (DH)
ESMA_cmake | (t) v3.62.1 (DH)
ecbuild | (t) geos/v1.4.0 (DH)
> mepo update-state
Detected mepo1 style state
Run <mepo update-state> to permanently convert to mepo2 style
Traceback (most recent call last):
File "/discover/swdev/gmao_SIteam/mepo-pip/2.4.0/bin/mepo", line 8, in <module>
sys.exit(main())
^^^^^^
File "/gpfsm/dswdev/gmao_SIteam/mepo-pip/2.4.0/venvs/mepo/lib/python3.11/site-packages/mepo/__main__.py", line 15, in main
cmd_module.run(args)
File "/gpfsm/dswdev/gmao_SIteam/mepo-pip/2.4.0/venvs/mepo/lib/python3.11/site-packages/mepo/command/update-state.py", line 19, in run
MepoState.write_state(allcomps)
File "/gpfsm/dswdev/gmao_SIteam/mepo-pip/2.4.0/venvs/mepo/lib/python3.11/site-packages/mepo/state.py", line 158, in write_state
allcomps_s.append(comp.serialize())
^^^^^^^^^^^^^^^^
File "/gpfsm/dswdev/gmao_SIteam/mepo-pip/2.4.0/venvs/mepo/lib/python3.11/site-packages/mepo/component.py", line 190, in serialize
v = getattr(self, k)
^^^^^^^^^^^^^^^^
AttributeError: 'MepoComponent' object has no attribute 'blobless'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels