A small bug
Lars Tore Gustavsen
lars.tore at mulebakken.net
Tue Nov 10 19:35:48 UTC 2009
I'm stumbled over this when I interrupted a profile creation. My
target profile name was the same as set before with gcm-prefs. I ended
up with the entire gcm-prefs gui blocked. Se attached screenshoot.
I have reproduced it and attached a log file.
If I do a "head -c 100 /dev/random > i1.icc" where i1.icc is my
gcm-prefs chosen profile I got this messages in log:
- loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:18:01 FI:gcm-prefs.c FN:gcm_prefs_add_profiles,885
- failed to add profile: profile was not valid (file size too small)
TI:20:18:01 FI:gcm-edid.c FN:gcm_edid_parse,131
- PNPID: SAM
TI:20:18:01 FI:gcm-edid.c FN:gcm_edid_parse,149
- gamma is reported as 2,200000
TI:20:18:01 FI:gcm-edid.c FN:gcm_edid_parse,131
- PNPID: SAM
TI:20:18:01 FI:gcm-edid.c FN:gcm_edid_parse,149
- gamma is reported as 2,200000
TI:20:18:01 FI:gcm-profile.c FN:gcm_profile_parse,678
- loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:18:01 FI:gcm-client.c FN:gcm_client_xrandr_add,532
- failed to load: failed to load from config: failed to set from
profile: profile was not valid (file size too small)
TI:20:18:01 FI:gcm-client.c FN:gcm_client_xrandr_add,506
- xrandr_dvi_0 is not connected
TI:20:18:01 FI:gcm-client.c FN:gcm_client_xrandr_add,506
- xrandr_s_video is not connected
****************************************************
With a large file like this:
"head -c 500 /dev/random > i1.icc"
I got:
- loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:25:40 FI:gcm-prefs.c FN:gcm_prefs_add_profiles,885
- failed to add profile: not an ICC profile, signature is ' �� ',
expecting 'acsp'
TI:20:25:40 FI:gcm-edid.c FN:gcm_edid_parse,131
- PNPID: SAM
TI:20:25:40 FI:gcm-edid.c FN:gcm_edid_parse,149
- gamma is reported as 2,200000
TI:20:25:40 FI:gcm-edid.c FN:gcm_edid_parse,131
- PNPID: SAM
TI:20:25:40 FI:gcm-edid.c FN:gcm_edid_parse,149
- gamma is reported as 2,200000
TI:20:25:40 FI:gcm-profile.c FN:gcm_profile_parse,678
- loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:25:40 FI:gcm-client.c FN:gcm_client_xrandr_add,532
- failed to load: failed to load from config: failed to set from
profile: not an ICC profile, signature is ' �� ', expecting 'acsp'
TI:20:25:40 FI:gcm-client.c FN:gcm_client_xrandr_add,506
- xrandr_dvi_0 is not connected
TI:20:25:40 FI:gcm-client.c FN:gcm_client_xrandr_add,506
- xrandr_s_video is not connected
Regards
Lars Tore Gustavsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcm-prefs-log.txt.zip
Type: application/zip
Size: 2093 bytes
Desc: not available
URL: <http://mail.gnome.org/archives/gnome-color-manager-list/attachments/20091110/283c238e/attachment-0004.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corrupt.png
Type: image/png
Size: 20741 bytes
Desc: not available
URL: <http://mail.gnome.org/archives/gnome-color-manager-list/attachments/20091110/283c238e/attachment-0004.png>
More information about the gnome-color-manager-list
mailing list