Open MelikUltra opened 1 month ago
edit it here
i tried that before submitting the issue
edit it here
i tried that before submitting the issue
send me a screenshot of config.py file
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\main.py", line 4, in from bot.utils.launcher import process File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\utilsinit.py", line 2, in from . import launcher File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\utils\launcher.py", line 10, in from bot.config import settings File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\configinit.py", line 1, in from .config import settings File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\config\config.py", line 18, in settings = Settings() ^^^^^^^^^^ File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\venv\Lib\site-packages\pydantic_settings\main.py", line 84, in init super().init( File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\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 USE_PROXY_FROM_FILE Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='Flase', input_type=str] For further information visit https://errors.pydantic.dev/2.6/v/bool_parsing
in the bot proxy is must, without proxy the bot is not working, even used to set proxy=false it still requires proxy but it works with proxy
USE_PROXY_FROM_FILE=false
its True or False not false bro
its True or False not false bro
i write false and its work bro
False not false bruh
False=false=no
True=true=yes
i always use "yes/no" in all bot envs
BOOL_FALSE = {0, '0', 'off', 'f', 'false', 'n', 'no'}
BOOL_TRUE = {1, '1', 'on', 't', 'true', 'y', 'yes'}
from pydantic/v1/validators.py
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\main.py", line 4, in
from bot.utils.launcher import process
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\utils__init.py", line 2, in
from . import launcher
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\utils\launcher.py", line 10, in
from bot.config import settings
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\config__init__.py", line 1, in
from .config import settings
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\bot\config\config.py", line 18, in
settings = Settings()
^^^^^^^^^^
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\venv\Lib\site-packages\pydantic_settings\main.py", line 84, in init
super().init(
File "C:\Users\ULTRA\Desktop\tele bot\Kaia-bot-main\M\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
USE_PROXY_FROM_FILE
Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='Flase', input_type=str]
For further information visit https://errors.pydantic.dev/2.6/v/bool_parsing
in the bot proxy is must, without proxy the bot is not working, even used to set proxy=false it still requires proxy but it works with proxy