aerosense-ai / data-gateway

Data influx for Aerosense.
https://www.aerosense.ai/
Other
3 stars 1 forks source link

Cannot persist cloud data #84

Closed thclark closed 2 years ago

thclark commented 2 years ago

Bug report

Traceback (most recent call last):
  File "/usr/aerosense/data-gateway/data_gateway/persistence.py", line 261, in _persist_window
    cloud_path=storage.path.generate_gs_path(self.bucket_name, self._generate_window_path()),
  File "/usr/local/lib/python3.8/site-packages/octue/cloud/storage/path.py", line 63, in generate_gs_path
    return CLOUD_STORAGE_PROTOCOL + join(bucket_name, paths[0].lstrip("/"), *paths[1:])
  File "/usr/local/lib/python3.8/site-packages/octue/cloud/storage/path.py", line 45, in join
    path = os.path.normpath(os.path.join(*paths)).replace("\\", "/")
  File "/usr/local/lib/python3.8/posixpath.py", line 76, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

What is the current behavior?

Problem in persisting cloud data

cortadocodes commented 2 years ago

This is out of date (the line numbers don't line up with the most recent version). Is this still an issue on main?