Bug 1372046 - colormgr import-profile fails
Summary: colormgr import-profile fails
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: colord
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 19:03 UTC by Solomon Peachy
Modified: 2020-06-08 21:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 21:24:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
output of 'colormgr dump' after profile import was attempted. (932 bytes, text/plain)
2016-08-31 19:03 UTC, Solomon Peachy
no flags Details
Output of colord dump (1.70 KB, text/plain)
2019-01-17 21:51 UTC, Gerald Zehetner
no flags Details
output of colormgr get-devices (1.21 KB, text/plain)
2019-01-17 21:51 UTC, Gerald Zehetner
no flags Details

Description Solomon Peachy 2016-08-31 19:03:35 UTC
Created attachment 1196490 [details]
output of 'colormgr dump' after profile import was attempted.

Description of problem:

Trying to manually import profiles into colord using the colormgr cmdline tool does not work.

Version-Release number of selected component (if applicable):

colord-1.2.12-1.fc23.x86_64
cups-2.1.3-2.fc23.x86_64
cups-filters-1.8.3-1.fc23.x86_64

How reproducible:

100%

Steps to Reproduce:
1. colormgr import-profile profile.icc

Actual results:

$] colormgr -v import-profile DS80_20140228.icm
The profile was not added in time

Also, 'colormgr get-profiles' does now show the profile.

Expected results:

'colormgr -v import-profile' should return succesfully, and profile should show up in 'colormgr get-profiles' output.

Additional info:

This system is a server, with no desktop environment installed.  I am logging in via ssh.  The intent is to set up these profiles systemwide.

The output of colormgr dump is attached.

colormgr successfully copies the profile to ~/.local/share/icc.

Running colord with --verbose yields only this message logged when the import-profile command is specified:

CdMain: :1.40841:FindProfileByFilename(/home/pizza/.local/share/icc/DS80_20140228.icm)

Running this same command as root (after su -) yields the same results.

Comment 1 Fedora End Of Life 2016-11-25 09:32:54 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2016-12-20 21:24:57 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Piotr Buła 2017-02-22 19:34:24 UTC
I experience exactly the same issue on Fedora 25.

I tried using DisplayCal and it failed as well while trying to install the profile (I'm assuming it's trying the same under the hood). Not sure if it's related, but trying to calibrate the monitor by choosing "Calibrate" in Settings->Colour fails with "internal error" somewhere 2/3 into calibration process. In short, I cannot get colour management working on Fedora 25 :-(

Component version: colord-1.3.4-1.fc25.x86_64

Comment 4 Gerald Zehetner 2019-01-17 21:49:52 UTC
I can reproduce this bug on Fedora 29.

I ran into this problem with a display icc and a printer icc. Also tried to import the files on 2 different machines, in a live system and in a fresh install.

When I import a icc via the gnome-settings i don't get an error message, but the profile doesn't show up. After importing the two profiles via gui i ran 'colormgr dump' an i found this lines:

profile-09	/org/freedesktop/ColorManager/profiles/icc_b3e67c347ffcd89bd9fbe2e45427b67d_zege_1000	ERROR: Failed to connect to missing profile /org/freedesktop/ColorManager/profiles/icc_b3e67c347ffcd89bd9fbe2e45427b67d_zege_1000
profile-09	(null)	(null)
profile-10	/org/freedesktop/ColorManager/profiles/icc_270fbf51a7b8df49139375a362653468_zege_1000	ERROR: Failed to connect to missing profile /org/freedesktop/ColorManager/profiles/icc_270fbf51a7b8df49139375a362653468_zege_1000
profile-10	(null)	(null)

this are the two imported icc's. They also get copied to ~/.local/share/icc :
[zege@zegepc ~]$ ls ~/.local/share/icc/
 edid-af0718f475bfd56e38b22f496fb9d330.icc
'OKI C332 PS Multi.icc'
'U28E590 #1 2019-01-17 18-46 D6500 2.2 VF-S XYZLUT+MTX.icc'

So it seems there is something wrong with the database?

When I try to import the icc via colormgr I get this error:
[zege@zegepc ~]$ colormgr import-profile ~/Downloads/OKI\ C332\ PS\ 1200dpi.icc
The profile was not added in time

but the icc is also in ~/.local/share/icc:
[zege@zegepc ~]$ ls ~/.local/share/icc/
 edid-af0718f475bfd56e38b22f496fb9d330.icc
'OKI C332 PS 1200dpi.icc'
'OKI C332 PS Multi.icc'
'U28E590 #1 2019-01-17 18-46 D6500 2.2 VF-S XYZLUT+MTX.icc'

Comment 5 Gerald Zehetner 2019-01-17 21:51:02 UTC
Created attachment 1521376 [details]
Output of colord dump

added full output of colord dump

Comment 6 Gerald Zehetner 2019-01-17 21:51:41 UTC
Created attachment 1521379 [details]
output of colormgr get-devices

added output of colormgr get-devices

Comment 7 Gerald Zehetner 2019-01-18 16:52:45 UTC
Today I did calibrate my Display with the gnome-settings calibration. I used a Datacolor Spyder 5. The calibration runs correct and the icc is generated and installed in ~/.local/share/icc but as with the manual icc import the import to colord fails. There is just a generic error message after calibration. Copying the icc file from ~/.local/share/icc to /usr/share/color/icc/colord makes the icc available for the screen.

It seems that all the problems are with icc installation/import to colord.

Comment 8 gaxweb 2020-06-08 21:23:41 UTC
Still happening on Fedora 32. Restarting the colord service and logging out and back in made the ICC profile show up in the gnome-color-manager dialog, even without copying the file to /usr/…


Note You need to log in before you can comment on or make changes to this bug.