F-Spot crashes on start-up

Bug #469334 reported by C W Whittle
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: f-spot

Run up F-Spot. The main window appears (menu, 'Tags:' label, splitter but no more visible yet). An error window pops up saying 'F-Spot encountered a fatal error' and includes a portion of the stack trace dumped to the console.

I'm running Ubuntu 9.10 on AMD64 with F-Spot package version 0.6.1.3-2.

Console output :

[Info 19:59:16.380] Initializing DBus
[Info 19:59:16.496] Initializing Mono.Addins
[Info 19:59:16.663] Starting new FSpot server (f-spot 0.6.1.3)

** (f-spot:5292): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5292): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5292): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5292): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5292): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
[Warn 19:59:17.656] Caught an exception - URI scheme must start with a letter and must consist of one of alphabet, digits, '+', '-' or '.' character. (in `System')
  at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000]
  at System.Uri.ParseUri (UriKind kind) [0x00000]
  at System.Uri..ctor (System.Uri baseUri, System.String relativeUri, Boolean dontEscape) [0x00000]
  at System.Uri..ctor (System.Uri baseUri, System.String relativeUri) [0x00000]
  at FSpot.Widgets.FolderTreeModel.UpdateFolderTree () [0x00000]
  at FSpot.Widgets.FolderTreeModel..ctor () [0x00000]
  at FSpot.Widgets.FolderTreeView..ctor () [0x00000]
  at FSpot.Widgets.FolderTreePage..ctor () [0x00000]
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
Exception has been thrown by the target of an invocation. (in `mscorlib')
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000]
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000]
  at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x00000]
  at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName) [0x00000]
  at FSpot.Widgets.SidebarPageNode.GetSidebarPage () [0x00000]
  at MainWindow.OnSidebarExtensionChanged (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000]
  at Mono.Addins.ExtensionNode.OnChildNodeAdded (Mono.Addins.ExtensionNode node) [0x00000]
  at Mono.Addins.ExtensionNode.NotifyChildChanged () [0x00000]
  at Mono.Addins.TreeNode.NotifyChildrenChanged () [0x00000]
  at Mono.Addins.ExtensionContext.NotifyConditionChanged (Mono.Addins.ConditionType cond) [0x00000]
  at Mono.Addins.ExtensionContext.OnConditionChanged (System.Object s, System.EventArgs a) [0x00000]
  at Mono.Addins.ConditionType.NotifyChanged () [0x00000]
  at FSpot.Extensions.ViewModeCondition.<ViewModeCondition>m__5 () [0x00000]
  at FSpot.Extensions.ViewModeCondition.set_Mode (ViewMode value) [0x00000]
  at FSpot.Widgets.Sidebar.HandleContextChanged (System.Object sender, System.EventArgs args) [0x00000]
  at FSpot.Widgets.Sidebar.set_Context (ViewContext value) [0x00000]
  at MainWindow..ctor (.Db db) [0x00000]
  at FSpot.Core.get_MainWindow () [0x00000]
  at FSpot.Core.Organize () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Changed in f-spot (Ubuntu):
status: New → Invalid
Revision history for this message
Mary Strimel (mary-strimel) wrote :
Download full text (3.9 KiB)

hi,
I don't think this bug is a duplicate of 289732. That bug says it happens when trying to import photos from a folder with a colon in the name. Whereas I (and the OP) are experiencing the crash on startup of f-spot.

I have mythbuntu 9.10 AMD64 with f-spot 0.6.1.5. I am using a photos.db copied from my prior ubuntu install ... as you can see from the backtrace, the database appears to have updated correctly, but f-spot won't start. Subsequent attempts to open F-spot go directly to the error below. Help! I have 7 years worth of tagged photos that I will be unable to enjoy until this bug is fixed!

mary@mythbox:~/.config/f-spot$ f-spot
[Info 21:12:24.983] Initializing DBus
[Info 21:12:25.079] Initializing Mono.Addins
[Info 21:12:25.230] Starting new FSpot server (f-spot 0.6.1.5)
[Info 21:12:25.330] Updating F-Spot Database
[Info 21:12:26.299] Database updates completed successfully (in 0.968055s).

** (f-spot:5105): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed

** (f-spot:5105): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed

** (f-spot:5105): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed

** (f-spot:5105): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed

** (f-spot:5105): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed
[Warn 21:12:26.713] Caught an exception - URI scheme must start with
a letter and must consist of one of alphabet, digits, '+', '-' or '.'
character. (in `System')
 at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000]
 at System.Uri.ParseUri (UriKind kind) [0x00000]
 at System.Uri..ctor (System.Uri baseUri, System.String relativeUri,
Boolean dontEscape) [0x00000]
 at System.Uri..ctor (System.Uri baseUri, System.String relativeUri) [0x00000]
 at FSpot.Widgets.FolderTreeModel.UpdateFolderTree () [0x00000]
 at FSpot.Widgets.FolderTreeModel..ctor () [0x00000]
 at FSpot.Widgets.FolderTreeView..ctor () [0x00000]
 at FSpot.Widgets.FolderTreePage..ctor () [0x00000]
 at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
 at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000]
Exception has been thrown by the target of an invocation. (in `mscorlib')
 at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000]
 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
 at System.Reflection.ConstructorInfo.Invoke (System.Object[]
parameters) [0x00000]
 at System.Activator.CreateInstance (System.Type type, Boolean
nonPublic) [0x00000]
 at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName,
Boolean throwIfNotFound) [0x00000]
 at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName) [0x00000]
 at FSpot.Widgets.SidebarPageNode.GetSidebarPage ()...

Read more...

Revision history for this message
Mary Strimel (mary-strimel) wrote :

I should add that I'm NOT using New Wave or any funky theme. Just a garden variety gnome desktop with Human theme.

Revision history for this message
C W Whittle (william-whittle) wrote :

I can confirm that it's a duplicate of 289732. I followed a work-around similar to that described in the upstream report (https://bugzilla.gnome.org/show_bug.cgi?id=559093) mentioned in bug #289732.

I used the following SQL query to identify the folders on my computer that contained a colon:
  select distinct base_uri from photos where base_uri like "file:///%:%";

I renamed these folders by hand to change ": " to "- "

I then use the following SQL statements to update the F-Spot database:
  update photos set base_uri = replace(base_uri, ": ", "- ") where base_uri like "file:///%: %";
  update photo_versions set base_uri = replace(base_uri, ": ", "- ") where base_uri like "file:///%: %";

It seems that we should avoid importing folders with a : in their name.

I hope that helps.

Revision history for this message
Mary Strimel (mary-strimel) wrote : Re: [Bug 469334] Re: F-Spot crashes on start-up

Thank you, that is helpful. It turns out that several years ago,
gthumb put a : in one of my file paths without my knowing it. So this
must be the same bug.

On Sat, Jan 2, 2010 at 5:52 PM, C W Whittle <email address hidden> wrote:
> *** This bug is a duplicate of bug 289732 ***
>    https://bugs.launchpad.net/bugs/289732
>
> I can confirm that it's a duplicate of 289732. I followed a work-around
> similar to that described in the upstream report
> (https://bugzilla.gnome.org/show_bug.cgi?id=559093) mentioned in bug
> #289732.
>
> I used the following SQL query to identify the folders on my computer that contained a colon:
>  select distinct base_uri from photos where base_uri like "file:///%:%";
>
> I renamed these folders by hand to change ": " to "- "
>
> I then use the following SQL statements to update the F-Spot database:
>  update photos set base_uri = replace(base_uri, ": ", "- ") where base_uri like "file:///%: %";
>  update photo_versions set base_uri = replace(base_uri, ": ", "- ") where base_uri like "file:///%: %";
>
> It seems that we should avoid importing folders with a : in their name.
>
> I hope that helps.
>
> ** Bug watch added: GNOME Bug Tracker #559093
>   https://bugzilla.gnome.org/show_bug.cgi?id=559093
>
> --
> F-Spot crashes on start-up
> https://bugs.launchpad.net/bugs/469334
> You received this bug notification because you are a direct subscriber
> of the bug.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.