F-Spot System.ArgumentException at System.Collections.Generic.Dictionary`2[System.String,Cms.Profile].Add (System.String key, Cms.Profile value) [0x00000]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
f-spot (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: f-spot
Simply starting f-spot reveals this bug.
andy@bloomfield
[Info 16:29:10.760] Initializing DBus
[Info 16:29:10.827] Initializing Mono.Addins
[Info 16:29:10.923] Starting new FSpot server (f-spot 0.6.0.0)
[Info 16:29:11.361] Starting BeagleService
[Info 16:29:11.371] Hack for gnome-settings-
(f-spot:23092): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionM
System.
at System.
at FSpot.ColorMana
at FSpot.ColorMana
at FSpot.TagSelect
at GtkSharp.
at GLib.ExceptionM
at GtkSharp.
at Gtk.Application
at Gtk.Application
at FSpot.Driver.
ProblemType: Bug
Architecture: amd64
Date: Tue Aug 11 16:31:01 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: f-spot 0.6.0.0-1~ubuntu1
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
ProcVersionSign
SourcePackage: f-spot
Uname: Linux 2.6.31-5-generic x86_64
This happens because I have a /usr/share/ color/icc directory looking like this:
andy@bloomfield :/usr/share/ color/icc$ ls -al owish.icc avg6c.icc
total 6400
drwxr-xr-x 2 root root 4096 2009-08-11 16:55 .
drwxr-xr-x 4 root root 4096 2009-08-11 16:48 ..
-rw-r--r-- 1 root root 540 2005-08-04 19:39 ECI-RGB.V1.0.icc
-rw-r--r-- 1 root root 225824 2005-08-02 05:45 Fogra27L.icm
-rw-r--r-- 1 root root 1526728 2005-08-04 19:39 ISOcoated.icc
-rw-r--r-- 1 root root 1528264 2005-08-04 19:39 ISOuncoated.icc
-rw-r--r-- 1 root root 1528312 2005-08-04 19:39 ISOuncoatedyell
-rw-r--r-- 1 root root 1526792 2005-08-04 19:39 ISOwebcoated.icc
-rw-r--r-- 1 root root 17688 2009-07-31 18:18 l227wt.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:21 lcd2690wuxi.icc -> LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:21 lcd2690wuxi.ICC -> LCD2690WUXi.icc
-rw-r--r-- 1 root root 1644 2009-07-31 19:44 LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:20 LCD2690WUXi.ICC -> LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:20 LCD2690WUXI.ICC -> LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:22 lcd2690wuxi.icm -> LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:22 lcd2690wuxi.ICM -> LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:22 LCD2690WUXi.ICM -> LCD2690WUXi.icc
lrwxrwxrwx 1 root root 15 2009-07-29 03:22 LCD2690WUXI.ICM -> LCD2690WUXi.icc
-rw-r--r-- 1 root root 1052 2005-08-04 19:39 LStar-RGB.icc
-rw-r--r-- 1 root root 157312 2005-08-04 19:40 PhotoGamutRGB_
-rw-r--r-- 1 root root 3144 2005-08-01 19:43 sRGB.icm
That's not likely to happen on most PCs, but I do it because of case sensitivity. This patch should fix the problem.
However, I do wonder if the issue is deeper in Mono. Maybe that file enumeration function shouldn't even return symlinks if they are duplicates?
I'm subscribing ubuntu- main-sponsors because I believe this is a perfectly valid fix for the issue for now.