GNOME Bugzilla – Bug 634801
Imports Duplicate again and again
Last modified: 2018-07-01 08:53:38 UTC
When I import pictures from a local disk F-Spot imports duplicate pictures again und again! I can that bug reproduce on every time. I use F-Spot more than two or three years within 15000 (!) tagged pictures an that bug consists only in Versiuon 0.8. I can't use F-Spot since this bug has happend.... btw: a friend use F-Spot 0.8 to and he has the same problem!
Might be a silly question, but do you have duplicate detection enabled in the import dialog?
Yes of course. It make no difference if the duplicate detection is enabled or not! My first idea was, that the check-box is not observed wehin importing any files. Is that possible?
I can confirm this "bug". I did a little bit of debugging and it looks like my photos.db file is a little bit messed up: All base_uri entries in the photos and photo_versions table of my photos.db file have a trailing "/". However, f-spot is looking for a base_uri without "/". Furthermore, in my photos.db file, there may exist blanks (" ") in base_uri or filename, while f-spot seems to be replacing " " by "%20" Example: photos.db: base_uri="/path/to my pictures/" filename="my picture.jpg" HasDuplicate() call in PhotoStore.cs: base_uri="/path/to%20my%20pictures" filename="my%20picture.jpg" I can't remember, which version of f-spot or sqlite I used, when I imported my pictures. However, when I create a new catalog with my current installation (f-spot 0.8.2, sqlite 3.7.2), the duplicate detection works fine... I wrote a dirty little scrip (that dirty, that I don't want to post it here right now) and fixed my entries. Duplicate detection works now again for me...
f-spot is not under active development anymore, has not seen code changes for five years, and saw its last tarball release in the year 2010. Its codebase has been archived: https://gitlab.gnome.org/Archive/f-spot/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.