Skip to content

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

@psychedelicious

Description

@psychedelicious

Is there an existing issue for this problem?

  • 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions