On 13 September 2011 00:18, Lucas Beeler <[email protected]> wrote: > Adam & pt: > > How did you guys manage to reproduce this? I've tried, tried, and > tried again. What's more, when I look at my log file, I see this: > > L 31408 2011-09-12 15:12:23 [DBG] knocking out flat tag 'carol' from > file '/home/lucas/Pictures/Photos/2011/08/27/red.jpg' because it's > already known as a hierarchical tag component > > which indicates to me that the tag knockout code is doing what it's > supposed to. The role of the tag knockout code is to remove flat tags > that are merely duplicates of hierarchical tag components so as to > prevent child tags from re-appearing as top-level tags during f-spot > import -- i.e., the knockout code should've closed #4081. When you run > Shotwell with logging turned on, do you see similar messages?
I ran shotwell with logging on, and importing those same photos I got the exact same result as you, and a correct tag tree (no duplicates). So initially I was as puzzled as you, because nothing changed in my configuration, then I remembered the computer rule #1: 'the problem is between the keyboard and the chair'. My guess is you have to delete the 'LastKeywordXMP' and 'TagsList' fields added by shotwell to the test photos: my photos were 'after import' so they included hierarchical tags information added by shotwell. I did 'exiftool -all:all= *jpg' on those files, then imported in f-spot and tagged, then imported from s-spot to shotwell and I got the same results as the other day (i.e. duplicate tags). The relevant screenshot is: http://traversin.org/shotwell-test/AfterImportScreenshot2.png (This time I didn't put the top-level tags 'blue, red, green', just the friends' names.) The worst part is that my shotwell.log *does* say it is knocking out the flat tags, but eventually the tags are duplicated as top-level tags. The log file is: http://traversin.org/shotwell-test/shotwell.log The photos in the directory are 'after import', if you want to use them for a test remember to strip the tags added by shotwell, or, even better, all tags. Ciao, Piergi -- Web: http://traversin.org GNU/Linux user 190604 _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
