Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #10

Open
AnhAnhii opened this issue Aug 30, 2024 · 2 comments
Open

Error #10

AnhAnhii opened this issue Aug 30, 2024 · 2 comments

Comments

@AnhAnhii
Copy link

Traceback (most recent call last):
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\sources.py", line 323, in call
field_value = self.prepare_field_value(field_name, field, field_value, value_is_complex)
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\sources.py", line 513, in prepare_field_value
raise e
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\sources.py", line 510, in prepare_field_value
value = self.decode_complex_value(field_name, field, value)
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\sources.py", line 147, in decode_complex_value
return json.loads(value)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\main.py", line 4, in
from bot.utils.launcher import process
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\bot\utils_init_.py", line 2, in
from . import launcher
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\bot\utils\launcher.py", line 11, in
from bot.config import settings
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\bot\config_init_.py", line 1, in
from .config import settings
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\bot\config\config.py", line 26, in
settings = Settings()
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\main.py", line 85, in init
**pydantic_self._settings_build_values(
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\main.py", line 187, in _settings_build_values
return deep_update(*reversed([source() for source in sources]))
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\main.py", line 187, in
return deep_update(*reversed([source() for source in sources]))
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\sources.py", line 685, in call
data: dict[str, Any] = super().call()
File "C:\Users\ad\Downloads\BOT Telegram\OkxRacerBot-master\OkxRacerBot-master\venv\lib\site-packages\pydantic_settings\sources.py", line 325, in call
raise SettingsError(
pydantic_settings.sources.SettingsError: error parsing value for field "BOOSTERS" from source "DotEnvSettingsSource"

@Desamod
Copy link
Owner

Desamod commented Sep 1, 2024

Show me your .env file

@wannaD1E
Copy link

wannaD1E commented Sep 2, 2024

BOOSTERS у тебя TRUE стоит, сотри вообще.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants