[ubuntu-mono] [Bug 669472] Re: Startup fails with System.ArgumentOutOfRangeException

Stuart Bishop 669472 at bugs.launchpad.net
Tue Nov 9 02:16:32 GMT 2010


I did have some photos imported into Photos/1.

Workaround:

I've moved these directories out of the way, but f-spot still does not
launch. The bad data is still in the sqlite3 database - Photos.time
contains photos

To fix this:

cd ~/.config/f-spot
cp photos.db photos.db.incaseiwannarecover
sqlite3 photos.db "delete from photos where time < 0;"

-- 
Startup fails with System.ArgumentOutOfRangeException
https://bugs.launchpad.net/bugs/669472
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in ubuntu.

Status in Personal photo management for the GNOME desktop: Fix Released
Status in “f-spot” package in Ubuntu: Fix Committed

Bug description:
Binary package hint: f-spot

I tried to import some old photos into f-spot. At some point, it crashed. I suspect the photos got imported, the crash happening straight after.

Now f-spot does not start up, crashing with the following exception:

$ f-spot
[Info  21:18:18.761] Initializing Mono.Addins
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: Argument is out of range.
  at System.DateTime.DaysInMonth (Int32 year, Int32 month) [0x00000] in <filename unknown>:0 
  at FSpot.TimeAdaptor.DateFromIndexDescending (Int32 item) [0x00000] in <filename unknown>:0 
  at FSpot.TimeAdaptor.DateFromIndex (Int32 item) [0x00000] in <filename unknown>:0 
  at FSpot.TimeAdaptor.TickLabel (Int32 item) [0x00000] in <filename unknown>:0 
  at FSpot.GroupSelector.HandleAdaptorChanged (FSpot.GroupAdaptor adaptor) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) FSpot.GroupAdaptor/ChangedHandler:invoke_void__this___GroupAdaptor (FSpot.GroupAdaptor)
  at FSpot.TimeAdaptor+<DoReload>c__AnonStorey19.<>m__6B () [0x00000] in <filename unknown>:0 
  at FSpot.Driver+<RunIdle>c__AnonStorey11.<>m__50 () [0x00000] in <filename unknown>:0 
  at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at FSpot.Driver.Main(System.String[] args)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: f-spot 0.8.0-1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Nov  1 21:19:47 2010
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: f-spot





More information about the Ubuntu-mono mailing list