Les logs:
m4dm4rtig4n-enedisgateway2mqtt1
date stream content
2021-10-19 13:25:44 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 13:25:44 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 13:25:44 stdout File "/app/main.py", line 29, in <module>
2021-10-19 13:25:44 stdout import main
2021-10-19 13:25:44 stdout File "/app/function.py", line 6, in <module>
2021-10-19 13:25:44 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 13:25:44 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 13:25:44 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 13:25:44 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 13:25:44 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 13:25:44 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 13:25:44 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 13:25:44 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 13:25:44 stdout f = import_module("function")
2021-10-19 13:25:44 stdout File "/app/main.py", line 12, in <module>
2021-10-19 13:25:44 stdout Traceback (most recent call last):
2021-10-19 13:22:29 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 13:22:29 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 13:22:29 stdout File "/app/main.py", line 29, in <module>
2021-10-19 13:22:29 stdout import main
2021-10-19 13:22:29 stdout File "/app/function.py", line 6, in <module>
2021-10-19 13:22:29 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 13:22:29 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 13:22:29 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 13:22:29 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 13:22:29 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 13:22:29 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 13:22:29 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 13:22:29 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 13:22:29 stdout f = import_module("function")
2021-10-19 13:22:29 stdout File "/app/main.py", line 12, in <module>
2021-10-19 13:22:29 stdout Traceback (most recent call last):
2021-10-19 13:22:26 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 13:22:26 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 13:22:26 stdout File "/app/main.py", line 29, in <module>
2021-10-19 13:22:26 stdout import main
2021-10-19 13:22:26 stdout File "/app/function.py", line 6, in <module>
2021-10-19 13:22:26 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 13:22:26 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 13:22:26 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 13:22:26 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 13:22:26 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 13:22:26 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 13:22:26 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 13:22:26 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 13:22:26 stdout f = import_module("function")
2021-10-19 13:22:26 stdout File "/app/main.py", line 12, in <module>
2021-10-19 13:22:26 stdout Traceback (most recent call last):
2021-10-19 13:22:23 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 13:22:23 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 13:22:23 stdout File "/app/main.py", line 29, in <module>
2021-10-19 13:22:23 stdout import main
2021-10-19 13:22:23 stdout File "/app/function.py", line 6, in <module>
2021-10-19 13:22:23 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 13:22:23 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 13:22:23 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 13:22:23 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 13:22:23 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 13:22:23 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 13:22:23 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 13:22:23 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 13:22:23 stdout f = import_module("function")
2021-10-19 13:22:23 stdout File "/app/main.py", line 12, in <module>
2021-10-19 13:22:23 stdout Traceback (most recent call last):
2021-10-19 13:22:20 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 13:22:20 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 13:22:20 stdout File "/app/main.py", line 29, in <module>
2021-10-19 13:22:20 stdout import main
2021-10-19 13:22:20 stdout File "/app/function.py", line 6, in <module>
2021-10-19 13:22:20 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 13:22:20 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 13:22:20 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 13:22:20 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 13:22:20 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 13:22:20 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 13:22:20 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 13:22:20 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 13:22:20 stdout f = import_module("function")
2021-10-19 13:22:20 stdout File "/app/main.py", line 12, in <module>
2021-10-19 13:22:20 stdout Traceback (most recent call last):
2021-10-19 06:49:01 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 06:49:01 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 06:49:01 stdout File "/app/main.py", line 29, in <module>
2021-10-19 06:49:01 stdout import main
2021-10-19 06:49:01 stdout File "/app/function.py", line 6, in <module>
2021-10-19 06:49:01 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 06:49:01 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 06:49:01 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 06:49:01 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 06:49:01 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 06:49:01 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 06:49:01 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 06:49:01 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 06:49:01 stdout f = import_module("function")
2021-10-19 06:49:01 stdout File "/app/main.py", line 12, in <module>
2021-10-19 06:49:01 stdout Traceback (most recent call last):
2021-10-19 06:48:58 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 06:48:58 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 06:48:58 stdout File "/app/main.py", line 29, in <module>
2021-10-19 06:48:58 stdout import main
2021-10-19 06:48:58 stdout File "/app/function.py", line 6, in <module>
2021-10-19 06:48:58 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 06:48:58 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 06:48:58 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 06:48:58 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 06:48:58 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 06:48:58 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 06:48:58 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 06:48:58 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 06:48:58 stdout f = import_module("function")
2021-10-19 06:48:58 stdout File "/app/main.py", line 12, in <module>
2021-10-19 06:48:58 stdout Traceback (most recent call last):
2021-10-19 06:48:55 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 06:48:55 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 06:48:55 stdout File "/app/main.py", line 29, in <module>
2021-10-19 06:48:55 stdout import main
2021-10-19 06:48:55 stdout File "/app/function.py", line 6, in <module>
2021-10-19 06:48:55 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 06:48:55 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 06:48:55 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 06:48:55 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 06:48:55 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 06:48:55 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 06:48:55 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 06:48:55 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 06:48:55 stdout f = import_module("function")
2021-10-19 06:48:55 stdout File "/app/main.py", line 12, in <module>
2021-10-19 06:48:55 stdout Traceback (most recent call last):
2021-10-19 06:48:52 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 06:48:52 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 06:48:52 stdout File "/app/main.py", line 29, in <module>
2021-10-19 06:48:52 stdout import main
2021-10-19 06:48:52 stdout File "/app/function.py", line 6, in <module>
2021-10-19 06:48:52 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 06:48:52 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 06:48:52 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 06:48:52 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 06:48:52 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 06:48:52 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 06:48:52 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 06:48:52 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 06:48:52 stdout f = import_module("function")
2021-10-19 06:48:52 stdout File "/app/main.py", line 12, in <module>
2021-10-19 06:48:52 stdout Traceback (most recent call last):
2021-10-19 06:48:48 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 06:48:48 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 06:48:48 stdout File "/app/main.py", line 29, in <module>
2021-10-19 06:48:48 stdout import main
2021-10-19 06:48:48 stdout File "/app/function.py", line 6, in <module>
2021-10-19 06:48:48 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 06:48:48 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 06:48:48 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 06:48:48 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 06:48:48 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 06:48:48 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 06:48:48 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 06:48:48 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 06:48:48 stdout f = import_module("function")
2021-10-19 06:48:48 stdout File "/app/main.py", line 12, in <module>
2021-10-19 06:48:48 stdout Traceback (most recent call last):
2021-10-19 06:48:45 stdout AttributeError: partially initialized module 'function' has no attribute 'log' (most likely due to a circular import)
2021-10-19 06:48:45 stdout f.log("Environement variable 'ACCESS_TOKEN' is mandatory")
2021-10-19 06:48:45 stdout File "/app/main.py", line 29, in <module>
2021-10-19 06:48:45 stdout import main
2021-10-19 06:48:45 stdout File "/app/function.py", line 6, in <module>
2021-10-19 06:48:45 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-10-19 06:48:45 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2021-10-19 06:48:45 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-10-19 06:48:45 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-10-19 06:48:45 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-10-19 06:48:45 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-10-19 06:48:45 stdout return _bootstrap._gcd_import(name[level:], package, level)
2021-10-19 06:48:45 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-10-19 06:48:45 stdout f = import_module("function")
2021-10-19 06:48:45 stdout File "/app/main.py", line 12, in <module>
2021-10-19 06:48:45 stdout Traceback (most recent call last):