Fwd: serious problem with upgrade to ubuntu 9.10q



F-Spot suddently doesn't like those pictures containing some special characters in their path or name, such as ":" for example.  The only way I could get throught this was with a little python script that detects this character (:) in filenames, replace it by and underscore in both the filename and the database.  The script only looks for filenames, not the actual path, so if the characters are in the path you will have to modify it slightly.  Note that the path to the database file (variable db) in the script points to my photos.db, so you will have to modify it.  I strongly suggest to backup your $HOME/.config/photos.db before you do, and to search for those filenames that f-spot doesn't accept (containing special characters) before to run the script, so you will know in advance what to look for.  The script is located here: http://pastebin.ubuntu.com/345891/
 
See ya!
 
-J.

 
2009/12/24 Eric Hoffmann <eric hoffmann runnet com>
Hello,

I think I have the same problem. F-spot starts normally. When I want to see the thumbnails or the photos of March and February 2009, F-spot stops.
You can see the error message in the joined file.
Is it really the same problem than Mary ? If yes, is it the same solution ?

Thank you.
Have a very nice Christmas !

Eric Hoffmann
(Réunion Island - Indian Ocean)



Stephane Delcroix a écrit :
Mary,

Please send me your photos.db, I'll update it for you and fix the code
for the others.

regards

Stephane

On Wed, 2009-11-25 at 11:04 -0500, Mary Strimel wrote:
  
hello,
I am getting a little desperate so I'm hoping there is someone who can
help.  I have used f-spot continuously for about 4 years and now have
7 years worth of photos tagged in my photos.db.  I backed up my
photos.db before doing a clean install of Ubuntu 9.10.  F-spot now
crashes when I try to use it with the new database (the photos are
saved on a separate drive).  The terminal errors are copied below.  At
this point, if someone could even just explain how I can downgrade to
a prior version of f-spot that would be better than losing the tagging
entirely.

But right now I'm in a panic at losing 7 years of tags.  Any help
would be much appreciated.
Mary

mary mythbox:~$ f-spot
[Info  11:03:19.226] Initializing DBus
[Info  11:03:19.308] Initializing Mono.Addins
[Info  11:03:19.496] Starting new FSpot server (f-spot 0.6.1.5)

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

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

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

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

** (f-spot:8125): CRITICAL **: atk_object_set_name: assertion `name !=
NULL' failed
[Warn  11:03:20.246] 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]
_______________________________________________
F-spot-list mailing list
F-spot-list gnome org
http://mail.gnome.org/mailman/listinfo/f-spot-list
    
_______________________________________________
F-spot-list mailing list
F-spot-list gnome org
http://mail.gnome.org/mailman/listinfo/f-spot-list


  

eric mermoz:~$ f-spot

(/usr/lib/f-spot/f-spot.exe:4761): GLib-WARNING **: g_set_prgname() called multiple times
[Info  09:25:30.648] Initializing DBus
[Info  09:25:30.812] Initializing Mono.Addins
[Info  09:25:31.023] Starting new FSpot server (f-spot 0.6.1.5)

** (/usr/lib/f-spot/f-spot.exe:4761): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (/usr/lib/f-spot/f-spot.exe:4761): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (/usr/lib/f-spot/f-spot.exe:4761): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (/usr/lib/f-spot/f-spot.exe:4761): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (/usr/lib/f-spot/f-spot.exe:4761): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

[Info  09:25:35.249] Starting BeagleService
[Info  09:25:35.272] Hack for gnome-settings-daemon engaged

(/usr/lib/f-spot/f-spot.exe:4761): 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.UriFormatException: URI scheme must start with a letter and must consist of one of alphabet, digits, '+', '-' or '.' character.

 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 PhotoStore.GetAllVersions () [0x00000]
 at PhotoStore.Query (Banshee.Database.DbCommand query) [0x00000]
 at PhotoStore.Query (System.String query) [0x00000]
 at PhotoStore.QueryFromTemp (System.String temp_table, Int32 offset, Int32 limit) [0x00000]
 at FSpot.PhotoQuery+PhotoCache.Get (Int32 index) [0x00000]
 at FSpot.PhotoQuery.get_Item (Int32 index) [0x00000]
 at FSpot.Widgets.IconView.DrawCell (Int32 thumbnail_num, Rectangle area) [0x00000]
 at FSpot.Widgets.IconView.DrawAllCells (Rectangle area) [0x00000]
 at FSpot.Widgets.IconView.OnExposeEvent (Gdk.EventExpose args) [0x00000]
 at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000]
  at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
  at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
  at Gtk.Adjustment.gtk_adjustment_set_value(IntPtr , Double )
  at Gtk.Adjustment.set_Value(Double value)
  at FSpot.Widgets.IconView.ScrollTo(Int32 cell_num, Boolean center)
  at FSpot.Widgets.IconView.ScrollTo(Int32 cell_num)
  at MainWindow.JumpTo(Int32 index)
  at MainWindow.HandleAdaptorGlassSet(FSpot.GroupAdaptor sender, Int32 index)
  at FSpot.TimeAdaptor.SetGlass(Int32 min)
  at FSpot.GroupSelector+Glass.PositionChanged()
  at FSpot.GroupSelector+Manipulator.SetPosition(Int32 position, Boolean update)
  at FSpot.GroupSelector+Manipulator.SetPosition(Int32 position)
  at FSpot.GroupSelector+Glass.EndDrag(Double x, Double y)
  at FSpot.GroupSelector.OnButtonReleaseEvent(Gdk.EventButton args)
  at Gtk.Widget.buttonreleaseevent_cb(IntPtr widget, IntPtr evnt)
  at Gtk.Application.gtk_main()
  at Gtk.Application.Run()

  at FSpot.Driver.Main(System.String[] args)
eric mermoz:~$




_______________________________________________
F-spot-list mailing list
F-spot-list gnome org
http://mail.gnome.org/mailman/listinfo/f-spot-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]