Skip to content

Activity provider registration schema failure #65

Open
@fsgeek

Description

Traceback (most recent call last):
File "C:\Users\TonyMason\source\repos\indaleko\activity\collectors\location\windows_gps_location.py", line 188, in
main()
File "C:\Users\TonyMason\source\repos\indaleko\activity\collectors\location\windows_gps_location.py", line 180, in main
collector = WindowsGPSLocationCollector()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TonyMason\source\repos\indaleko\activity\collectors\location\windows_gps_location.py", line 97, in init
provider_data, collection = self.provider_registrar.register_provider(**record_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TonyMason\source\repos\indaleko\activity\provider_registration_service.py", line 261, in register_provider
insert(json.dumps(activity_registration_data, default=str))
File "C:\Users\TonyMason\source\repos\indaleko\IndalekoCollection.py", line 123, in insert
return self.collection.insert(document, overwrite=overwrite)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TonyMason\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\arango\collection.py", line 2615, in insert
return self._execute(request, response_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TonyMason\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\arango\api.py", line 74, in _execute
return self._executor.execute(request, response_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TonyMason\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\arango\executor.py", line 66, in execute
return response_handler(resp)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TonyMason\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\arango\collection.py", line 2605, in response_handler
raise DocumentInsertError(resp, request)
arango.exceptions.DocumentInsertError: [HTTP 400][ERR 1620] schema validation failed

As I recall, there's an issue with the schema that gets written into the services collection. This should be resolved so the schema is correctly configured.

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions