shamhi / TapSwapBot

Bot that mines coins in Tapswap
https://t.me/tapswap_bot
295 stars 115 forks source link

Extra inputs are not permitted #1

Closed whatever193 closed 7 months ago

whatever193 commented 7 months ago

(venv) C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main>py main.py Traceback (most recent call last): File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\main.py", line 4, in from bot.utils.launcher import process File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\bot\utils__init.py", line 2, in from . import launcher File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\bot\utils\launcher.py", line 8, in from bot.config import settings File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\bot\config__init__.py", line 1, in from .config import settings File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\bot\config\config.py", line 27, in settings = Settings() ^^^^^^^^^^ File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\venv\Lib\site-packages\pydantic_settings\main.py", line 84, in init super().init( File "C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main\venv\Lib\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 Settings random_clicks_count Extra inputs are not permitted [type=extra_forbidden, input_value='[1, 15]', input_type=str] For further information visit https://errors.pydantic.dev/2.6/v/extra_forbidden

(venv) C:\Users\accli\Downloads\TapSwapBot-main\TapSwapBot-main> I try value like [1, 50] but i cant run this scrips

shamhi commented 7 months ago

try 1,50 without staples

whatever193 commented 7 months ago

try 1,50 without staples

Thank you. I fixed it fill it like this for other people "list[int] = [50, 200]"