Container: main
Message: File "/app/src/weather_history.py", line 25, in fetch_weather_data
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.515059845+00:00
Container: main
Message: return processing_handler(
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.516757064+00:00
Container: main
Message: self._data = self._get_data()
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.516210391+00:00
Container: main
Message: File "/usr/local/lib/python3.12/site-packages/meteostat/core/loader.py", line 59, in processing_handler
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.516766748+00:00
Container: main
Message: File "/usr/local/lib/python3.12/site-packages/meteostat/interface/meteodata.py", line 127, in _get_data
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.516280088+00:00
Container: main
Message: ^^^^^^^^^^^^^^^^^^^
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.516763378+00:00
Container: main
Message: ^^^^^^^^^^^^^^^^
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.516274939+00:00
Container: main
Message: File "/usr/local/lib/python3.12/site-packages/meteostat/interface/meteodata.py", line 51, in _load_data
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.517392535+00:00
Container: main
Message: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.517565043+00:00
Container: main
Message: File "/usr/local/lib/python3.12/site-packages/meteostat/core/cache.py", line 38, in file_in_cache
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.517585474+00:00
Container: main
Message: if self.max_age > 0 and file_in_cache(path, self.max_age):
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.517476954+00:00
Container: main
Message: ^^^^^^^^^^^^^^
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.517387411+00:00
Container: main
Message: output.append(load(*dataset))
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.517301976+00:00
Container: main
Message: os.makedirs(directory)
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518019086+00:00
Container: main
Message: File "", line 215, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518140672+00:00
Container: main
Message: File "", line 215, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518089489+00:00
Container: main
Message: File "", line 215, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518136848+00:00
Container: main
Message: File "", line 225, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518189218+00:00
When running in docker container on aws, the following error happens (does not happen locally when running docker container)
Container: main Message: weather_data = fetch_weather_data(location, start, end) Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.515052828+00:00
Container: main Message: File "/app/src/weather_history.py", line 25, in fetch_weather_data Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.515059845+00:00
Container: main Message: return processing_handler( Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.516757064+00:00
Container: main Message: self._data = self._get_data() Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.516210391+00:00
Container: main Message: File "/usr/local/lib/python3.12/site-packages/meteostat/core/loader.py", line 59, in processing_handler Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.516766748+00:00
Container: main Message: File "/usr/local/lib/python3.12/site-packages/meteostat/interface/meteodata.py", line 127, in _get_data Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.516280088+00:00
Container: main Message: ^^^^^^^^^^^^^^^^^^^ Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.516763378+00:00
Container: main Message: ^^^^^^^^^^^^^^^^ Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.516274939+00:00
Container: main Message: File "/usr/local/lib/python3.12/site-packages/meteostat/interface/meteodata.py", line 51, in _load_data Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.517392535+00:00
Container: main Message: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.517565043+00:00
Container: main Message: File "/usr/local/lib/python3.12/site-packages/meteostat/core/cache.py", line 38, in file_in_cache Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.517585474+00:00
Container: main Message: if self.max_age > 0 and file_in_cache(path, self.max_age): Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.517476954+00:00
Container: main Message: ^^^^^^^^^^^^^^ Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.517387411+00:00
Container: main Message: output.append(load(*dataset)) Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.517301976+00:00
Container: main Message: os.makedirs(directory) Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.518019086+00:00
Container: main Message: File "", line 215, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518140672+00:00
Container: main Message: File "", line 215, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518089489+00:00
Container: main Message: File "", line 215, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518136848+00:00
Container: main Message: File "", line 225, in makedirs
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:22.518189218+00:00
Container: main Message: PermissionError: [Errno 13] Permission denied: '/nonexistent' Pod: e3afad71767117f8-codeblocktorun-4109565371 Timestamp: 2024-09-18T07:38:22.518193232+00:00
Container: main Message: time="2024-09-18T07:38:23.372Z" level=info msg="sub-process exited" argo=true error=""
Pod: e3afad71767117f8-codeblocktorun-4109565371
Timestamp: 2024-09-18T07:38:23.373246457+00:00
The code: