You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this is failing because InVEST looks for an invest-like model in it's given environment space (see models.py line 27). But, the plugin is installed in the natcap namespace in it's isolated mamba env.
I feel like this was partly redesigned specifically for plugins, but the separate environment issue seems to be a big hurdle to this being generalizable.
The specific error I see when trying is:
File "C:\Users\ddenu\Workspace\Repositories\venvs\schisto\Lib\site-packages\natcap\invest\ui_server.py", line 168, in post_datastack_file
model_id = PYNAME_TO_MODEL_ID_MAP[stack_info.model_name]
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'natcap.invest.schistosomiasis'
The text was updated successfully, but these errors were encountered:
It looks like the thing missing is for the server_requests.fetchDatastackFromFile call to get the port associated with the model instead of using getCorePort.
Currently this is failing because InVEST looks for an invest-like model in it's given environment space (see models.py line 27). But, the plugin is installed in the natcap namespace in it's isolated mamba env.
I feel like this was partly redesigned specifically for plugins, but the separate environment issue seems to be a big hurdle to this being generalizable.
The specific error I see when trying is:
The text was updated successfully, but these errors were encountered: