$ f-spot ** (/usr/lib/f-spot/f-spot.exe:15674): WARNING **: Missing method .ctor in assembly /usr/lib/f-spot/f-spot.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/lib/f-spot/f-spot.exe mtoken: 0x0a000743 aborting... Aborted (core dumped) Every time.
f-spot - 0.4.0-3.fc8.i386
Also in fc9: $ f-spot ** (/usr/lib/f-spot/f-spot.exe:26202): WARNING **: The class System.Collections.Generic.SortedDictionary`2 could not be loaded, used in /usr/lib/mono/gac/NDesk.DBus/1.0.0.0__f6716e4f9b2ed099/NDesk.DBus.dll (token 0x0100004e) System.ApplicationException: F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" ---> System.Exception: Unable to open the system message bus. ---> System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in <0x0003a> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:Init (Int32 , IEqualityComparer`1 ) in <0x0000e> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:.ctor () in <0x00084> NDesk.DBus.Connection:.ctor (System.String address) in <0x00013> NDesk.DBus.Bus:.ctor (System.String address) in <0x00061> NDesk.DBus.Bus:Open (System.String address) in <0x00066> NDesk.DBus.Bus:get_System ()--- End of inner exception stack trace --- in <0x000b8> NDesk.DBus.Bus:get_System () in <0x00014> NDesk.DBus.BusG:Init () in <0x006a7> FSpot.Driver:Main (System.String[] args)--- End of inner exception stack trace --- in <0x006f8> FSpot.Driver:Main (System.String[] args) ** (f-spot:26202): WARNING **: Missing method .ctor in assembly /usr/lib/f-spot/f-spot.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/lib/f-spot/f-spot.exe mtoken: 0x0a000782 aborting... Aborted (core dumped)
I've pushed 0.4.3.1-1.fc9 to arrive in the next testing push for Fedora 9, in the mean time, you can grab a copy of the RPM from http:// kojipkgs.fedoraproject.org/packages/f-spot/0.4.3.1/1.fc9/, I'd really appreciate it if you could check if you can still reproduce this bug.
$ f-spot --version F-Spot 0.4.3.1 - (c)2003-2008, Novell Inc Personal photo management for the GNOME Desktop $ f-spot ** (/usr/lib/f-spot/f-spot.exe:2112): WARNING **: The class System.Collections.Generic.SortedDictionary`2 could not be loaded, used in /usr/lib/mono/gac/NDesk.DBus/1.0.0.0__f6716e4f9b2ed099/NDesk.DBus.dll (token 0x0100004e) System.ApplicationException: F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" ---> System.Exception: Unable to open the system message bus. ---> System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in <0x0003a> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:Init (Int32 , IEqualityComparer`1 ) in <0x0000e> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:.ctor () in <0x00084> NDesk.DBus.Connection:.ctor (System.String address) in <0x00013> NDesk.DBus.Bus:.ctor (System.String address) in <0x00061> NDesk.DBus.Bus:Open (System.String address) in <0x00066> NDesk.DBus.Bus:get_System ()--- End of inner exception stack trace --- in <0x000b8> NDesk.DBus.Bus:get_System () in <0x00014> NDesk.DBus.BusG:Init () in <0x0072f> FSpot.Driver:Main (System.String[] args)--- End of inner exception stack trace --- in <0x00780> FSpot.Driver:Main (System.String[] args) ** (f-spot:2112): WARNING **: Missing method .ctor in assembly /usr/lib/f-spot/f-spot.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/lib/f-spot/f-spot.exe mtoken: 0x0a0007d8 aborting... Aborted (core dumped) $
$ ps -ax | grep dbus Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ 1956 ? Ss 0:09 dbus-daemon --system 2130 pts/2 S+ 0:00 grep dbus 14473 ? S 0:00 /usr/bin/dbus-launch --exit-with-session 14591 ? S 0:00 dbus-launch --sh-syntax --exit-with-session 14592 ? Ss 0:11 /bin/dbus-daemon --fork --print-pid 7 --print-address 9 --session
Just out of interest, what happens if you try under a different user account, (i.e. one that you haven't used f-spot with), in the mean time, I'm going to see what other information I can find out.
Actually, the other thing, would you be able to get the output of: rpm -q ndesk-dbus rpm -q ndesk-dbus-glib for me?
$ rpm -q ndesk-dbus ndesk-dbus-0.6.1a-2.fc9.i386 $ rpm -q ndesk-dbus-glib ndesk-dbus-glib-0.4.1-3.fc9.i386
$ rpm -qa | grep f-spot f-spot-0.4.3.1-1.fc9.i386 $ f-spot ** (/usr/lib/f-spot/f-spot.exe:13531): WARNING **: The class System.Collections.Generic.SortedDictionary`2 could not be loaded, used in /usr/lib/mono/gac/NDesk.DBus/1.0.0.0__f6716e4f9b2ed099/NDesk.DBus.dll (token 0x0100004e) System.ApplicationException: F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" ---> System.Exception: Unable to open the system message bus. ---> System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in <0x0003a> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:Init (Int32 , IEqualityComparer`1 ) in <0x0000e> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:.ctor () in <0x00084> NDesk.DBus.Connection:.ctor (System.String address) in <0x00013> NDesk.DBus.Bus:.ctor (System.String address) in <0x00061> NDesk.DBus.Bus:Open (System.String address) in <0x00066> NDesk.DBus.Bus:get_System ()--- End of inner exception stack trace --- in <0x000b8> NDesk.DBus.Bus:get_System () in <0x00014> NDesk.DBus.BusG:Init () in <0x0072f> FSpot.Driver:Main (System.String[] args)--- End of inner exception stack trace --- in <0x00780> FSpot.Driver:Main (System.String[] args) ** (f-spot:13531): WARNING **: Missing method .ctor in assembly /usr/lib/f-spot/f-spot.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/lib/f-spot/f-spot.exe mtoken: 0x0a0007d8 aborting... Aborted (core dumped)
$ rpm -qa | grep f-spot f-spot-0.5.0.3-2.fc10.i386 $ f-spot [Info 10:51:11.016] Initializing DBus ** (f-spot:16563): WARNING **: The class System.Collections.Generic.SortedDictionary`2 could not be loaded, used in /usr/lib/mono/gac/NDesk.DBus/1.0.0.0__f6716e4f9b2ed099/NDesk.DBus.dll (token 0x0100004e) [Warn 10:51:11.046] Caught an exception - Object reference not set to an instance of an object (in `mscorlib') in <0x00000> <unknown method> in <0x0003a> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:Init (Int32 , IEqualityComparer`1 ) in <0x0000e> System.Collections.Generic.Dictionary`2[NDesk.DBus.MatchRule,System.Delegate]:.ctor () in <0x00084> NDesk.DBus.Connection:.ctor (System.String address) in <0x00013> NDesk.DBus.Bus:.ctor (System.String address) in <0x00061> NDesk.DBus.Bus:Open (System.String address) in <0x00066> NDesk.DBus.Bus:get_System () Unable to open the system message bus. (in `NDesk.DBus') in <0x000b8> NDesk.DBus.Bus:get_System () in <0x00014> NDesk.DBus.BusG:Init () in <0x00982> FSpot.Driver:Main (System.String[] args) F-Spot cannot find the Dbus session bus. Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" (in `f-spot') in <0x009d3> FSpot.Driver:Main (System.String[] args) ** (f-spot:16563): WARNING **: Missing method .ctor in assembly /usr/lib/f-spot/f-spot.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/lib/f-spot/f-spot.exe mtoken: 0x0a0008de aborting... 43dd657d-a9c0-c0c6-0fdbb225-5d72935f is dumped $