f-spot crashes with unhandled exception when importing photos

Bug #362592 reported by Andreas Sandberg
2
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

When using the "attach tag" functionality when importing photos f-spot may crash with the following exception if one of the tags already exists.

Unhandled Exception: Mono.Data.SqliteClient.SqliteSyntaxException: table population already exists
  at Mono.Data.SqliteClient.SqliteCommand.GetNextStatement (IntPtr pzStart, System.IntPtr& pzTail, System.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]

Steps to reproduce:
 1. Import photos, set the tags "foo, bar"
 2. Import more photos, set the tags "bar, baz"

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

Thanks for the report Andreas, which version of f-spot and ubuntu are you running? i cannot reproduce that with jaunty.

Changed in f-spot (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Andreas Sandberg (andysan) wrote :

Kinda embarrassing not thinking about including that information in the original report... :(

I was running on Intrepid for AMD64. The F-Spot version was 0.5.0.3-0ubuntu4.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in jaunty?

Revision history for this message
Andreas Sandberg (andysan) wrote :

Just checked with the version 0.5.0.3-1ubuntu6 on jaunty. Seems to be working fine now.

Revision history for this message
Vish (vish) wrote :

Thanks for following up. This bug report is being closed due to your last comment regarding this being fixed . For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in f-spot (Ubuntu):
status: Incomplete → Fix Released
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.