GNOME Bugzilla – Bug 594016
System.OverflowException error after upgrade to 0.6.0
Last modified: 2009-09-09 14:37:45 UTC
Upgraded to f-spot-0.6.0.0-1.fc11.x86_64 via Fedora yum repos. Opening f-spot gives database error and opens with new blank database. Opening from command line gives the following output: [ann@fedora11 ~]$ f-spot [Info 11:58:38.278] Initializing DBus [Info 11:58:38.353] Initializing Mono.Addins [Info 11:58:38.453] Starting new FSpot server (f-spot 0.6.0.0) [Info 11:58:38.499] Updating F-Spot Database [Warn 11:58:39.278] Rolling back database changes because of Exception System.OverflowException: Value is greater than Int32.MaxValue or less than Int32.MinValue at System.Convert.ToInt32 (Int64 value) [0x00000] at System.Int64.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] at System.Convert.ToInt32 (System.Object value) [0x00000] at FSpot.Database.Updater.<Updater>m__37 () [0x00000] at FSpot.Database.Updater+Update.Execute (.Db db, .MetaItem db_version) [0x00000] at FSpot.Database.Updater.Run (.Db database) [0x00000] (f-spot:21487): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed [Info 11:59:03.664] Starting BeagleService [Info 11:59:03.674] Hack for gnome-settings-daemon engaged (f-spot:21487): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. [Info 11:59:05.486] Exiting Will roll back to pervious version for now, but I have a duplicate environment to assist tracking this problem down.
i'm almost sure this was fixed in 0.6.1.1. Please upgrade and try...
Ah - I'll have to wait for 0.6.1.1 to hit the yum repos then. Will update as soon as I get the update.
I don't think it's fixed in 0.6.1.1. could you please send me the photos.db that f-spot backuped by email (stephane AT delcroix DOT org) ?
commit 33f1d9fc4a6e3fdd00e0aa34d17d2a26a1cb5238 Author: Stephane Delcroix <stephane@delcroix.org> Date: Wed Sep 9 16:33:27 2009 +0200 do not try to convert the date to UInt32 on Upgrade, copy the raw data this fixes bgo #594016 for people with digital photos from the 19th century or from the post2038 era @Duncan, send me your db, I'll fix it @Duncan, make sure the fedora packager pick this patch, as I'm not sure there will be a 0.6.1.2