duonanotte / Blum

Bot for Blum app
https://t.me/web3community_ru
MIT License
1 stars 1 forks source link

Error when start #1

Open VailStudio opened 1 month ago

VailStudio commented 1 month ago

Traceback (most recent call last): File "C:\Users\mwahy\OneDrive\Desktop\AIRDROP\blum\Blum\main.py", line 4, in from bot.utils.banner import banner File "C:\Users\mwahy\OneDrive\Desktop\AIRDROP\blum\Blum\bot\utils__init.py", line 1, in from . import launcher File "C:\Users\mwahy\OneDrive\Desktop\AIRDROP\blum\Blum\bot\utils\launcher.py", line 8, in from bot.config import settings File "C:\Users\mwahy\OneDrive\Desktop\AIRDROP\blum\Blum\bot\config__init__.py", line 1, in from .config import settings File "C:\Users\mwahy\OneDrive\Desktop\AIRDROP\blum\Blum\bot\config\config.py", line 23, in settings = Settings() ^^^^^^^^^^ File "C:\Users\mwahy\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydantic_settings\main.py", line 152, in init super().init( File "C:\Users\mwahy\AppData\Local\Programs\Python\Python311\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 POINTS Input should be a valid list [type=list_type, input_value=280, input_type=int] For further information visit https://errors.pydantic.dev/2.8/v/list_type

duonanotte commented 1 month ago

In config.py

POINTS: list[int] = [190, 230]