Open nadigo opened 5 years ago
I'm facing this too. Interestingly only for the 2nd display.
$ ./customdisplayprofiles -d 1 current-path
/Users/udondan/Library/ColorSync/Profiles/PHL 499P9 Links.icc
$ ./customdisplayprofiles -d 2 current-path
Traceback (most recent call last):
File "./customdisplayprofiles", line 219, in <module>
main()
File "./customdisplayprofiles", line 183, in main
current_profile_url = target_display['device_info']['CustomProfiles']['1']
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 162, in __getitem__objectForKey_
return container_unwrap(res, KeyError, key)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 659, in container_unwrap
raise exc_type(*exc_args)
KeyError: '1'
The info
command works on both displays.
getting the below error when running "customdisplayprofiles current-path" on mac 10.14.1
Traceback (most recent call last): File "/usr/local/bin/customdisplayprofiles", line 219, in
main()
File "/usr/local/bin/customdisplayprofiles", line 183, in main
current_profile_url = target_display['device_info']['CustomProfiles']['1']
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/convenience.py", line 162, in getitemobjectForKey
return container_unwrap(res, KeyError, key)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 659, in container_unwrap
raise exc_type(*exc_args)
KeyError: '1'