#14615 (Bug) “Coercing to Unicode: need string or buffer, NoneType found” exception in Display Profile loader prevents use entirely.
+1 0
Closed as Fixed
Component: DisplayCAL 3.7.1 | Milestone: 3.7.1.3
Created by XenHat
Last modified
I have had this bug for a few versions now, I decided it was time to report it since the latest version still has it.
I get this exception every time I try to load a profile:
I have attached the log files generated while reproducing this issue.
Note: I am a C#/C++ developer with some experience with python and I have attempted to fix the issue to submit a patch, however building DisplayCal requires MSVC90, and my development environment uses MSVC140. 🙁
DisplayCAL-logs (application/zip | 2018-11-25 04:12:09)
Dell S2417DG (application/vnd.iccprofile | 2018-11-25 05:25:36)
You seem to have an ICC profile file that’s damaged in an unexpected way somewhere in your %windir%\system32\spool\drivers\color directory. If you can find that file and attach it to the bug report that would be very helpful. One way to find the file in question could be to drag each profile in that folder onto DisplayCAL’s profile info window and see which one of them causes the error.
Thank you for the reply. Here is the offending profile.
Thanks. Fixed in SVN r5717.
Awesome, thank you!