axodox / unpaint

A simple Windows / Xbox app for generating AI images with Stable Diffusion.
Other
263 stars 11 forks source link

App crash on browsing models #51

Open bamdad-b opened 10 months ago

bamdad-b commented 10 months ago

Hi, thank you for the great project. image After I hit Browse, the app suddenly closes. Is there any dump file I can send you or any static path I can put my models in?

bamdad-b commented 10 months ago

I cloned the project and tried to debug it, here is the error:

Exception thrown at 0x00007FFB1D74CF19 in Unpaint.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x0000004E955FB2F8. HRESULT:0x80004005 Unspecified error
WinRT information: The FileTypeFilters property must have at least one file type filter specified.

It's thrown at ImportLocalModelViewModel.cpp:48 originally at base.h:5087. I'll try to fix the issue if I can and make a pull request.

raduprv commented 4 months ago

Same for me.

theoreticalphysicsftw commented 1 month ago

I cloned the project and tried to debug it, here is the error:

Exception thrown at 0x00007FFB1D74CF19 in Unpaint.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x0000004E955FB2F8. HRESULT:0x80004005 Unspecified error
WinRT information: The FileTypeFilters property must have at least one file type filter specified.

It's thrown at ImportLocalModelViewModel.cpp:48 originally at base.h:5087. I'll try to fix the issue if I can and make a pull request.

Just add folderPicker.FileTypeFilter().Append(L"*"); on line 48 in ImportLocalModelViewModel.cpp before the _modelFolder = co_await folderPicker.PickSingleFolderAsync(); and it should work. I had the same issue.