Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile does not exist for this device #1

Closed
smathieson opened this issue Mar 1, 2018 · 2 comments
Closed

Profile does not exist for this device #1

smathieson opened this issue Mar 1, 2018 · 2 comments

Comments

@smathieson
Copy link

For some reason seems to have stopped working in debian SID.

The command:
"colormgr find-profile-by-filename brightness_583_1060.icc"
Finds the following object path:
"/org/freedesktop/ColorManager/profiles/icc_f1331094da4d3aae46271d681fc04c49_samuel_1000"

Then the command:
"colormgr device-make-profile-default 'xrandr-Lenovo Group Limited' /org/freedesktop/ColorManager/profiles/icc_f1331094da4d3aae46271d681fc04c49_samuel_1000"
Errors out the following:
"profile object path '/org/freedesktop/ColorManager/profiles/icc_f1331094da4d3aae46271d681fc04c49_samuel_1000' does not exist for this device"

This is not related to the python script, seems the error is in colormgr. Any idea what might be wrong?

Thanks,
Sam.

@smathieson
Copy link
Author

Here is your python script modified to "fix" this issue.
Changes:
colormgr device-add-profile will run every time in a try pass block (seems to fail sometimes otherwise???)
DEVICE_ID replaced by a function that uses colormgr get-devices-by-kind display

Seems to work like this. Would be interested in knowing if your original script still runs in your laptop. I don't know why it just stopped working.

icc-brightness.zip

udifuchs added a commit that referenced this issue Mar 13, 2018
Originally, the profile was applied to "xrandr-Lenovo Group Limited". Now they are applied to the first display.
Based on patch by "xrandr-Lenovo Group Limited".
Closes issue #1.
@udifuchs
Copy link
Owner

I applied your patch with a few changes. I'm not sure why colormgr is behaving this way. I sometimes get the error 'The profile was not added in time' during import-profile, but I haven't seen your error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants