[ubuntu-mono] [Bug 116240] f-spot database locked when importing photos

Marc Nozell marc at nozell.com
Tue May 22 18:44:16 BST 2007


Public bug reported:

Binary package hint: f-spot


Sometimes when f-spot is importing photos it complains:

-----
Import error
Error importing /home/marc/p/DSC02500.JPG

The database is locked.
-----

If I stop beagled, I don't see the error.  I'm not sure enough to say I
never see this error when beagle is not running through.

This is what was on the console:

$  f-spot
Starting new FSpot server

(f-spot:9657): libglade-WARNING **: unknown attribute `comment' for <property>.
Reloading
item changed
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02495 (Modified).JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02495 (Modified).JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02495 (Modified).JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02495 (Modified).JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02492.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02492.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02493 (Modified).JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02493 (Modified).JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02494.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02494.JPG

(f-spot:9657): libglade-WARNING **: unknown attribute `comment' for <property>.
feistyroot - gnome-dev-harddisk - Mountpoint file:///media/feistyroot True True Harddrive
Harddrive
E-Client-internal - gnome-dev-harddisk - Mountpoint file:///media/internalnt True True Harddrive
Harddrive
disk - gnome-dev-harddisk-usb - Mountpoint file:///media/disk True True Harddrive
Harddrive
WENDYBACKUP - gnome-dev-harddisk-usb - Mountpoint file:///media/WENDYBACKUP True True Harddrive
Harddrive
item ImportCommand+SourceItem
Scanning /home/marc/p
item changed
open uri = file:///home/marc/p/DSC02496.JPG
open uri = file:///home/marc/p/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
old = "" new = "" heading = "ASCII"
value = 2007:05:20 19:28:58 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:01 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:01 len = 19
Saved 27807 bytes
cleanup context
cleanup context
item changed
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///home/marc/p/DSC02497.JPG
open uri = file:///home/marc/p/DSC02497.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02497.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02497.JPG
old = "" new = "" heading = "ASCII"
value = 2007:05:20 19:29:51 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:02 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:02 len = 19
Saved 27580 bytes
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///home/marc/p/DSC02498.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02497.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02497.JPG
open uri = file:///home/marc/p/DSC02498.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02498.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02498.JPG
old = "" new = "" heading = "ASCII"
value = 2007:05:20 19:30:02 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:04 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:04 len = 19
Saved 28130 bytes
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02496.JPG
open uri = file:///home/marc/p/DSC02499.JPG
open uri = file:///home/marc/p/DSC02499.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02499.JPG
open uri = file:///PHOTOS/Photos/2007/05/20/DSC02499.JPG
old = "" new = "" heading = "ASCII"
value = 2007:05:20 19:30:10 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:05 len = 19
value = f-spot version 0.3.5 len = 20
value = 2007:05:22 13:35:05 len = 19
Saved 27823 bytes
open uri = file:///home/marc/p/DSC02500.JPG
open uri = file:///home/marc/p/DSC02500.JPG
Error importing /home/marc/p/DSC02500.JPG
Mono.Data.SqliteClient.SqliteBusyException: The database is locked.
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteStatement (IntPtr pStmt, System.Int32& cols, System.IntPtr& pazValue, System.IntPtr& pazColName) [0x00000] 
  at (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteCommand:ExecuteStatement (intptr,int&,intptr&,intptr&)
  at Mono.Data.SqliteClient.SqliteDataReader.ReadpVm (IntPtr pVm, Int32 version, Mono.Data.SqliteClient.SqliteCommand cmd) [0x00000] 
  at Mono.Data.SqliteClient.SqliteDataReader..ctor (Mono.Data.SqliteClient.SqliteCommand cmd, IntPtr pVm, Int32 version) [0x00000] 
  at (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteDataReader:.ctor (Mono.Data.SqliteClient.SqliteCommand,intptr,int)
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader () [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteScalar () [0x00000] 
  at PhotoStore.Create (System.String newPath, System.String origPath, Gdk.Pixbuf& thumbnail) [0x00000] 
  at FileImportBackend.Step (.Photo& photo, Gdk.Pixbuf& thumbnail, System.Int32& count) [0x00000] 
Could not import file
Stopping

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

-- 
f-spot database locked when importing photos
https://bugs.launchpad.net/bugs/116240
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for f-spot in ubuntu.



More information about the Ubuntu-mono mailing list