Public bug reported:

Binary package hint: f-spot

Actual behaviour:

If photos.db is not writeable by the current user, f-spot dies with
errors much like the following:

Mono.Data.SqliteClient.SqliteExecutionException: SQL logic error or missing 
database
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteStatement (IntPtr pStmt, 
System.Int32& cols, System.IntPtr& pazValue, System.IntPtr& pazColName) 
[0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteStatement (IntPtr pStmt) 
[0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior 
behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteNonQuery () [0x00000] 
  at Banshee.Database.QueuedSqliteCommand.Execute () [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean 
is_terminal)
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Dialog.gtk_dialog_run(IntPtr )
   at Gtk.Dialog.Run()
   at ImportCommand.ImportFromFile(.PhotoStore store, System.String path)
   at MainWindow.HandleImportCommand(System.Object sender, System.EventArgs e)
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , 
System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] 
parameters)
   at System.Delegate.DynamicInvokeImpl(System.Object[] args)
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
   at System.Delegate.DynamicInvoke(System.Object[] args)
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs 
args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, 
UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr 
marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args)
cleanup context

This error does not occur immediately after launch, but does occur when
selecting a directory for import (and undoubtedly at other times).

Expected behaviour:

A much more user-friendly error, ideally presented within the f-spot GUI
rather than on the command line.

ProblemType: Bug
Architecture: i386
Date: Sat Dec 12 18:24:35 2009
DistroRelease: Ubuntu 9.10
Package: f-spot 0.6.1.5-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: f-spot
Uname: Linux 2.6.31-16-generic i686

** Affects: f-spot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
If photos.db is not writeable, f-spot crashes with 
"Mono.Data.SqliteClient.SqliteExecutionException"
https://bugs.launchpad.net/bugs/495778
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to