Clone Errors
🧩 Syntax:
[2023-05-25 03:32:38,812: ERROR/MainProcess] [{'implants': [22125, 22126, 22127, 22128, 22129, 22130], 'jump_clone_id': 88536321, 'location_id': 60003760, 'location_type': 'station'}, {'implants': [], 'jump_clone_id': 99847232, 'location_id': 60010825, 'location_type': 'station'}, {'implants': [], 'jump_clone_id': 100263680, 'location_id': 60012910, 'location_type': 'station'}, {'implants': [], 'jump_clone_id': 88494416, 'location_id': 60015148, 'location_type': 'station'}, {'implants': [10208, 10212, 10221, 13283, 13286, 22535], 'jump_clone_id': 82374121, 'location_id': 1028858195912, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 101048705, 'location_id': 1028858195912, 'location_type': 'structure'}, {'implants': [21890], 'jump_clone_id': 101048695, 'location_id': 1036948142847, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 101048701, 'location_id': 1036948142847, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 100490967, 'location_id': 1037113821069, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 100490099, 'location_id': 1041043687391, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 100997267, 'location_id': 1041714829226, 'location_type': 'structure'}] is too long
Failed validating 'maxItems' in schema['properties']['jump_clones']:
{'description': 'jump_clones array',
'items': {'description': 'jump_clone object',
'properties': {'implants': {'description': 'implants array',
'items': {'description': 'implant '
'integer',
'format': 'int32',
'title': 'get_characters_character_id_clones_implant',
'type': 'integer'},
'maxItems': 11,
'title': 'get_characters_character_id_clones_implants',
'type': 'array'},
'jump_clone_id': {'description': 'jump_clone_id '
'integer',
'format': 'int32',
'title': 'get_characters_character_id_clones_jump_clone_id',
'type': 'integer'},
'location_id': {'description': 'location_id '
'integer',
'format': 'int64',
'title': 'get_characters_character_id_clones_jump_clone_location_id',
'type': 'integer'},
'location_type': {'description': 'location_type '
'string',
'enum': ['station',
'structure'],
'title': 'get_characters_character_id_clones_jump_clone_location_type',
'type': 'string'},
'name': {'description': 'name string',
'title': 'get_characters_character_id_clones_name',
'type': 'string'}},
'required': ['jump_clone_id',
'location_id',
'location_type',
'implants'],
'title': 'get_characters_character_id_clones_jump_clone',
'type': 'object',
'x-model': 'get_characters_character_id_clones_jump_clone'},
'maxItems': 10,
'title': 'get_characters_character_id_clones_jump_clones',
'type': 'array'}
On instance['jump_clones']:
[{'implants': [22125, 22126, 22127, 22128, 22129, 22130],
'jump_clone_id': 88536321,
'location_id': 60003760,
'location_type': 'station'},
{'implants': [],
'jump_clone_id': 99847232,
'location_id': 60010825,
'location_type': 'station'},
{'implants': [],
'jump_clone_id': 100263680,
'location_id': 60012910,
'location_type': 'station'},
{'implants': [],
'jump_clone_id': 88494416,
'location_id': 60015148,
'location_type': 'station'},
{'implants': [10208, 10212, 10221, 13283, 13286, 22535],
'jump_clone_id': 82374121,
'location_id': 1028858195912,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 101048705,
'location_id': 1028858195912,
'location_type': 'structure'},
{'implants': [21890],
'jump_clone_id': 101048695,
'location_id': 1036948142847,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 101048701,
'location_id': 1036948142847,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 100490967,
'location_id': 1037113821069,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 100490099,
'location_id': 1041043687391,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 100997267,
'location_id': 1041714829226,
'location_type': 'structure'}]
Traceback (most recent call last):
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/corptools/tasks.py", line 514, in update_clones
output = update_character_clones(
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/corptools/task_helpers/char_tasks.py", line 645, in update_character_clones
token=token.valid_access_token()).result()
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/esi/clients.py", line 201, in result
result, response = self._result_with_retries(**kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/esi/clients.py", line 263, in _result_with_retries
result, response = super().result(**kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado/http_future.py", line 271, in result
swagger_result = self._get_swagger_result(incoming_response)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado/http_future.py", line 124, in wrapper
return func(self, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado/http_future.py", line 300, in _get_swagger_result
unmarshal_response(
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado/http_future.py", line 335, in unmarshal_response
incoming_response.swagger_result = unmarshal_response_inner( # type: ignore
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado/http_future.py", line 385, in unmarshal_response_inner
validate_schema_object(op.swagger_spec, content_spec, content_value)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado_core/validate.py", line 74, in validate_schema_object
validate_object(swagger_spec, schema_object_spec, value)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado_core/validate.py", line 43, in scrubbed
reraise(*sys.exc_info())
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/six.py", line 719, in reraise
raise value
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado_core/validate.py", line 35, in scrubbed
return func(*args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/bravado_core/validate.py", line 139, in validate_object
).validate(value)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/jsonschema/validators.py", line 353, in validate
raise error
jsonschema.exceptions.ValidationError: [{'implants': [22125, 22126, 22127, 22128, 22129, 22130], 'jump_clone_id': 88536321, 'location_id': 60003760, 'location_type': 'station'}, {'implants': [], 'jump_clone_id': 99847232, 'location_id': 60010825, 'location_type': 'station'}, {'implants': [], 'jump_clone_id': 100263680, 'location_id': 60012910, 'location_type': 'station'}, {'implants': [], 'jump_clone_id': 88494416, 'location_id': 60015148, 'location_type': 'station'}, {'implants': [10208, 10212, 10221, 13283, 13286, 22535], 'jump_clone_id': 82374121, 'location_id': 1028858195912, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 101048705, 'location_id': 1028858195912, 'location_type': 'structure'}, {'implants': [21890], 'jump_clone_id': 101048695, 'location_id': 1036948142847, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 101048701, 'location_id': 1036948142847, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 100490967, 'location_id': 1037113821069, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 100490099, 'location_id': 1041043687391, 'location_type': 'structure'}, {'implants': [], 'jump_clone_id': 100997267, 'location_id': 1041714829226, 'location_type': 'structure'}] is too long
Failed validating 'maxItems' in schema['properties']['jump_clones']:
{'description': 'jump_clones array',
'items': {'description': 'jump_clone object',
'properties': {'implants': {'description': 'implants array',
'items': {'description': 'implant '
'integer',
'format': 'int32',
'title': 'get_characters_character_id_clones_implant',
'type': 'integer'},
'maxItems': 11,
'title': 'get_characters_character_id_clones_implants',
'type': 'array'},
'jump_clone_id': {'description': 'jump_clone_id '
'integer',
'format': 'int32',
'title': 'get_characters_character_id_clones_jump_clone_id',
'type': 'integer'},
'location_id': {'description': 'location_id '
'integer',
'format': 'int64',
'title': 'get_characters_character_id_clones_jump_clone_location_id',
'type': 'integer'},
'location_type': {'description': 'location_type '
'string',
'enum': ['station',
'structure'],
'title': 'get_characters_character_id_clones_jump_clone_location_type',
'type': 'string'},
'name': {'description': 'name string',
'title': 'get_characters_character_id_clones_name',
'type': 'string'}},
'required': ['jump_clone_id',
'location_id',
'location_type',
'implants'],
'title': 'get_characters_character_id_clones_jump_clone',
'type': 'object',
'x-model': 'get_characters_character_id_clones_jump_clone'},
'maxItems': 10,
'title': 'get_characters_character_id_clones_jump_clones',
'type': 'array'}
On instance['jump_clones']:
[{'implants': [22125, 22126, 22127, 22128, 22129, 22130],
'jump_clone_id': 88536321,
'location_id': 60003760,
'location_type': 'station'},
{'implants': [],
'jump_clone_id': 99847232,
'location_id': 60010825,
'location_type': 'station'},
{'implants': [],
'jump_clone_id': 100263680,
'location_id': 60012910,
'location_type': 'station'},
{'implants': [],
'jump_clone_id': 88494416,
'location_id': 60015148,
'location_type': 'station'},
{'implants': [10208, 10212, 10221, 13283, 13286, 22535],
'jump_clone_id': 82374121,
'location_id': 1028858195912,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 101048705,
'location_id': 1028858195912,
'location_type': 'structure'},
{'implants': [21890],
'jump_clone_id': 101048695,
'location_id': 1036948142847,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 101048701,
'location_id': 1036948142847,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 100490967,
'location_id': 1037113821069,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 100490099,
'location_id': 1041043687391,
'location_type': 'structure'},
{'implants': [],
'jump_clone_id': 100997267,
'location_id': 1041714829226,
'location_type': 'structure'}]