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 499414 - application freezes after tagging the first (any) photo
application freezes after tagging the first (any) photo
Status: RESOLVED DUPLICATE of bug 467011
Product: f-spot
Classification: Other
Component: Browsing
0.4.x
Other All
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-24 20:45 UTC by diprob
Modified: 2007-11-24 22:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description diprob 2007-11-24 20:45:37 UTC
Steps to reproduce:
1. launch f-spot 
2. drag and drop any tag on to any photo
3. the application freezes


Stack trace:
Here are the error messages which appear while tagging takes place:


(f-spot:5125): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'

(f-spot:5125): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'

(f-spot:5125): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'

(f-spot:5125): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'
item changed
open uri = file:///windows/D/daten/pictures/2005/Luedenscheid/06111801.jpg

Unhandled Exception: System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
Parameter name: index
-1
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
  at Mono.Data.SqliteClient.SqliteParameterCollection.GetParameter (Int32 parameterIndex) [0x00000]
  at System.Data.Common.DbParameterCollection.get_Item (Int32 index) [0x00000]
  at System.Data.Common.DbParameterCollection.get_Item (System.String parameterName) [0x00000]
  at (wrapper remoting-invoke-with-check) System.Data.Common.DbParameterCollection:get_Item (string)
  at Mono.Data.SqliteClient.SqliteCommand.BindParameters2 () [0x00000]
  at Mono.Data.SqliteClient.SqliteCommand.Prepare () [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]
open uri = file:///windows/D/daten/pictures/2005/Luedenscheid/06111801.jpg
Getötet



Other information:
I was enjoying f-spot with opensuse 10.2 without any trouble.
Since upgrading to opensuse 10.3 with f-spot 0.4.0 I am in trouble.

My system:
Linux linux 2.6.22.12-0.1-default #1 SMP 2007/11/06 23:05:18 UTC i686 athlon i386 GNU/Linux

After launching f-spot, the browser window appears as usual.
After tagging any picture, the application doesn't accept any interaction any more. I only can close f-spot using the close icon at the upper right window corner.

Assuming a corrupt photos.db file may be the reason, I already dumped and rebuilt photos.db but without changing this behavior.


Thanks for your help

-diprob
Comment 1 Maxxer 2007-11-24 20:56:36 UTC
Please convert your photos.db to sqlite3 after the first run.
You can use the f-spot-sqlite-upgrade command which should have come with your installation.

> Assuming a corrupt photos.db file may be the reason, I already dumped and
> rebuilt photos.db but without changing this behavior.

I wonder why a NEW db is created with sqlite2. Do you have sqlite3 installed?
I believe you should refer to OpenSUSE bugzilla for this issue.

*** This bug has been marked as a duplicate of 467011 ***
Comment 2 diprob 2007-11-24 22:15:32 UTC
My mistake,
after rebuilding photos.db with sqlite3 everything works fine.

thanks a lot
- diprob