unpaint icon indicating copy to clipboard operation
unpaint copied to clipboard

App crash on browsing models

Open bamdad-b opened this issue 1 year ago • 3 comments

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 avatar Sep 06 '23 00:09 bamdad-b

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.

bamdad-b avatar Sep 06 '23 15:09 bamdad-b

Same for me.

raduprv avatar Feb 19 '24 22:02 raduprv

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.

theoreticalphysicsftw avatar May 31 '24 14:05 theoreticalphysicsftw