shamhi / HamsterKombatBot

Bot that mines coins in HamsterKombat
Apache License 2.0
775 stars 232 forks source link

После обновления не хочет запускаться... #2159

Open Hoochizoid opened 3 months ago

Hoochizoid commented 3 months ago

`C:\Python\HamsterKombatBot-main\venv\Scripts\python.exe path\HamsterKombatBot\main.py Traceback (most recent call last): File "path\HamsterKombatBot\main.py", line 4, in from bot.utils.launcher import process File "path\HamsterKombatBot\bot\utils__init.py", line 4, in from . import launcher File "path\HamsterKombatBot\bot\utils\launcher.py", line 7, in from bot.config import settings File "path\HamsterKombatBot\bot\config__init__.py", line 1, in from .config import settings File "path\HamsterKombatBot\bot\config\config.py", line 41, in settings = Settings() ^^^^^^^^^^ File "C:\Python\HamsterKombatBot-main\venv\Lib\site-packages\pydantic_settings\main.py", line 140, in init super().init( File "C:\Python\HamsterKombatBot-main\venv\Lib\site-packages\pydantic\main.py", line 193, in init self.pydantic_validator__.validate_python(data, self_instance=self) pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings apply_promo_game Extra inputs are not permitted [type=extra_forbidden, input_value='True', input_type=str] For further information visit https://errors.pydantic.dev/2.8/v/extra_forbidden

Process finished with exit code 1`

какая то ошибка в .env?

ilya125625262 commented 3 months ago

В файле (ENV) измени APPLY_PROMO_GAME= на APPLY_PROMO_CODES=

Hoochizoid commented 3 months ago

Спасибо. Заработало.