Chyba:
Remote Exception: Incorrect output. {'kind': 'reply', 'module': 'schnapps', 'action': 'list', 'data': {'snapshots': [{'number': '134', 'type': 'rollback', 'size': '193.01MiB', 'created': '2020-05-07 02:13:47 +0200', 'description': 'Rollback to snapshot 131'}, {'number': '176', 'type': 'rollback', 'size': '185.51MiB', 'created': '2020-06-24 16:55:34 +0200', 'description': 'Rollback to snapshot 172'}, {'number': '249', 'type': 'single', 'size': '33.82MiB', 'created': '', 'description': ''}, {'number': '250', 'type': 'rollback', 'size': '31.57MiB', 'created': '2020-11-23 01:01:24 +0100', 'description': 'Rollback to snapshot 245'}, {'number': '366', 'type': 'single', 'size': '17.30MiB', 'created': '2021-11-25 14:37:33 +0100', 'description': 'Funkcni internet'}, {'number': '368', 'type': 'pre', 'size': '23.50MiB', 'created': '2021-12-01 00:08:06 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 5.4.0)'}, {'number': '369', 'type': 'post', 'size': '17.65MiB', 'created': '2021-12-01 00:12:42 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 5.3.1)'}, {'number': '370', 'type': 'pre', 'size': '23.72MiB', 'created': '2021-12-02 22:11:16 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 5.3.1)'}, {'number': '371', 'type': 'post', 'size': '16.80MiB', 'created': '2021-12-02 22:14:56 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 5.3.1)'}, {'number': '373', 'type': 'pre', 'size': '18.00MiB', 'created': '2021-12-08 22:58:56 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 5.3.1)'}, {'number': '374', 'type': 'post', 'size': '17.04MiB', 'created': '2021-12-08 22:59:34 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 5.3.1)'}, {'number': '375', 'type': 'time', 'size': '16.81MiB', 'created': '2021-12-12 01:05:01 +0100', 'description': 'Snapshot created by cron'}, {'number': '376', 'type': 'time', 'size': '16.82MiB', 'created': '2021-12-19 01:05:02 +0100', 'description': 'Snapshot created by cron'}, {'number': '377', 'type': 'pre', 'size': '27.38MiB', 'created': '2021-12-25 10:16:18 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 5.3.1)'}, {'number': '378', 'type': 'post', 'size': '16.80MiB', 'created': '2021-12-25 10:17:47 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 5.3.4)'}, {'number': '379', 'type': 'time', 'size': '16.78MiB', 'created': '2021-12-26 01:05:02 +0100', 'description': 'Snapshot created by cron'}, {'number': '380', 'type': 'time', 'size': '16.79MiB', 'created': '2022-01-02 01:05:02 +0100', 'description': 'Snapshot created by cron'}, {'number': '381', 'type': 'pre', 'size': '26.16MiB', 'created': '2022-01-05 23:43:19 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 5.3.4)'}, {'number': '382', 'type': 'post', 'size': '16.80MiB', 'created': '2022-01-05 23:44:10 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 5.3.4)'}, {'number': '383', 'type': 'time', 'size': '16.81MiB', 'created': '2022-01-09 01:05:02 +0100', 'description': 'Snapshot created by cron'}, {'number': '384', 'type': 'pre', 'size': '99.72MiB', 'created': '2022-01-15 08:25:03 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 5.3.4)'}, {'number': '385', 'type': 'post', 'size': '1.69MiB', 'created': '2022-01-15 08:34:30 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 6.0)'}, {'number': '386', 'type': 'pre', 'size': '240.00KiB', 'created': '2022-01-15 09:15:38 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 6.0)'}, {'number': '387', 'type': 'post', 'size': '160.00KiB', 'created': '2022-01-15 09:15:50 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 6.0)'}, {'number': '388', 'type': 'pre', 'size': '144.00KiB', 'created': '2022-01-15 09:17:15 +0100', 'description': 'Automatic pre-update snapshot (TurrisOS 6.0)'}, {'number': '389', 'type': 'post', 'size': '112.00KiB', 'created': '2022-01-15 09:17:26 +0100', 'description': 'Automatic post-update snapshot (TurrisOS 6.0)'}]}}
Extra:
{"module": "schnapps", "action": "list", "kind": "request"}
Trace:
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/foris_controller/message_router.py", line 140, in process_message File "/usr/lib/python3.9/site-packages/foris_controller/message_router.py", line 40, in wrapper File "/usr/lib/python3.9/site-packages/foris_controller/message_router.py", line 76, in validate File "/usr/lib/python3.9/site-packages/foris_schema/validator.py", line 282, in validate File "/usr/lib/python3.9/site-packages/jsonschema/validators.py", line 353, in validate jsonschema.exceptions.ValidationError: '134' is not of type 'integer' Failed validating 'type' in schema['properties']['data']['properties']['snapshots']['items']['properties']['number']: {'minimum': 1, 'type': 'integer'} On instance['data']['snapshots'][0]['number']: '134'