Bug 346715 - Assigning tags in side panel not possible PLUS multiple tags are not applied
Summary: Assigning tags in side panel not possible PLUS multiple tags are not applied
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 4.9.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-26 13:22 UTC by Kristian
Modified: 2023-04-08 20:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian 2015-04-26 13:22:31 UTC
Hello,

I just observed that I can't assign any tags in the tags side panel anymore. They are simply ignored when clicking "Apply".

Furthermore, I can't assign multiple tags by right-click > assign tag anymore. It works with single images in most cases, but I had also some where it did not work. When selecting multiple images, only one image is tagged (but this doesn't work not with all tags.)

However, the tags from reverse geo-localisation are written correctly.

I tried downgrading digikam to 4.6 and 4.7 but the problem persisted. 

Here's some output from the console when I try to assign a tag in the side panel:
digikam(7043)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);" 
Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full" 13 1 
Bound values:  (QVariant(qlonglong, 107673) ,  QVariant(int, 77) )
digikam(7043)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageProperties (imageid, property, value) VALUES(?, ?, ?);" 
Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full" 13 1 
Bound values:  (QVariant(qlonglong, 107673) ,  QVariant(QString, "countryCode") ,  QVariant(QString, "") )
digikam(7043)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageProperties (imageid, property, value) VALUES(?, ?, ?);" 
Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full" 13 1 
Bound values:  (QVariant(qlonglong, 107673) ,  QVariant(QString, "city") ,  QVariant(QString, "") )
digikam(7043)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageProperties (imageid, property, value) VALUES(?, ?, ?);" 
Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full" 13 1 
Bound values:  (QVariant(qlonglong, 107673) ,  QVariant(QString, "location") ,  QVariant(QString, "") )
digikam(7043)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageProperties (imageid, property, value) VALUES(?, ?, ?);" 
Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full" 13 1 
Bound values:  (QVariant(qlonglong, 107673) ,  QVariant(QString, "provinceState") ,  QVariant(QString, "") )
digikam(7043)/digikam (core) Digikam::DatabaseCoreBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);" 
Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full" 13 1 
Bound values:  (QVariant(qlonglong, 107673) ,  QVariant(int, 116) )
digikam(7043)/digikam (core) Digikam::MetadataHub::writeToBaloo: No write to baloo +++++++++++++++++++++++++++++++++++++
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::printExiv2MessageHandler: Exiv2 ( 2 ) :  Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
digikam(7043)/digikam (core) Digikam::DMetadata::setImageTitles: "/home/user/pic.JPG"  ==> Title:  QMap()
digikam(7043)/digikam (core) Digikam::DMetadata::setImageComments: "/home/user/pic.JPG"  ==> Comment:  QMap()
digikam(7043)/digikam (core) Digikam::DMetadata::setImageRating: "/home/user/pic.JPG"  ==> Rating:  0
digikam(7043)/digikam (core) Digikam::DMetadata::setMetadataTemplate: Applying Metadata Template:  "USER"  ::  ("USER")
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::setIptcTagsStringList: /home/user/pic.JPG  :  Iptc.Application2.Byline  =>  USER
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Authors Title :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Credit :  "USER"
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Source :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Copyright :  "Copyright by USER"
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Instructions :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Country :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Country Code :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  City :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  SubLocation :  ""
digikam(7043)/digikam (core) Digikam::DMetadata::setIptcTag: "/home/user/pic.JPG"  ==>  Province/State :  ""
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::getIptcKeywords: "/home/user/pic.JPG"  ==> Read Iptc Keywords:  ()
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::setIptcKeywords: "/home/user/pic.JPG"  ==> New Iptc Keywords:  ()
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::save: KExiv2::metadataWritingMode 0
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::save: Will write Metadata to file "20150421T112452-OlympusTG2.JPG"
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::printExiv2MessageHandler: Exiv2 ( 2 ) :  Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteComment:  true
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteEXIF:  true
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteIPTC:  true
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteXMP:  true
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::printExiv2MessageHandler: Exiv2 ( 2 ) :  Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
digikam(7043)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/user/"
digikam(7043)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/user/"
digikam(7043)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/user/"
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: File time stamp restored
digikam(7043)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/user/"
digikam(7043)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/user/"
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file "20150421T112452-OlympusTG2.JPG" written to file.
digikam(7043)/KEXIV2 KExiv2Iface::KExiv2::Private::printExiv2MessageHandler: Exiv2 ( 2 ) :  Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
digikam(7043)/digikam (core) Digikam::DImg::load: "/home/user/pic.JPG"  : JPEG file identified
digikam(7043)/digikam (core) Digikam::ImageScanner::commit: Scanning took 30 ms
digikam(7043)/digikam (core) Digikam::ImageScanner::~ImageScanner: Finishing took 9 ms
digikam(7043)/digikam (core) Digikam::DatabaseUrl::fromTagIds: DatabaseUrl::fromTagIds :  "digikamtags://?databaseType=QSQLITE&databaseName=%2Fhome%2Fuser%2FBilder%2FFotos%2Fdigikam4.db&connectOptions=&hostName=&userName=&password="
digikam(7043)/digikam (core) Digikam::ImageLister::startListJob: Query Kioslave Url: "digikamtags://?databaseType=QSQLITE&databaseName=%2Fhome%2Fuser%2FBilder%2FFotos%2Fdigikam4.db&connectOptions=&hostName=&userName=&password="
digikam(7043)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x62c2b80)
digikam(7043)/digikam (core) Digikam::ImageLister::startListJob: Query Kioslave Url: "digikamtags://?databaseType=QSQLITE&databaseName=%2Fhome%2Fuser%2FBilder%2FFotos%2Fdigikam4.db&connectOptions=&hostName=&userName=&password="
digikam(7043)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x1f08580)
digikam(7043)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("digikamtags://?databaseType=QSQLITE&databaseName=%2Fhome%2Fuser%2FBilder%2FFotos%2Fdigikam4.db&connectOptions=&hostName=&userName=&password=")
digikam(7043)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::SpecialJob(0x62c2b80) KIO::Slave(0x27f1700)
digikam(7043)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("digikamtags://?databaseType=QSQLITE&databaseName=%2Fhome%2Fuser%2FBilder%2FFotos%2Fdigikam4.db&connectOptions=&hostName=&userName=&password=")
digikam(7043)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::SpecialJob(0x1f08580) KIO::Slave(0x27f1700)

Reproducible: Always

Steps to Reproduce:
1. select some images
2. open side panel
3. select tag(s)
4. click "Apply"

Actual Results:  
Tags are not written.

Expected Results:  
Tags should have been written.

Component info:

digiKam version 4.9.0
Exiv2 kann in JP2 speichern: Ja
Exiv2 kann in JPEG speichern: Ja
Exiv2 kann in PGF speichern: Ja
Exiv2 kann in PNG speichern: Ja
Exiv2 kann in TIFF speichern: Ja
Exiv2 unterstützt XMP-Metadaten: Ja
LibCImg: 130
LibEigen: 3.2.4
LibExiv2: 0.24
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.14.7
LibKExiv2: 2.4.0
LibKGeoMap: 3.1.0
LibKdcraw: 2.4.2
LibLCMS: 2060
LibLensFun: 0.3.0-0
LibPGF: 6.14.12
LibPNG: 1.6.16
LibQt: 4.8.6
LibRaw: 0.16.0
LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble-Funktion: 0.21.0 (stable release)
Parallelisiertes Entfernen von Mosaikmustern: Unbekannt
Prozessorkerne: 4
Unterstützung für Demosaic GPL2: Unbekannt
Unterstützung für Demosaic GPL3: Unbekannt
Unterstützung für LibLqr: Ja
Unterstützung von RawSpeed-Codec: Unbekannt
Datenbanktreiber: QSQLITE
KIPI-Module: 4.9.0
LibGphoto2: 2.5.7
LibKface: 3.5.0
LibKipi: 2.2.0
LibOpenCV: 2.4.10
Unterstützung für Baloo: Ja
Unterstützung für Kdepimlibs: Nein
Unterstützung für Sqlite2: Nein

--------------------

Database info:

digiKam version 4.9.0
Bilder: 
JPEG: 25
JPG: 35644
PNG: 4
RAW-NEF: 5195
RAW-NRW: 199
TIFF: 2
Gesamt: 41069
: 
: 
Videos: 
3GP: 3
AVI: 66
MOV: 125
MP4: 25
Gesamt: 219
: 
: 
Gesamtzahl der Einträge: 41288
Alben: 865
Stichwörter: 340
Datenbanktreiber: QSQLITE

--------------------

digikam prints a lot of stuff like this in the console:

digikam(7043)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
digikam(7043)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0
digikam(7043)/khtml (caret) DOM::Selection::validate: [character:baseIsStart] true Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
digikam(7043)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
digikam(7043)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0
Comment 1 caulier.gilles 2015-04-26 14:38:57 UTC
"Error messages: "Zeile kann nicht abgeholt werden" "database or disk is full"

==> You have a problem on your BD file or hard drive !

Gilles Caulier
Comment 2 Kristian 2015-04-26 16:40:10 UTC
Apologies, you're right and that message passed unnoticed. My home partition has plenty of space left, but root partition was full. Thanks for helping.