Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

New process chain style fails for importer/exporter module #9

Open
mmacata opened this issue Jul 6, 2021 · 1 comment
Open

New process chain style fails for importer/exporter module #9

mmacata opened this issue Jul 6, 2021 · 1 comment

Comments

@mmacata
Copy link
Member

mmacata commented Jul 6, 2021

This is a rare case as usually the importer or exporter is used with GRASS GIS to create process chains and communicate with actinia and are not used within a process chain. Exception is the interface description which is requested by the actinia-module-plugin.

old style SUCCESS:

{'1': {'module': 'exporter', 'interface-description': True}}

new style ERROR:

{'version': 1, 'list': [{'id': '1', 'module': 'exporter', 'interface-description': True}]}

'exception': {'message': 'AsyncProcessError: Empty process chain, nothing to compute', 'traceback': [' File "/usr/lib/python3.8/site-packages/actinia_core-1.0.1+g3ea04d5.dirty-py3.8.egg/actinia_core/rest/ephemeral_processing.py", line 1732, in run\n self._execute()\n', ' File "/src/actinia-module-plugin/actinia_module_plugin/core/modules/processor.py", line 163, in _execute\n process_list = self._validate_process_chain(\n', ' File "/usr/lib/python3.8/site-packages/actinia_core-1.0.1+g3ea04d5.dirty-py3.8.egg/actinia_core/rest/ephemeral_processing.py", line 669, in _validate_process_chain\n raise AsyncProcessError("Empty process chain, nothing to compute")\n'], 'type': "<class 'actinia_core.core.common.exceptions.AsyncProcessError'>"}

As the old style still works, this is not urgent but documented here in case we no longer support it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant