strange messages in yakuake

Anyone can tell me what these strange messages in yakuake are?

susanne@gemini:~$ Creating the cache for:  "/home/susanne/Bilder/Bildschirmschnappschüsse/usbstick-authorization1.jpg"
After the adjustment
     Current score :  0
      First update :  QDateTime( Qt::TimeSpec(LocalTime))
       Last update :  QDateTime( Qt::TimeSpec(LocalTime))
         New score :  0
"UPDATE ResourceScoreCache SET cachedScore = :cachedScore, lastUpdate  = :lastUpdate WHERE :usedActivity      = usedActivity AND :initiatingAgent   = initiatingAgent AND :targettedResource = targettedResource "
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
"INSERT INTO ResourceInfo(   targettedResource, title, autoTitle, mimetype, autoMimetype) VALUES (  :targettedResource, '' , 1 , '' , 1 )"
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
"INSERT INTO ResourceInfo(   targettedResource, title, autoTitle, mimetype, autoMimetype) VALUES (  :targettedResource, '' , 1 , '' , 1 )"
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
"UPDATE ResourceInfo SET   mimetype = :mimetype, autoMimetype = :autoMimetype WHERE targettedResource = :targettedResource "
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
Creating the cache for:  "/home/susanne/Bilder/Bildschirmschnappschüsse/usbstick-authorization id fifferent.jpg"
Already in database?  false
      First update :  QDateTime(2016-04-01 16:32:48.000 CEST Qt::TimeSpec(LocalTime))
       Last update :  QDateTime(2016-04-01 16:32:48.000 CEST Qt::TimeSpec(LocalTime))
After the adjustment
     Current score :  0
      First update :  QDateTime(2016-04-01 16:32:48.999 CEST Qt::TimeSpec(LocalTime))
       Last update :  QDateTime(2016-04-01 16:32:48.000 CEST Qt::TimeSpec(LocalTime))
         New score :  0
Creating the cache for:  "/home/susanne/installed-packages_2016-04-01.txt"
After the adjustment
     Current score :  0
      First update :  QDateTime( Qt::TimeSpec(LocalTime))
       Last update :  QDateTime( Qt::TimeSpec(LocalTime))
         New score :  0
"UPDATE ResourceScoreCache SET cachedScore = :cachedScore, lastUpdate  = :lastUpdate WHERE :usedActivity      = usedActivity AND :initiatingAgent   = initiatingAgent AND :targettedResource = targettedResource "
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
"INSERT INTO ResourceEvent        (usedActivity,  initiatingAgent,  targettedResource,  start,  end) VALUES (:usedActivity, :initiatingAgent, :targettedResource, :start, :end)"
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
Creating the cache for:  "/home/susanne/installed-packages_2016-04-01.txt"
After the adjustment
     Current score :  0
      First update :  QDateTime( Qt::TimeSpec(LocalTime))
       Last update :  QDateTime( Qt::TimeSpec(LocalTime))
         New score :  0
"UPDATE ResourceScoreCache SET cachedScore = :cachedScore, lastUpdate  = :lastUpdate WHERE :usedActivity      = usedActivity AND :initiatingAgent   = initiatingAgent AND :targettedResource = targettedResource "
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
^C
susanne@gemini:~$ "INSERT INTO ResourceEvent        (usedActivity,  initiatingAgent,  targettedResource,  start,  end) VALUES (:usedActivity, :initiatingAgent, :targettedResource, :start, :end)"
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")
Creating the cache for:  "/home/susanne/Bilder/Bildschirmschnappschüsse/usbstick-authorization id fifferent.jpg"
After the adjustment
     Current score :  0
      First update :  QDateTime( Qt::TimeSpec(LocalTime))
       Last update :  QDateTime( Qt::TimeSpec(LocalTime))
         New score :  0
"UPDATE ResourceScoreCache SET cachedScore = :cachedScore, lastUpdate  = :lastUpdate WHERE :usedActivity      = usedActivity AND :initiatingAgent   = initiatingAgent AND :targettedResource = targettedResource "
QSqlError("5", "Der Datensatz konnte nicht abgeholt werden", "database is locked")

Looks to me like a indexing service output like baloo or something.

Strange for me - apart from seeing these messages in yakuake - is “database is locked”… Where does Baloo try to write to? Which file might be locked (wrong permissions?)?

The Database is saved in ~/.local/share/baloo/