#7442 (Bug) ‘NoneType’ object has no attribute ‘DeviceKey’
+1 0
Closed as Works For Me
Component: DisplayCAL
Created by Bram Dispa
Last modified
Hi all,
I’m trying to install a profile which resulted from calibration, but I get the error message “‘NoneType’ object has no attribute ‘DeviceKey'” when I try to install it. I’ve seen the thread on https://hub.displaycal.net/issue/6099/ and thus reinstalled my display driver, including the necessary reboots, but no luck there. Also reinstalled DisplayCAL. How can I proceed?
Thank you,
Bram
2017-06-06 10_42_45- (image/png | 2017-06-06 10:43:05)
2017-06-06 10_58_07-Apparaatbeheer (image/png | 2017-06-06 10:59:32)
DisplayCAL-apply-profiles (text/plain | 2017-06-06 11:33:37)
DisplayCAL (text/plain | 2017-06-06 11:34:56)
logs (application/zip | 2017-06-06 12:03:51)
printDisplayDevicesInfo (application/zip | 2017-06-06 13:49:02)
What’s your graphics card? Is it listed in device manager?
Hello Florian,
I’m using a NVidia GTX 1060. It is indeed listed in the device manager. My monitors (EIZO 27″) connected via DisplayPort are listed quite generically.
Thanks,
Bram
Please attach DisplayCAL-apply-profiles.log and DisplayCAL-apply-profiles.1.log (if it exists).
This is the Apply Profiles-log…
No …profiles.1.log. I’m unsure if you could use the DisplayCAL.log itself, so I’ll just attach it, just to be sure.
There’s something wrong with your system. EnumDisplayDevices should not fail in that way. Please run DisplayCAL-apply-profiles.exe –debug and attach DisplayCAL-apply-profiles.log
My recommendation would be to completely wipe the display driver and re-install it fresh.
I wiped the display drivers this morning, but that didn’t help.
Attached you’ll find the logs the debug flag generated.
Please run the attached executable, and post the output. Thanks.
MONITORS
Monitor
|-Device \\.\DISPLAY12
|-Work (2560, 0, 5120, 1400)
|-Flags 0
|-Monitor (2560, 0, 5120, 1440)
Monitor
|-Device \\.\DISPLAY13
|-Work (0, 0, 2560, 1400)
|-Flags 1
PRIMARY
|-Monitor (0, 0, 2560, 1440)
DISPLAY ADAPTERS
Adapter
|-DeviceID PCI\VEN_10DE&DEV_1C03&SUBSYS_371D1458&REV_A1
|-DeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{C6FE360B-
| 5E3B-497A-89BF-5327D4AA04AC}\0000
|-DeviceName \\.\DISPLAY12
|-DeviceString NVIDIA GeForce GTX 1060 6GB
|-Size 424
|-StateFlags 1
| DISPLAY_DEVICE_ACTIVE
Adapter
|-DeviceID PCI\VEN_10DE&DEV_1C03&SUBSYS_371D1458&REV_A1
|-DeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{C6FE360B-
| 5E3B-497A-89BF-5327D4AA04AC}\0001
|-DeviceName \\.\DISPLAY13
|-DeviceString NVIDIA GeForce GTX 1060 6GB
|-Size 424
|-StateFlags 5
| DISPLAY_DEVICE_PRIMARY_DEVICE
| DISPLAY_DEVICE_ACTIVE
Adapter
|-DeviceID PCI\VEN_10DE&DEV_1C03&SUBSYS_371D1458&REV_A1
|-DeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{C6FE360B-
| 5E3B-497A-89BF-5327D4AA04AC}\0002
|-DeviceName \\.\DISPLAY14
|-DeviceString NVIDIA GeForce GTX 1060 6GB
|-Size 424
|-StateFlags 0
Adapter
|-DeviceID PCI\VEN_10DE&DEV_1C03&SUBSYS_371D1458&REV_A1
|-DeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{C6FE360B-
| 5E3B-497A-89BF-5327D4AA04AC}\0003
|-DeviceName \\.\DISPLAY15
|-DeviceString NVIDIA GeForce GTX 1060 6GB
|-Size 424
|-StateFlags 0
Press RETURN or ENTER to exit
Nothing that I can do about it. The Windows API calls say that there are no monitors attached to your display adapters.
But there are monitors mentioned at the top? And two adapters have the DISPLAY_DEVICE_ACTIVE flag. Is there anything I can do to make them be reported correctly?
There are no monitor sub-entries under any adapter, and that is a problem. See below how it should look, i.e. at least one adapter should have a monitor connected to it.
Other than trying to figure out what’s wrong with your setup, there’s not much you can do. Reporting the issue to nVidia and Microsoft could be an option. I’m pretty sure if you use Windows color management settings, it’ll also fail, for the same reasons.
I’ve opened a ticket with nVidia. Will keep you posted.