Am Donnerstag, 15. Mai 2014, 22:20:00 schrieb Chris: > Tobias Ellinghaus wrote, le 14/05/2014 22:48 : > > Am Mittwoch, 14. Mai 2014, 21:19:27 schrieb Chris: > >> Hi, > > Hi Tobias, > > >> New user of Darktable (1.4.2), I'm switching to it from Panasonic > >> proprietary software but I face a problem with tags when importing my > >> images : > >> for some reason Darktable take as tags the descriptions of some of my > >> photos ! > > > > Where does darktable take these from? Are they embedded into the raw > > files? > > could you please run > > > > exiv2 -pa <raw file> > > > > and give us the output? I wonder where the image description got stored to > > become a tag. > > they were jpegs. > Here are relevant entries from one of them : > > speedy[30]> exiv2 -pa P1030337.JPG | egrep -i Adang > Exif.Image.ImageDescription Ascii 62 Thaïlande : > sud de Koh Adang, installations du National Park
That one isn't read by darktable. > Iptc.Application2.Caption String 60 Tha�lande : > sud de Koh Adang, installations du National Park That one goes into the "description" field ... > Xmp.exif.UserComment LangAlt 1 > lang="x-default" Thaïlande : sud de Koh Adang, installations du National > Park same as this one ... > Xmp.dc.description LangAlt 1 > lang="x-default" Thaïlande : sud de Koh Adang, installations du National > Park and this one. So none of them should be added as tags. Are you sure that it is coming from that image? What happens when you copy that JPEG file to a new, empty directory and import it. Does it have any fancy tags assigned, besides the regular stuff starting with "darktable|"? If that is the case I would like to have one file to test. > >> So I've hundreds of tags which are description sentences ! > >> Removing images doesn't seem to remove tags :-( > > > > I fear that the only sane way would be to remove them manually in the > > tagging module. :( > > > >> How can one clean the tags table ? > >> (even with sql requests) > > > > If you want to do it with sql queries you could delete them from the table > > "tags", however, you also should update tagxtag. If you are running a > > database from git master you can skip tagxtag since it has database > > triggers that take care of it. All of that is in > > ~/.config/darktable/library.db which is an sqlite3 file. > > I use the ppa version. Is there documentation on database schema of DT ? Not written down (unless you want to read the code), but the sqlite3 command line utility has the two commands ".tables" and ".schema", the latter can also be used like ".schema <table>". > Christian Tobias
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel