Closed davidsielert closed 2 months ago
2024-08-20 00:32:23.942 | DEBUG | __main__:main:108 - is_seeding=False 53 online players (`get_players`), 25 allied 24 axis players (gamestate) 2024-08-20 00:32:23.942 | ERROR | __main__:main:288 - 1 validation error for PlayTimeCondition current_time_secs Input should be greater than or equal to 0 [type=greater_than_equal, input_value=-2, input_type=int] For further information visit https://errors.pydantic.dev/2.6/v/greater_than_equal | ExceptionGroup: (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | | File "/code/hll_seed_vip/cli.py", line 111, in main | to_add_vip_steam_ids = collect_steam_ids( | └ <function collect_steam_ids at 0x7fc45f351b20> | | File "/code/hll_seed_vip/utils.py", line 173, in collect_steam_ids | player_conditions_steam_ids = check_player_conditions( | └ <function check_player_conditions at 0x7fc45f3505e0> | | File "/code/hll_seed_vip/utils.py", line 131, in check_player_conditions | return set( | | File "/code/hll_seed_vip/utils.py", line 134, in <genexpr> | if PlayTimeCondition( | └ <class 'hll_seed_vip.models.PlayTimeCondition'> | | File "/root/.cache/pypoetry/virtualenvs/hll-seed-vip-MATOk_fk-py3.11/lib/python3.11/site-packages/pydantic/main.py", line 171, in __init__ | self.__pydantic_validator__.validate_python(data, self_instance=self) | │ │ │ │ └ PlayTimeCondition() | │ │ │ └ {'min_time_secs': 300, 'current_time_secs': -2} | │ │ └ <method 'validate_python' of 'pydantic_core._pydantic_core.SchemaValidator' objects> | │ └ SchemaValidator(title="PlayTimeCondition", validator=Model( | │ ModelValidator { | │ revalidate: Never, | │ validator... | └ PlayTimeCondition() | | pydantic_core._pydantic_core.ValidationError: 1 validation error for PlayTimeCondition | current_time_secs | Input should be greater than or equal to 0 [type=greater_than_equal, input_value=-2, input_type=int] | For further information visit https://errors.pydantic.dev/2.6/v/greater_than_equal +------------------------------------ + Exception Group Traceback (most recent call last): | File "/code/hll_seed_vip/cli.py", line 302, in <module> | trio.run(main) | File "/root/.cache/pypoetry/virtualenvs/hll-seed-vip-MATOk_fk-py3.11/lib/python3.11/site-packages/trio/_core/_run.py", line 2262, in run | raise runner.main_task_outcome.error | ExceptionGroup: (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/code/hll_seed_vip/cli.py", line 111, in main | to_add_vip_steam_ids = collect_steam_ids( | ^^^^^^^^^^^^^^^^^^ | File "/code/hll_seed_vip/utils.py", line 173, in collect_steam_ids | player_conditions_steam_ids = check_player_conditions( | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/code/hll_seed_vip/utils.py", line 131, in check_player_conditions | return set( | ^^^^ | File "/code/hll_seed_vip/utils.py", line 134, in <genexpr> | if PlayTimeCondition( | ^^^^^^^^^^^^^^^^^^ | File "/root/.cache/pypoetry/virtualenvs/hll-seed-vip-MATOk_fk-py3.11/lib/python3.11/site-packages/pydantic/main.py", line 171, in __init__ | self.__pydantic_validator__.validate_python(data, self_instance=self) | pydantic_core._pydantic_core.ValidationError: 1 validation error for PlayTimeCondition current_time_secs Input should be greater than or equal to 0 [type=greater_than_equal, input_value=-2, input_type=int] For further information visit https://errors.pydantic.dev/2.6/v/greater_than_equal +------------------------------------