[Bug 653327] Re: f-spot crashes when image has wrong date

2011-01-13 Thread OblongCheese
You can fix this problem temporarily by taking the following action:

1. Backup your photos.db, usually located in $HOME/.config/f-spot/photos.db
2. Install sqlite3 (apt-get install sqlite3)
3. Run: sqlite3 $HOME/.config/f-spot/photos.db
4. To find out which files are broken, do: select * from photos where date0 - 
this will list all the photos with a negative number as the date (aka corrupt 
dates)
5. Then do: delete from photos where date0 - this will delete all records from 
the database which reference photos with a corrupt date. F-Spot will not work 
again, but obviously won't have the affected photos in the database.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to f-spot in ubuntu.
https://bugs.launchpad.net/bugs/653327

Title:
  f-spot crashes when image has wrong date

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 653327] Re: f-spot crashes when image has wrong date

2010-10-26 Thread OblongCheese
On a fresh install of Ubuntu 10.10 I am having the same problem:

[Info  23:01:07.164] 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) [0x0] in 
filename unknown:0 
  at FSpot.TimeAdaptor.DateFromIndexDescending (Int32 item) [0x0] in 
filename unknown:0 
  at FSpot.TimeAdaptor.DateFromIndex (Int32 item) [0x0] in filename 
unknown:0 
  at FSpot.TimeAdaptor.TickLabel (Int32 item) [0x0] in filename unknown:0 
  at FSpot.GroupSelector.HandleAdaptorChanged (FSpot.GroupAdaptor adaptor) 
[0x0] in filename unknown:0 
  at (wrapper delegate-invoke) 
FSpot.GroupAdaptor/ChangedHandler:invoke_void__this___GroupAdaptor 
(FSpot.GroupAdaptor)
  at FSpot.TimeAdaptor+DoReloadc__AnonStorey19.m__6B () [0x0] in 
filename unknown:0 
  at FSpot.Driver+RunIdlec__AnonStorey11.m__50 () [0x0] in filename 
unknown:0 
  at GLib.Idle+IdleProxy.Handler () [0x0] 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)

I have simply copied my F-Spot database and corresponding files over
from a Ubuntu 10.04 install.

-- 
f-spot crashes when image has wrong date
https://bugs.launchpad.net/bugs/653327
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to f-spot in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs