Skip to content

Error #6

@tripoloski-it

Description

@tripoloski-it

OS: Windows 10
Python: 3.12.6

After install from source code:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "Python\Python312\Scripts\wifi-densepose.exe\__main__.py", line 2, in <module>
  File "wifi-densepose\src\__init__.py", line 49, in <module>
    from src.app import app
  File "wifi-densepose\src\app.py", line 328, in <module>
    app = get_app()
          ^^^^^^^^^
  File "wifi-densepose\src\app.py", line 322, in get_app
    settings = get_settings()
               ^^^^^^^^^^^^^^
  File "wifi-densepose\src\config\settings.py", line 384, in get_settings
    settings = Settings()
               ^^^^^^^^^^
  File "Python\Python312\Lib\site-packages\pydantic_settings\main.py", line 194, in __init__
    super().__init__(
  File "Python\Python312\Lib\site-packages\pydantic\main.py", line 250, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings
secret_key
  Field required [type=missing, input_value={}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.12/v/missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions