Skip to content

Updating SD.Next fails systematically #1467

@BSoD38

Description

@BSoD38

What happened?

When trying to update SD.Next, it will always fail with the same error message. The only workaround is to delete the entire package and install a new one. Then, when the next update is available, it will fail again with the same error message.

Steps to reproduce

  1. Open Stability Matrix
  2. Install SD.Next
  3. Wait for the next update to release
  4. Attempt an update

Relevant logs

Already on 'master'
Your branch is up to date with 'origin/master'.
Traceback (most recent call last):
  File "E:\StabilityMatrix\Data\Packages\SD.Next\launch.py", line 9, in <module>
    import installer
ModuleNotFoundError: No module named 'installer'
Could not update SD.Next (StabilityMatrix.Core.Exceptions.ProcessException: install script failed with code 1: 'Traceback (most recent call last):\r\n  File "E:\StabilityMatrix\Data\Packages\SD.Next\launch.py", line 9, in <module>\r\n    import installer\r\nModuleNotFoundError: No module named 'installer'\r\n'
   at StabilityMatrix.Core.Python.UvVenvRunner.CustomInstall(ProcessArgs args, Action`1 outputDataReceived)
   at StabilityMatrix.Core.Models.Packages.VladAutomatic.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.Packages.VladAutomatic.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.Packages.BaseGitPackage.Update(String installLocation, InstalledPackage installedPackage, UpdatePackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.Packages.VladAutomatic.Update(String installLocation, InstalledPackage installedPackage, UpdatePackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.PackageModification.UpdatePackageStep.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))

Version

v2.15.4

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    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