Building F-spot from source

I downloaded F-spot’s latest version for Ubuntu, after having to manually install several mono libraries that weren’t installed with F-spot’s instrucions, I ran into this problem when running it:

Starting new FSpot server
XXXXX
System.ArgumentNullException: Argument cannot be null.
Parameter name: s
  at System.Int32.Parse (System.String s) [0x00000]
  at MetaItem.get_ValueAsInt () [0x00000]
  at FSpot.Database.Updater.Run (.Db database) [0x00000]
  at Db.Init (System.String path, Boolean create_if_missing) [0x00000]
  at FSpot.Core..ctor (Boolean nodb) [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
XXXXX
Starting new FSpot server
Starting new FSpot server
Starting new FSpot server
...
..
.

Luckily Google helped me find a solution for this bug. What you have to do is delete your old f-spot’s db file (in my case it was empty).

jj@freya:: cd .gnome2/f-spot                                                                           [~]
jj@freya:: ls                                                                                     [f-spot]
photos.db
jj@freya:: ls -lh photos.db                                                                       [f-spot]
-rw-r--r-- 1 jj jj 3.0K 2007-01-29 01:47 photos.db
jj@freya:: rm photos.db                                                                           [f-spot]
jj@freya::

Voila~, now I’m running into a new problem which I’m still working on :P

jj@freya:: f-spot                                                           [~]
Starting new FSpot server

(f-spot:5098): libglade-WARNING **: unknown attribute `comment' for
.
System.DllNotFoundException: GL
  at (wrapper managed-to-native) GdkGlx.Context:glXChooseVisual (intptr,int,int[])
  at GdkGlx.Context..ctor (Gdk.Screen screen, GdkGlx.Context share_list, System.Int32[] attr) [0x00000]
  at GdkGlx.Context..ctor (Gdk.Screen screen, System.Int32[] attr) [0x00000]
  at FSpot.PhotoImageView.HandleRealized (System.Object sender, System.EventArgs args) [0x00000]
  at FSpot.PhotoImageView..ctor (IBrowsableCollection query) [0x00000]
  at FSpot.PhotoView..ctor (IBrowsableCollection query) [0x00000]
  at MainWindow..ctor (.Db db) [0x00000]
  at FSpot.Core.get_MainWindow () [0x00000]
  at FSpot.Core.Import (System.String path) [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
This entry was posted in en, linux, tech. Bookmark the permalink.
  • http://jj.isgeek.net/2007/02/06/building-f-spot-from-source-continued/ Eso es ~normal! – Jj’s Blog » Building F-spot from source – Continued

    [...] Following my past F-spot’s post about the errors I ran into while building from source. I want to share how Google helped me to find the solution for the last error message I mentioned. [...]