StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

Client Crash on download

Open k000 opened this issue 9 months ago • 0 comments

noticed when downloading this TI: https://civitai.com/models/20504/greenmageddon the client crashes raising an os-file error (all other tested tis worked)

happened on another file now too, here's the log:

Exception

IOException: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch. : 'E:\StabilityMatrix\Models\TextualInversion<stardeaf-cold-arc>.cm-info.json'

IOException: The syntax for the file name, directory name or volume label is incorrect. : 'E:\StabilityMatrix\Models\TextualInversion<stardeaf-cold-arc>.cm-info.json' /translated

Sentry ID

32796d0c8f224949b564ea2f4eb4036c

Stack Trace

   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.File.WriteToFileAsync(String path, FileMode mode, String contents, Encoding encoding, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.ConnectedModelInfo.SaveJsonToDirectory(String directoryPath, String modelFileName)
   at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CheckpointBrowserCardViewModel.SaveCmInfo(CivitModel model, CivitModelVersion modelVersion, CivitFile modelFile, DirectoryPath downloadDirectory)
   at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CheckpointBrowserCardViewModel.DoImport(CivitModel model, DirectoryPath downloadFolder, CivitModelVersion selectedVersion, CivitFile selectedFile)
   at StabilityMatrix.Avalonia.ViewModels.CheckpointBrowser.CheckpointBrowserCardViewModel.ShowVersionDialog(CivitModel model)
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
   at Avalonia.Threading.DispatcherOperation.Execute()
   at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
   at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
   at Avalonia.Threading.Dispatcher.Signaled()
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
   at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
   at StabilityMatrix.Avalonia.Program.Main(String[] args)

k000 avatar May 07 '24 17:05 k000