After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623193 - F-Sport 0.7 does not work when upgrading from version 0.6.x
F-Sport 0.7 does not work when upgrading from version 0.6.x
Status: RESOLVED DUPLICATE of bug 622164
Product: f-spot
Classification: Other
Component: General
0.7.0
Other Linux
: Normal blocker
: 0.7.1
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-30 08:20 UTC by igor.kriznar
Modified: 2010-09-15 02:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description igor.kriznar 2010-06-30 08:20:32 UTC
I'm using Ubuntu 10.04. I have uninstalled deb for f-spot version 0.6.1 and compiled and installed manually 0.7 from F-Spot web site. First it did not start. I have run f-spot from console and I have seen it brakes when initializing addons. So I have removed all addon references from my configuration, but left the database.
After this f-spot started, I could see pictures, it was way faster. But when I tried to import something, import dialog appeared and fast disappeared. I could not import anything, this make it unusable.

Now I have removed 0.7 and installed back 0.6, but later now complains that database is too new and brakes. This is another problem, but it means I'm screwed for the moment.

I like F-Spot and I want to have it running again for me. Is there a way out of this trough some 0.7 based build?
I'm professional developer, if you want me to test something I will.
Comment 1 Ruben Vermeersch 2010-06-30 08:53:04 UTC
Could you give us the console output with --debug of the 0.7 problem?
Comment 2 igor.kriznar 2010-06-30 09:19:02 UTC
This debug to console if I start 0.7 right after 0.6 when there are addin references in my profile:


ikriznar@Ike-CSL:~$ f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[1 Info  11:10:57.301] Initializing Mono.Addins

Unhandled Exception: System.InvalidOperationException: Could not read add-in description
  at Mono.Addins.Addin.get_Description () [0x00000] 
  at Mono.Addins.AddinSessionService.CheckHostAssembly (System.Reflection.Assembly asm) [0x00000] 
  at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000] 
  at Mono.Addins.AddinSessionService.Initialize () [0x00000] 
  at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000] 
  at FSpot.Driver.Main (System.String[] args) [0x00329] in /home/install/f-spot-0.7.0/src/main.cs:263 
ikriznar@Ike-CSL:~$ 


Now when I remove addin references from profile ans try to import photos. All I did was to start f-spot, waited till it was loaded (in output till inclusive the line starting with "(f-spot:20818): GdkPixbuf-WARNING **") and once clicked on Import button, no other thing done. This is in output part starting with "Exception in Gtk# callback delegate".

ikriznar@Ike-CSL:~$ f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[1 Info  11:12:46.508] Initializing Mono.Addins
[1 Debug 11:12:47.702] Mono.Addins Initialization took 1.178717
[1 Debug 11:12:48.829] Db Initialization took 0.993947
[1 Debug 11:12:50.906] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC 
[1 Debug 11:12:51.246] QueryToTemp took 0.339571 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC 
[1 Debug 11:12:51.246] Reloading the query took 0.342723
[2 Debug 11:12:51.666] PhotosPerMonth took 0.167918
[2 Debug 11:12:51.667] TimeAdaptor REAL Reload took 0.372455
[1 Debug 11:12:51.717] Query took 0.098358 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 11:12:51.750] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 11:12:52.028] QueryToTemp took 0.27789 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 11:12:52.097] Query took 0.061209 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 11:12:52.183] open uri = file:///home/ikriznar/Photos/Olimpus 1 2007/P1010122%20Olimpija%2022.JPG
[1 Debug 11:12:52.235] Reloading the query took 0.485602
[1 Debug 11:12:52.292] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[3 Debug 11:12:52.432] PhotosPerMonth took 0.197626
[3 Debug 11:12:52.432] TimeAdaptor REAL Reload took 0.402581
[1 Debug 11:12:52.711] QueryToTemp took 0.418887 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 11:12:52.745] IndexOf took 0.012537 : SELECT ROWID AS row_id FROM photoquery_temp_0 WHERE id = 11838
[1 Debug 11:12:52.745] Reloading the query took 0.452679
[1 Debug 11:12:52.898] IndexOf took 0.008696 : SELECT ROWID AS row_id FROM photoquery_temp_0 WHERE time >= 1259625600 ORDER BY time ASC LIMIT 1
[1 Debug 11:12:52.906] Query took 0.007501 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 15400
[1 Debug 11:12:52.912] IndexOf took 0.006031 : SELECT ROWID AS row_id FROM photoquery_temp_0 WHERE id = 28050
[4 Debug 11:12:53.094] PhotosPerMonth took 0.182485
[4 Debug 11:12:53.094] TimeAdaptor REAL Reload took 0.383095
[1 Debug 11:12:53.151] Query took 0.21203 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 15300
[1 Debug 11:12:53.320] Loading image took 1.220338

(f-spot:20818): 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.
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.Import.ImportController.ScanSources () [0x00033] in /home/install/f-spot-0.7.0/src/Import/ImportController.cs:89 
  at FSpot.Import.ImportController.get_Sources () [0x0000b] in /home/install/f-spot-0.7.0/src/Import/ImportController.cs:78 
  at FSpot.UI.Dialog.ImportDialog.PopulateSourceCombo (ImportSource source_to_activate) [0x000a3] in /home/install/f-spot-0.7.0/src/UI.Dialog/ImportDialog.cs:128 
  at FSpot.UI.Dialog.ImportDialog.<ScanSources>m__32 () [0x00000] in /home/install/f-spot-0.7.0/src/UI.Dialog/ImportDialog.cs:113 
  at GLib.Idle+IdleProxy.Handler () [0x00000] 
   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.Main(System.String[] args) in /home/install/f-spot-0.7.0/src/main.cs:line 326
[5 Debug 11:12:58.027] Finalizer called on FSpot.Tag. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on Banshee.Database.QueuedSqliteDatabase. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on Db. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.028] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.029] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.029] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.029] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.029] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.029] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.030] Finalizer called on FSpot.Category. Should be Disposed
[5 Debug 11:12:58.031] Finalizer called on FSpot.Widgets.Filmstrip. Should be Disposed
[5 Debug 11:12:58.032] Finalizer called on FSpot.Utils.DisposableCache`2[Hyena.SafeUri,Gdk.Pixbuf]. Should be Disposed
[5 Debug 11:12:58.034] Finalizer called on FSpot.Category. Should be Disposed
ikriznar@Ike-CSL:~$ 


I hope this helps.
Comment 3 Ruben Vermeersch 2010-06-30 10:00:12 UTC
Yup it does, looking at the trace, it looks like a duplicate of bug 622164, so a fix should be in 0.7.1.

*** This bug has been marked as a duplicate of bug 622164 ***
Comment 4 igor.kriznar 2010-07-01 20:46:46 UTC
What about problem while initializing/upgrading addins from 0.6.x? Should I create separate bug for that?

Any estimates when 0.7.1 would come out?
Comment 5 Ruben Vermeersch 2010-07-01 23:54:04 UTC
Separate bug please. 0.7.1 should be there around July 14.
Comment 6 Felipe Besoaín Pino 2010-09-15 02:55:09 UTC
*** Bug 629721 has been marked as a duplicate of this bug. ***