Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282347 - media-gfx/f-spot-0.6.0.0 fails to start
Summary: media-gfx/f-spot-0.6.0.0 fails to start
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-22 18:43 UTC by Florian Streibelt
Modified: 2009-08-27 22:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Streibelt 2009-08-22 18:43:16 UTC
reported upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=592736

$ f-spot
[Info  20:33:39.624] Initializing DBus
[Info  20:33:39.790] Initializing Mono.Addins
[Info  20:33:40.872] Starting new FSpot server (f-spot 0.6.0.0)
[Warn  20:33:42.626] Caught an exception - glibsharp_strlen (in `glib-sharp')
  at (wrapper managed-to-native) GLib.Marshaller:glibsharp_strlen (intptr)
  at GLib.Marshaller.Utf8PtrToString (IntPtr ptr) [0x00000] 
  at GLib.Marshaller.PtrToStringGFree (IntPtr ptr) [0x00000] 
  at Gnome.Thumbnail.PathForUri (System.String uri, ThumbnailSize size) [0x00000] 
  at PhotoStore.EnsureThumbnailDirectory () [0x00000] 
  at PhotoStore..ctor (Banshee.Database.QueuedSqliteDatabase database, Boolean is_new) [0x00000] 
  at Db.Init (System.String path, Boolean create_if_missing) [0x00000] 
  at Db.Repair () [0x00000] 
  at FSpot.Core.get_Database () [0x00000] 
  at FSpot.Driver.Main (System.String[] args) [0x00000] 
[Warn  20:33:42.631] Caught an exception - Sorry, couldn't start F-Spot. (in `f-spot')
  at FSpot.Driver.Main (System.String[] args) [0x00000]
Comment 1 Christopher Smith 2009-08-25 15:46:38 UTC
F-Spot does not start for me either but my terminal output looks different.  This is what I am getting:

[Info  11:44:45.142] Initializing DBus
[Info  11:44:45.509] Initializing Mono.Addins
[Info  11:44:46.605] Starting new FSpot server (f-spot 0.6.0.0)
error checking orientation
[Info  11:44:52.724] Starting BeagleService
[Info  11:44:52.775] Hack for gnome-settings-daemon engaged
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: An element with the same key already exists in the dictionary.
  at System.Collections.Generic.Dictionary`2[System.String,Cms.Profile].Add (System.String key, Cms.Profile value) [0x00000] 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] 
  at FSpot.ColorManagement.get_Profiles () [0x00000] 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GtkSharp.TreeCellDataFuncWrapper.NativeCallback(IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args)
Comment 2 Florian Streibelt 2009-08-26 17:52:33 UTC
upstreams closed the bug as resolved -.-
"looks like an error in your linking/building process."
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-08-27 20:42:50 UTC
To Florian: this looks like you're missing /usr/lib/libglibsharpglue-2.so. Could you do emerge -1 glib-sharp to get it rebuilt and confirm that you have no other versions of glib-sharp installed ( search for glib-sharp.dll in /usr/local if you're unsure )

Christopher: http://bugzilla.gnome.org/show_bug.cgi?id=591424
The fix is included in f-spor-0.6.1.1 which I will probably push tonight.
Comment 4 Florian Streibelt 2009-08-27 22:04:06 UTC
(In reply to comment #3)
> To Florian: this looks like you're missing /usr/lib/libglibsharpglue-2.so.
> Could you do emerge -1 glib-sharp to get it rebuilt and confirm that you have
> no other versions of glib-sharp installed ( search for glib-sharp.dll in
> /usr/local if you're unsure )
> 
hmm. okay. still doesn't work.

Ok, here's what I did: 

- f-spot still 'terminates', due to:
Caught an exception - glibsharp_strlen (in `glib-sharp')

- there is my glib-sharp.dll in /usr/local:
$ find /usr/local/ -name glib-sharp.dll | xargs ls -lah

-rwxr-xr-x 1 root root 92K 18. Mai 12:10 /usr/local/lib64/mono/gac/glib-sharp/2.14.0.0__35e10195dab3c99f/glib-sharp.dll

lrwxrwxrwx 1 root root  59 18. Mai 12:10 /usr/local/lib64/mono/gtk-sharp-2.0/glib-sharp.dll -> ../gac/glib-sharp/2.14.0.0__35e10195dab3c99f/glib-sharp.dll

- glib-sharp is emerged: 
$ eix -I glib-sharp
[I] dev-dotnet/dbus-glib-sharp
     Available versions:  0.4.1 {debug}
     Installed versions:  0.4.1(17:57:39 17.05.2009)(-debug)
     Homepage:            http://www.ndesk.org/DBusSharp
     Description:         glib integration for DBus-Sharp

[I] dev-dotnet/glib-sharp
     Available versions:  (2)  2.12.8!t (~)2.12.9!t
    {debug}
     Installed versions:  2.12.9(2)!t(17:39:04 22.08.2009)(-debug)
     Homepage:            http://www.mono-project.com/GtkSharp
     Description:         GtkSharp's glib module of the gtk-sharp tarball

- find /usr/local/ -name glib-sharp.dll | rm

- re-emerging
$ emerge -1 glib-sharp
Emerging ... dev-dotnet/glib-sharp-2.12.9 ...
[...]


- f-spot still fails

- find /usr/local/ -name glib-sharp.dll  
  => finds nothing

BUT:
$ find /usr/local/ -iname '*glib-sharp.dll*'
/usr/local/lib64/mono/gac/glib-sharp/2.14.0.0__35e10195dab3c99f/glib-sharp.dll.config
/usr/local/lib64/mono/gac/glib-sharp/2.14.0.0__35e10195dab3c99f/glib-sharp.dll.mdb
/usr/local/lib64/mono/gac/policy.2.4.glib-sharp/0.0.0.0__35e10195dab3c99f/policy.2.4.glib-sharp.dll
/usr/local/lib64/mono/gac/policy.2.6.glib-sharp/0.0.0.0__35e10195dab3c99f/policy.2.6.glib-sharp.dll
/usr/local/lib64/mono/gac/policy.2.8.glib-sharp/0.0.0.0__35e10195dab3c99f/policy.2.8.glib-sharp.dll
/usr/local/lib64/mono/gac/policy.2.10.glib-sharp/0.0.0.0__35e10195dab3c99f/policy.2.10.glib-sharp.dll
/usr/local/lib64/mono/gac/policy.2.12.glib-sharp/0.0.0.0__35e10195dab3c99f/policy.2.12.glib-sharp.dll
/usr/local/lib64/mono/gtk-sharp-2.0/policy.2.4.glib-sharp.dll
/usr/local/lib64/mono/gtk-sharp-2.0/policy.2.6.glib-sharp.dll
/usr/local/lib64/mono/gtk-sharp-2.0/policy.2.8.glib-sharp.dll
/usr/local/lib64/mono/gtk-sharp-2.0/policy.2.10.glib-sharp.dll
/usr/local/lib64/mono/gtk-sharp-2.0/policy.2.12.glib-sharp.dll


Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-08-27 22:35:51 UTC
My instincts were right, it seems. Please reopen when you can reproduce with a pristine install (ie. no double-installations of libraries).