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

Tony Whitmore tony at tonywhitmore.co.uk
Mon Feb 7 21:33:22 UTC 2011


Thanks for the suggestion Mr. Cheese. Unfortunately, the photos table
doesn't have a date column:

tony at bok:~/Photos$ sqlite3 ./photos.db
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from photos where date<0;
Error: no such column: date
sqlite> .schema photos
CREATE TABLE photos (
	id			INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 
	time			INTEGER NOT NULL, 
	base_uri		STRING NOT NULL, 
	filename		STRING NOT NULL, 
	description		TEXT NOT NULL, 
	roll_id			INTEGER NOT NULL, 
	default_version_id	INTEGER NOT NULL, 
	rating			INTEGER NULL 
);

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

Title:
  f-spot crashes when image has wrong date

Status in Personal photo management for the GNOME desktop:
  Unknown
Status in “f-spot” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: f-spot

  f-spot crashes when the gallery contains an image which has an invalid date. f-spot can not be started / crashes on each start.
  This should be handled and not result in an application crash.

  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)





More information about the Ubuntu-mono mailing list