The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/
FileNotFoundError: [Errno 2] No such file or directory: './temp/february_2019_sensor_data_archive.csv'
File "sensorsafrica/tasks.py", line 12, in archive_data
call_command("upload_to_ckan")
File "django/core/management/__init__.py", line 131, in call_command
return command.execute(*args, **defaults)
File "django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "sensorsafrica/management/commands/upload_to_ckan.py", line 100, in handle
self._write_file(filepath=filepath, qs=qs)
File "sensorsafrica/management/commands/upload_to_ckan.py", line 121, in _write_file
with open(filepath, "w") as fp:
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
Screenshots
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
Description
Fix FileNotFoundError
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Screenshots
Checklist: