Jj's web stream

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]