You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing so results in a 500 error, with the traceback:
ERROR:django.request:Internal Server Error: /api/records/8592ddf5-0a44-4788-a68d-d0a3cf9cdbbe/
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/rest_framework/viewsets.py", line 103, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 483, in dispatch
response = self.handle_exception(exc)
File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 443, in handle_exception
self.raise_uncaught_exception(exc)
File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 480, in dispatch
response = handler(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/rest_framework/mixins.py", line 84, in partial_update
return self.update(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/rest_framework/mixins.py", line 70, in update
self.perform_update(serializer)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/opt/app/data/views.py", line 185, in perform_update
instance = serializer.save()
File "/usr/local/lib/python2.7/site-packages/rest_framework/serializers.py", line 209, in save
self.instance = self.update(self.instance, validated_data)
File "/usr/local/lib/python2.7/site-packages/rest_framework/serializers.py", line 957, in update
instance.save()
File "/usr/local/lib/python2.7/site-packages/grout/models.py", line 235, in save
self.clean()
File "/usr/local/lib/python2.7/site-packages/grout/models.py", line 222, in clean
schema_error = self.clean_data()
File "/usr/local/lib/python2.7/site-packages/grout/models.py", line 195, in clean_data
return self.schema.validate_json(self.data)
File "/usr/local/lib/python2.7/site-packages/grout/models.py", line 88, in validate_json
return jsonschema.validate(json_dict, self.schema)
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 897, in validate
error = exceptions.best_match(validator.iter_errors(instance))
File "/usr/local/lib/python2.7/site-packages/jsonschema/exceptions.py", line 293, in best_match
best = next(errors, None)
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 323, in iter_errors
for error in errors:
File "/usr/local/lib/python2.7/site-packages/jsonschema/_validators.py", line 274, in properties
schema_path=property,
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 339, in descend
for error in self.iter_errors(instance, schema):
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 323, in iter_errors
for error in errors:
File "/usr/local/lib/python2.7/site-packages/jsonschema/_legacy_validators.py", line 99, in items_draft3_draft4
for error in validator.descend(item, items, path=index):
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 339, in descend
for error in self.iter_errors(instance, schema):
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 323, in iter_errors
for error in errors:
File "/usr/local/lib/python2.7/site-packages/jsonschema/_validators.py", line 247, in ref
scope, resolved = validator.resolver.resolve(ref)
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 734, in resolve
return url, self._remote_cache(url)
File "/usr/local/lib/python2.7/site-packages/functools32/functools32.py", line 400, in wrapper
result = user_function(*args, **kwds)
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 746, in resolve_from_url
return self.resolve_fragment(document, fragment)
File "/usr/local/lib/python2.7/site-packages/jsonschema/validators.py", line 779, in resolve_fragment
"Unresolvable JSON pointer: %r" % fragment
RefResolutionError: Unresolvable JSON pointer: u'definitions/driver%E0%BA%9C%E0%BA%B9%E0%BB%89%E0%BB%80%E0%BA%81%E0%BA%B5%E0%BA%94%E0%BA%AD%E0%BA%B8%E0%BA%9B%E0%BA%B0%E0%BA%95%E0%BA%B4%E0%BB%80%E0%BA%AB%E0%BA%94%E0%BA%9D%E0%BB%88%E0%BA%B2%E0%BA%8D'
A quick glance at the schema didn't turn up any problems, the definition seems to be properly labeled. This may be an issue with the jsonschema library.
The text was updated successfully, but these errors were encountered:
Doing so results in a 500 error, with the traceback:
A quick glance at the schema didn't turn up any problems, the definition seems to be properly labeled. This may be an issue with the jsonschema library.
The text was updated successfully, but these errors were encountered: