Skip to content

DirectoryNotFoundException Crash when opening output browser #1668

Description

@dudeman-sketch

What happened?

Steps to reproduce:

  1. Open stability matrix
  2. Click on "Output Browser"
  3. Crash.

Exception Details

Exception

DirectoryNotFoundException: Could not find a part of the path 'C:\Stability matrix\Data\Images\txt2img-grids-16sym'.

Sentry ID

a1d78ac3

Stack Trace

``` at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.Init()
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String directory, String expression, EnumerationOptions options)

app.2026-06-21 08_02_30.log
app.2026-06-21 08_06_32.log
app.log

at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at StabilityMatrix.Avalonia.ViewModels.OutputsPageViewModel.GetSubfolders(String strPath)
at StabilityMatrix.Avalonia.ViewModels.OutputsPageViewModel.RefreshCategories()
at StabilityMatrix.Avalonia.ViewModels.OutputsPageViewModel.OnInitialLoaded()
at StabilityMatrix.Avalonia.ViewModels.Base.ViewModelBase.OnLoaded()
at StabilityMatrix.Avalonia.Controls.UserControlBase.OnLoadedEvent(RoutedEventArgs e)
at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
at Avalonia.Controls.Control.<>c.<.cctor>b__70_0()
at Avalonia.Threading.DispatcherOperation.InvokeCore()```

Version

2.16.1

What Operating System are you using?

Windows

Activity

  1. added
    bugSomething isn't working
    crashBugs involving the app crashing to desktop
    on Jun 21, 2026
  2. dudeman-sketch commented on Aug 3, 2026

    @dudeman-sketch
    Author

    Just wanted to mention I'm a dofus that forgot I put a symbolic link to a different folder that I moved recently. I forgot about it and that is what caused it. I mentioned manually creating the folder because I was mis reading the folder path every time and making the folder in the wrong directory. I even named the folder "sym" for symbolic link so I would know and I still didn't catch it. Glad I was able to help find a bug though, even if I should have figured it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrashBugs involving the app crashing to desktop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions