Energinet-DataHub / ARCHIVED-geh-aggregations

This project aims to create an engine that is able to do calculations on billions of metering points and deliver the results within minutes
Apache License 2.0
2 stars 0 forks source link

616 enabler: ModuleNotFoundError: No module named 'geh_stream.snapshot' #725

Closed BjarkeMeier closed 2 years ago

BjarkeMeier commented 2 years ago

Synopsis Triggered prepare job executions fails with the error message below. This needs to be fixed and precautions must be taken to prevent this category of errors in the future.

ModuleNotFoundError: No module named 'geh_stream.snapshot'
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
     22 
     23 from geh_stream.shared.data_loader import initialize_spark
---> 24 from geh_stream.snapshot import create_snapshot
     25 
     26 if __name__ == '__main__':

/databricks/python_shell/dbruntime/PythonPackageImportsInstrumentation/__init__.py in import_patch(name, globals, locals, fromlist, level)
    165             # Import the desired module. If you’re seeing this while debugging a failed import,
    166             # look at preceding stack frames for relevant error information.
--> 167             original_result = python_builtin_import(name, globals, locals, fromlist, level)
    168 
    169             is_root_import = thread_local._nest_level == 1

ModuleNotFoundError: No module named 'geh_stream.snapshot'

Acceptance-Criteria