The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 641, in __protected_call__
return self.run(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/celery.py", line 66, in _inner
reraise(*_capture_exception())
File "/usr/local/lib/python3.6/site-packages/sentry_sdk/_compat.py", line 44, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/celery.py", line 64, in _inner
return f(*args, **kwargs)
File "/src/sensorsafrica/tasks.py", line 12, in archive_data
call_command("upload_to_ckan")
File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 114, in call_command
command = load_command_class(app_name, command_name)
File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 40, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/src/sensorsafrica/management/commands/upload_to_ckan.py", line 6, in <module>
import ckanapi
File "/usr/local/lib/python3.6/site-packages/ckanapi/__init__.py", line 19, in <module>
from ckanapi.remoteckan import RemoteCKAN
File "/usr/local/lib/python3.6/site-packages/ckanapi/remoteckan.py", line 11, in <module>
from ckanapi.version import __version__
File "/usr/local/lib/python3.6/site-packages/ckanapi/version.py", line 3, in <module>
__version__ = pkg_resources.require("ckanapi")[0].version
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (urllib3 1.25.3 (/usr/local/lib/python3.6/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'requests'})
Fixes # (issue)
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
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
sensorsafrica.tasks.archive_data
--> command:upload_to_ckan
Fix Exception:
(urllib3 1.25.3 (/usr/local/lib/python3.6/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'requests'})
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist: