invoke-ai / InvokeAI

InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.07k stars 2.39k forks source link

[bug]: Old broken scripts not removed when updating/installing #6518

Closed psychedelicious closed 1 month ago

psychedelicious commented 3 months ago

Is there an existing issue for this problem?

Operating system

Linux

GPU vendor

Nvidia (CUDA)

GPU model

No response

GPU VRAM

No response

Version number

main

Browser

ff

Python dependencies

No response

What happened

When installing/updating, old broken scripts are still installed. These scripts can mess up a database and possible cause data loss, they should not be accessible by the user.

I think it's because they are still in pyproject.toml: https://github.com/invoke-ai/InvokeAI/blob/main/pyproject.toml#L127-L130

Hopefully removing them from pyproject.toml will result in them being deleted when the installer is run. Needs testing.

What you expected to happen

The old scripts are not removed.

How to reproduce the problem

No response

Additional context

No response

Discord username

No response