InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

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

Open psychedelicious opened this issue 1 year ago • 0 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

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

psychedelicious avatar Jun 16 '24 11:06 psychedelicious