ledoge / novideo_srgb

Calibrate monitors to sRGB or other color spaces on NVIDIA GPUs, based on EDID data or ICC profiles
GNU General Public License v3.0
1.03k stars 39 forks source link

Can't handle certain file path #27

Open crowbardispensingcore opened 2 years ago

crowbardispensingcore commented 2 years ago

When I tried to load an ICC profile from "C:\Users\username\AppData\Roaming\DisplayCAL\storage\UP2516D #2 2022-05-07 15-20 120cdm² 0.3127x 0.329y sRGB F-S XYZLUT+MTX", the program crashed every time I clicked on "OK". I had to move the file to some other place to load it.

ledoge commented 2 years ago

When it fails to load a profile, it should show a message box with the error that occurred instead of failing silently. The only thing I can think of that could be causing this (which I should really fix) is that if novideo_srgb doesn't have write permissions in the folder where its exe is, it crashes when trying to write the config. So, what folder did you extract the release to?

crowbardispensingcore commented 2 years ago

When it fails to load a profile, it should show a message box with the error that occurred instead of failing silently. The only thing I can think of that could be causing this (which I should really fix) is that if novideo_srgb doesn't have write permissions in the folder where its exe is, it crashes when trying to write the config. So, what folder did you extract the release to?

I think you are correct. I tested it with admin privilege, and it worked fine. I extracted it to Program Files