DSPaul / COMPASS

TTRPG resource manager, bringing all your books, maps, etc. in one place.
https://www.compassapp.info
GNU General Public License v3.0
78 stars 8 forks source link

Critical Error Upon Launching After Initial Installation #66

Closed brittonica closed 3 months ago

brittonica commented 3 months ago

Issue: Upon initial installation of the app, I received a critical error message after attempting to open the program. Restart of Windows did not solve the issue. Message text follows:

It seems COMPASS has run into a critical error ("The invocation of the constructor on type 'COMPASS.Windows.MainWindow' that matches the specified binding constraints threw an exception.' Line number '13' and line position '5'.).

Screenshots/files Screenshot 2024-03-16 141133

Log: all.log

System info:

DSPaul commented 3 months ago

That is a little concerning. I'm at an event now so I can't look at it right away, I'll try check it out when I get home.

VicenteCartas commented 3 months ago

I got the same error, reading the log, in my case the problem was:

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\vicen\AppData\Roaming\COMPASS\Collections'.

So I just created the Collections folder by hand, and it launched successfully.

brittonica commented 3 months ago

So I just created the Collections folder by hand, and it launched successfully.

That did the trick. Thank you!

DSPaul commented 3 months ago

Ok, that tells me what's wrong, should be an easy fix when I get home, and that also explains why it only happens on fresh installs. Thank you guys for letting me know.

brittonica commented 3 months ago

Glad it was an easy solve. Wonderful product!

DSPaul commented 3 months ago

It's fixed now, sorry for the inconvenience. I'll investigate tomorrow why my tests didn't catch this. Thanks for the kind words 😄