Skip to content

[Bug]: /configs/settings.yaml empty #364

@enmaneldvp

Description

@enmaneldvp

fastsdcpu Version

v1.0.0-beta.280

Bug Description

I was trying to generate images, and the program crashed. It closed completely. I tried to open it several times, but it wouldn't open. I checked the configuration file, and it was empty. So I deleted it, but it was regenerated when I tried to open the program again. I tried to replicate the error by leaving the configuration file empty, but it still crashed without opening. Perhaps this could be fixed by regenerating a generic configuration file if it's empty.

The web version at least didn't crash the console either and let me see the long.

The live version was slower than the GUI, but not slow enough for me to be able to see the content properly and copy it.

Archive "fastsdcpu-1.0.0-beta.280/configs/settings.yaml"

My English isn't good, I translated it automatically with Google. Remove the paths from my home directory and user, leaving only the folder with the AI ​​to view; the relative path should be enough.

Steps to Reproduce

1.empty the file "fastsdcpu-1.0.0-beta.280/configs/settings.yaml"
2.attempt to run any launcher "star.sh" , "start-webui.sh" or "start-realtime.sh"
3.Wait a few seconds or almost nothing and crash.

Expected Behavior

Perhaps check the configuration file before using it, and if it's empty, regenerate it or fill it with a generic configuration.

Logs / Error Output

Starting FastSD CPU please wait...
Found python3 command
Python version : 3.13.5
/home/enmanuel/IA/Imagen/fastsdcpu-1.0.0-beta.280/env/lib/python3.11/site-packages/torch/onnx/_internal/registration.py:162: OnnxExporterWarning: Symbolic function 'aten::scaled_dot_product_attention' already registered for opset 14. Replacing the existing function with new function. This is unexpected. Please report it on https://github.com/pytorch/pytorch/issues.
  warnings.warn(
/fastsdcpu-1.0.0-beta.280/env/lib/python3.11/site-packages/openvino/runtime/__init__.py:10: DeprecationWarning: The `openvino.runtime` module is deprecated and will be removed in the 2026.0 release. Please replace `openvino.runtime` with `openvino`.
  warnings.warn(
Error in loading settings : 1 validation error for Settings
  Input should be a valid dictionary or instance of Settings [type=model_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.9/v/model_type
FastSD CPU -  v1.0.0 beta 280
Running on Linux platform
OS: Linux-6.12.73+deb13-amd64-x86_64-with-glibc2.41
Processor: 
Using device : cpu
Traceback (most recent call last):
  File "/fastsdcpu-1.0.0-beta.280/src/app.py", line 279, in <module>
    print(f"Output path : {app_settings.settings.generated_images.path}")
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'generated_images'

Operating System

Linux

Hardware / CPU

intel i71165g7

Checklist

  • I searched existing issues
  • I am using a supported environment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions