Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception occured in Jsonpointer #38

Open
Eyshika opened this issue Sep 18, 2019 · 1 comment
Open

Exception occured in Jsonpointer #38

Eyshika opened this issue Sep 18, 2019 · 1 comment
Assignees

Comments

@Eyshika
Copy link

Eyshika commented Sep 18, 2019

I am trying to document schema files using sphinx.
Once I add the file path it throws this error

  File "/Users/eyshika.agarwal/.virtualenvs/gui-intrinsic/lib/python3.7/site-packages/jsonpointer.py", line 279, in walk
    raise JsonPointerException("member '%s' not found in %s" % (part, doc))
jsonpointer.JsonPointerException: member 'src' not found in OrderedDict([('$schema', 'http://json-schema.org/draft-07/schema#'), ('$id', '/sports_field'), ('title', 'Field'), ('description', 'A sports field description.'), ('type', 'object'), ('properties', OrderedDict([('description', OrderedDict([('description', 'Field description'), ('type', 'string')])), ('units', OrderedDict([('description', 'length units in which the calibration points are defined.'), ('$ref', '/units_length')])), ('calibration_points', OrderedDict([('description', "list of XYZ corner points of the filed lines. Length units defined by 'units' property."), ('type', 'array'), ('items', OrderedDict([('type', 'array'), ('maxItems', 3), ('minItems', 3), ('items', OrderedDict([('anyOf', [OrderedDict([('type', 'number')]), OrderedDict([('type', 'string'), ('description', 'An arithmetic expression to be evaluated along with the parameters provided.'), ('examples', ['(0.5 * width) + 10.0'])])])]))])), ('uniqueItems', True)])), ('parameters', OrderedDict([('description', 'parameter list used for generating the calibration points'), ('type', 'array'), ('items', OrderedDict([('type', 'object'), ('properties', OrderedDict([('name', OrderedDict([('type', 'string'), ('description', 'parameter name')])), ('description', OrderedDict([('type', 'string'), ('description', 'parameter description')])), ('default', OrderedDict([('type', 'number'), ('description', 'parameter default value')]))])), ('required', ['name', 'description', 'default'])]))]))])), ('required', ['units', 'calibration_points'])])```
@stefankoegl
Copy link
Owner

Hi! Can you please provide some example code to reproduce the exception?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants