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

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

@mmacata

Description

@mmacata

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions