Bug 467766 - MySQL foreign key error on a zero image id
Summary: MySQL foreign key error on a zero image id
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Mysql (show other bugs)
Version: 8.4.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-24 21:37 UTC by Petr Schonmann
Modified: 2024-11-02 21:04 UTC (History)
2 users (show)

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


Attachments
error log (7.43 KB, text/x-log)
2023-03-24 22:14 UTC, Petr Schonmann
Details
Log for digiKam-8.2.0-20230828T081053-x86-64.appimage (63.08 KB, text/plain)
2023-08-29 20:07 UTC, Petr Schonmann
Details
Actual DB scheme (32.22 KB, application/sql)
2024-04-21 22:24 UTC, Petr Schonmann
Details
Fresh DB from DK8.4.0 (32.96 KB, application/sql)
2024-04-21 22:25 UTC, Petr Schonmann
Details
Dsc00743.xmp (6.67 KB, application/octet-stream)
2024-04-26 11:40 UTC, Petr Schonmann
Details
Dsc00743.jpg.xmp (7.92 KB, application/octet-stream)
2024-04-26 11:40 UTC, Petr Schonmann
Details
debuglog (65.70 KB, text/x-log)
2024-04-28 21:07 UTC, Petr Schonmann
Details
digikam_debug_467766_2024-04-30-without-write-metadata.txt (56.12 KB, text/plain)
2024-04-30 18:58 UTC, Petr Schonmann
Details
digikam_debug_467766_2024-01-05-first_okay_second_not.txt (19.51 KB, text/plain)
2024-05-01 19:50 UTC, Petr Schonmann
Details
digikam_debug_467766_2024-05-02-another_debug_day.txt (9.11 KB, text/plain)
2024-05-02 20:33 UTC, Petr Schonmann
Details
debug_digiKam-8.4.0-20240505T093946-Qt6-x86-64.txt (63.32 KB, text/plain)
2024-05-06 19:32 UTC, Petr Schonmann
Details
debug_log_20240511_010111.txt (83.70 KB, text/plain)
2024-05-10 23:04 UTC, Petr Schonmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Schonmann 2023-03-24 21:37:39 UTC
SUMMARY
***
Ive got error in UPDATE/DELETE to DB when tagging people.
QMYSQL3: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2
***


STEPS TO REPRODUCE
1. Go to people
2. Choose some person. Look at unconfirmed section. When you see somebody thats not belong face to this selected person write name into small input field to tag face to right person
3. In debuglog see some complaints about INSERT/DELETE
4. But person has right tags in picture

EXPECTED RESULT

Logs without complaints about failure :)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Mint 21.1
(available in About System)

KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
MySQL is on Synology, some MariaDB 10.x - probably latest mariadb package from synology
Comment 1 Maik Qualmann 2023-03-24 22:04:38 UTC
This is nothing we can fix, the error says the imageid does not exist in images to be written/updated in ImageTagProperties. Broken database?

Maik
Comment 2 Petr Schonmann 2023-03-24 22:12:50 UTC
Nope, DB seems to be fine.

--
root@nas:/usr/local/mariadb10/bin# ./mysqlcheck -A
digikam.AlbumRoots                                 OK
digikam.Albums                                     OK
digikam.CustomIdentifiers                          OK
digikam.DownloadHistory                            OK
digikam.FaceMatrices                               OK
digikam.FaceSettings                               OK
digikam.FilePaths                                  OK
digikam.Identities                                 OK
digikam.IdentityAttributes                         OK
digikam.ImageComments                              OK
digikam.ImageCopyright                             OK
digikam.ImageHaarMatrix                            OK
digikam.ImageHistory                               OK
digikam.ImageInformation                           OK
digikam.ImageMetadata                              OK
digikam.ImagePositions                             OK
digikam.ImageProperties                            OK
digikam.ImageRelations                             OK
digikam.ImageSimilarity                            OK
digikam.ImageTagProperties                         OK
digikam.ImageTags                                  OK
digikam.Images                                     OK
digikam.KDTree                                     OK
digikam.Searches                                   OK
digikam.Settings                                   OK
digikam.SimilaritySettings                         OK
digikam.TagProperties                              OK
digikam.Tags                                       OK
digikam.TagsTree                                   OK
digikam.ThumbSettings                              OK
digikam.Thumbnails                                 OK
digikam.UniqueHashes                               OK
digikam.VideoMetadata                              OK
Comment 3 Petr Schonmann 2023-03-24 22:14:09 UTC
Created attachment 157557 [details]
error log
Comment 4 Maik Qualmann 2023-03-24 22:35:37 UTC
mysqlcheck cannot detect such an error. An attempt is made to use an imageid with 0 (QVariant(qlonglong, 0)), this can never happen in the worst case. Have you performed a migration from SQLite to MySQL?

Maik
Comment 5 Petr Schonmann 2023-03-24 22:38:03 UTC
No, ive mysql db from begins.
Comment 6 Maik Qualmann 2023-03-25 07:02:01 UTC
Can you run SQL commands? here is an example of what is needed:

mysql -u USERNAME -h 192.168.xxx.xxx -p
(Enter password)

USE digikam;    (or your digiKam core database name)
SELECT * FROM Images WHERE id = 0;

Maik
Comment 7 Petr Schonmann 2023-03-25 07:54:01 UTC
Its empty set !

Server version: 10.3.32-MariaDB Source distribution

MariaDB [(none)]> use digikam
Database changed
MariaDB [digikam]> SELECT * FROM Images WHERE id = 0;
Empty set (0.000 sec)
Comment 8 Maik Qualmann 2023-03-25 11:50:53 UTC
The same for:

SELECT * FROM ImageTagProperties WHERE imageid = 0;

Maik
Comment 9 Petr Schonmann 2023-03-25 15:14:53 UTC
Seems all queries with imageid = 0 are empty

root@nas:~# cat tables 
ImageComments
ImageCopyright
ImageHaarMatrix
ImageHistory
ImageInformation
ImageMetadata
ImagePositions
ImageProperties
ImageRelations
Images
ImageSimilarity
ImageTagProperties 

root@nas:~# for table in $(cat tables);do echo -n "$table : " && mysql -D digikam -e "SELECT * FROM $table WHERE imageid = 0;";echo;done
ImageComments : 
ImageCopyright : 
ImageHaarMatrix : 
ImageHistory : 
ImageInformation : 
ImageMetadata : 
ImagePositions : 
ImageProperties : 
ImageRelations : ERROR 1054 (42S22) at line 1: Unknown column 'imageid' in 'where clause'
Images : ERROR 1054 (42S22) at line 1: Unknown column 'imageid' in 'where clause'
ImageSimilarity : ERROR 1054 (42S22) at line 1: Unknown column 'imageid' in 'where clause'
ImageTagProperties :
Comment 10 Maik Qualmann 2023-03-25 15:21:45 UTC
Can you test again for "NULL" instead of "0"?

Maik
Comment 11 Maik Qualmann 2023-03-25 15:23:57 UTC
Note that for "Images" you need to test on column "id".

Maik
Comment 12 Petr Schonmann 2023-03-25 15:35:43 UTC
from table file i removed tables which doenst contain imageid column.

root@nas:~# for table in $(cat tables);do echo -n "$table : " && mysql -D digikam -NBe "SELECT count(*) FROM $table WHERE imageid IS NULL;";echo;done
ImageComments : 0
ImageCopyright : 0
ImageHaarMatrix : 0
ImageHistory : 0
ImageInformation : 0
ImageMetadata : 0
ImagePositions : 0
ImageProperties : 0
ImageTagProperties : 0

root@nas:~# for table in Images;do echo -n "$table : " && mysql -D digikam -NBe "SELECT count(*) FROM $table WHERE id IS NULL;";echo;done
Images : 0

root@nas:~# for table in Images;do echo -n "$table : " && mysql -D digikam -NBe "SELECT count(*) FROM $table WHERE id = 0;";echo;done
Images : 0
Comment 13 caulier.gilles 2023-05-03 12:23:25 UTC
Hi all, 

what's the next step for this entry ?

Gilles
Comment 14 Petr Schonmann 2023-08-27 19:38:06 UTC
Problem persists in 8.1.0 Appimage
Comment 15 caulier.gilles 2023-08-29 06:15:31 UTC
What’s about the 8.2.0 pre release appimage bundle ?
Comment 16 Maik Qualmann 2023-08-29 06:33:38 UTC
In the "ImageTagProperties" table there is an image ID that no longer exists in "Images". I will add a corresponding function in the database cleaner tool.

Maik
Comment 17 Maik Qualmann 2023-08-29 11:02:56 UTC
I see that we are already cleaning up the ImageTagProperties table. Have you already run the database cleaner in the maintenance tool with the option extented clean and shrink database? You can also try the following SQL command:

DELETE FROM ImageTagProperties WHERE imageid NOT IN (SELECT id FROM Images);

Maik
Comment 18 Petr Schonmann 2023-08-29 19:51:32 UTC
Tried to migrate mariadb from nas to dedicated mysql server. Its percona8 on debian12 - testing release, but seems stable

Linux db 6.1.0-11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4 (2023-08-08) x86_64

root@db:~# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5616
Server version: 8.0.34-26 Percona Server (GPL), Release '26', Revision '2abf525b'

mysql> use digikam;
Database changed

mysql> show tables;
+--------------------+
| Tables_in_digikam  |
+--------------------+
| AlbumRoots         |
| Albums             |
| CustomIdentifiers  |
| DownloadHistory    |
| FaceMatrices       |
| FaceSettings       |
| FilePaths          |
| Identities         |
| IdentityAttributes |
| ImageComments      |
| ImageCopyright     |
| ImageHaarMatrix    |
| ImageHistory       |
| ImageInformation   |
| ImageMetadata      |
| ImagePositions     |
| ImageProperties    |
| ImageRelations     |
| ImageSimilarity    |
| ImageTagProperties |
| ImageTags          |
| Images             |
| KDTree             |
| Searches           |
| Settings           |
| SimilaritySettings |
| TagProperties      |
| Tags               |
| TagsTree           |
| ThumbSettings      |
| Thumbnails         |
| UniqueHashes       |
| VideoMetadata      |
+--------------------+
33 rows in set (0.00 sec)

Some info from Settings about DB
*************************** 13. row ***************************
keyword: DBVersion
  value: 16
*************************** 14. row ***************************
keyword: DBVersionRequired
  value: 5


mysql> DELETE FROM ImageTagProperties WHERE imageid NOT IN (SELECT id FROM Images);
Query OK, 0 rows affected (0.04 sec)

There is no rows that can be deleted.

Ill try 8.2.0 nightly
Comment 19 Petr Schonmann 2023-08-29 20:07:47 UTC
Created attachment 161271 [details]
Log for digiKam-8.2.0-20230828T081053-x86-64.appimage
Comment 20 Petr Schonmann 2023-08-29 20:08:18 UTC
Same situation, log attached
https://bugs.kde.org/attachment.cgi?id=161271
Comment 21 caulier.gilles 2023-10-11 05:30:23 UTC
Petr,

Any feedback here ?

Gilles Caulier
Comment 22 Petr Schonmann 2023-10-11 20:23:29 UTC
Im waiting for your turn :) nothing changes from my side :)
For better understanding, there is video.

https://share.schonmann.eu/s3d36z.mp4

First tag face - that not unconfirmed for right person, i tag to the right person generate error - showed in terminal
Second one is just accept the right suggested face and this didnt generate error.
Comment 23 Maik Qualmann 2023-10-12 06:38:14 UTC
To find this bug, we need to be able to reproduce the problem and debug it ourselves.
Could you provide me your MySQL digiKam core database as a MySQL backup file?

Maik
Comment 24 Petr Schonmann 2023-10-12 07:35:53 UTC
Mysqldump download link sent to mail metzpinguin@gmail.com
Comment 25 Maik Qualmann 2023-10-12 12:39:10 UTC
Thanks for the MySQL backup. I was only able to test it briefly during my lunch break. I had given names to unknown faces. There was no error message. But according to the video, the problem occurs with unconfirmed faces. I'll test it further this evening.

Maik
Comment 26 Petr Schonmann 2023-10-12 13:09:28 UTC
Hey Maik ! Enjoy your meal :) This bug isnt important, your meal is ! Ill be absolutelly happy with response time 48h with that large project as digikam is.
Have a nice day.
Comment 27 Petr Schonmann 2023-10-28 02:02:42 UTC
Problem Persists in 
digiKam-8.2.0-20231027T110727-x86-64-debug.appimage
Comment 28 Maik Qualmann 2023-10-28 06:48:00 UTC
Hi Petr,

I haven't been able to reproduce the problem with your database backup yet. I want to examine it further over the next few days. Do I see correctly in your backup file that you are running the database with utf8mb4?

Maik
Comment 29 Petr Schonmann 2023-10-28 21:51:38 UTC
Here is my percona config
------
root@db:~# grep -v ^# /etc/mysql/percona-server.conf.d/mysqld.cnf  /etc/mysql/percona-server.conf.d/petr.cnf  | grep -v :$
/etc/mysql/percona-server.conf.d/mysqld.cnf:[mysqld]
/etc/mysql/percona-server.conf.d/mysqld.cnf:user   = mysql
/etc/mysql/percona-server.conf.d/mysqld.cnf:pid-file = /var/run/mysqld/mysqld.pid
/etc/mysql/percona-server.conf.d/mysqld.cnf:socket   = /var/run/mysqld/mysqld.sock
/etc/mysql/percona-server.conf.d/mysqld.cnf:port   = 3306
/etc/mysql/percona-server.conf.d/mysqld.cnf:basedir    = /usr
/etc/mysql/percona-server.conf.d/mysqld.cnf:datadir    = /var/lib/mysql
/etc/mysql/percona-server.conf.d/mysqld.cnf:tmpdir   = /tmp
/etc/mysql/percona-server.conf.d/mysqld.cnf:lc-messages-dir  = /usr/share/mysql
/etc/mysql/percona-server.conf.d/mysqld.cnf:explicit_defaults_for_timestamp
/etc/mysql/percona-server.conf.d/mysqld.cnf:log-error    = /var/log/mysql/error.log
/etc/mysql/percona-server.conf.d/mysqld.cnf:sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_ALL_TABLES
/etc/mysql/percona-server.conf.d/mysqld.cnf:symbolic-links=0
/etc/mysql/percona-server.conf.d/petr.cnf:[mysqld]
/etc/mysql/percona-server.conf.d/petr.cnf:collation_server        = utf8mb4_unicode_ci
/etc/mysql/percona-server.conf.d/petr.cnf:character_set_server    = utf8mb4
/etc/mysql/percona-server.conf.d/petr.cnf:tmp_table_size          = 1G
/etc/mysql/percona-server.conf.d/petr.cnf:max_heap_table_size     = 1G
/etc/mysql/percona-server.conf.d/petr.cnf:key_buffer_size         = 64M
/etc/mysql/percona-server.conf.d/petr.cnf:max_allowed_packet      = 128M
/etc/mysql/percona-server.conf.d/petr.cnf:thread_stack            = 192K
/etc/mysql/percona-server.conf.d/petr.cnf:thread_cache_size       = 8
/etc/mysql/percona-server.conf.d/petr.cnf:innodb_file_per_table   = 1
/etc/mysql/percona-server.conf.d/petr.cnf:innodb_buffer_pool_size = 2G
/etc/mysql/percona-server.conf.d/petr.cnf:innodb_print_all_deadlocks
/etc/mysql/percona-server.conf.d/petr.cnf:innodb_flush_log_at_trx_commit = 2
/etc/mysql/percona-server.conf.d/petr.cnf:slow_query_log          = 1
/etc/mysql/percona-server.conf.d/petr.cnf:slow_query_log_file     = /var/log/mysql/mysql-slow.log
/etc/mysql/percona-server.conf.d/petr.cnf:long_query_time         = 1
Comment 30 caulier.gilles 2024-04-20 03:23:04 UTC
Hi all,

The digiKam 8.4.0 Appimage bundle pre-release is now based on last modern frameworks Qt 6.7.0 and KDE 6.2.0.

File can be downloaded at usual place : https://files.kde.org/digikam/
Take a  care : the bundle is named with the suffix "-Qt6" not "-Qt5". This bundle is compiled under Ubuntu 22.04 and require a Linux with GlibC version >= 2.35 to run.

Can you reproduce the dysfonction with this version?

Thanks in advance

Gilles Caulier
Comment 31 Petr Schonmann 2024-04-21 11:21:25 UTC
Yes, still reproducible. For example.


Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/mnt/snorlax/Photos/Peta/_TELEFON/2023/PXL_20230506_110913832.jpg"
Digikam::DMetadata::setItemFacesMap: Set face region: 0.367808 0.201058 0.120288 0.213404
Digikam::DMetadata::setItemFacesMap:     => set tag name: true
Digikam::DMetadata::setItemFacesMap:     => set tag type: true
Digikam::DMetadata::setItemFacesMap:     => set area struct: true
Digikam::DMetadata::setItemFacesMap:     => set xpos: true
Digikam::DMetadata::setItemFacesMap:     => set ypos: true
Digikam::DMetadata::setItemFacesMap:     => set width: true
Digikam::DMetadata::setItemFacesMap:     => set height: true
Digikam::DMetadata::setItemFacesMap:     => set unit: true
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: -------------------------- New Keywords QList("Lenka Trčková")
Digikam::MetaEngine::setIptcKeywords: "/mnt/snorlax/Photos/Peta/_TELEFON/2023/PXL_20230506_110913832.jpg"  ==> New Iptc Keywords:  QList("Lenka Trčková")
Digikam::MetaEngine::save: MetaEngine::metadataWritingMode 1
Digikam::MetaEngine::save: Will write XMP sidecar for file "PXL_20230506_110913832.jpg"
Digikam::MetaEngine::Private::saveUsingExiv2: wroteComment:  false
Digikam::MetaEngine::Private::saveUsingExiv2: wroteEXIF:  true
Digikam::MetaEngine::Private::saveUsingExiv2: wroteIPTC:  true
Digikam::MetaEngine::Private::saveUsingExiv2: wroteXMP:  true
Digikam::MetaEngine::Private::saveUsingExiv2: File time stamp restored
Digikam::MetaEngine::save: Metadata for file "PXL_20230506_110913832.jpg" written to XMP sidecar.
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 55
Digikam::FaceUtils::identityForTag: Found FacesEngine identity 2023 for tag 55
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 0
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 4538
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: Training 1 images for identity 2023
Digikam::RecognitionPreprocessor::Private::preprocess: Align face for OpenFace neural network model
Digikam::OpenfacePreprocessor::process: type:  16
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "INSERT INTO ImageTagProperties (imageid, tagid, property, value) VALUES(?, ?, ?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 55), QVariant(QString, "tagRegion"), QVariant(QString, ""))
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "INSERT INTO ImageTagProperties (imageid, tagid, property, value) VALUES(?, ?, ?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 55), QVariant(QString, "faceToTrain"), QVariant(QString, ""))
Digikam::OpenfacePreprocessor::process: Full object detection and landmard computation finished
Digikam::OpenfacePreprocessor::process: Align face finished
Digikam::DNNFaceExtractor::getFaceEmbedding: Finish aligning face in  13  ms
Digikam::DNNFaceExtractor::getFaceEmbedding: Start neural network
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTags`, CONSTRAINT `ImageTags_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 55))
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: Delete all keywords
Digikam::MetaEngine::setIptcKeywords: ""  ==> New Iptc Keywords:  QList()
Digikam::MetaEngine::applyChanges: Failed to apply changes: file path is empty!
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::DNNFaceExtractor::getFaceEmbedding: Finish computing face embedding in  210  ms
Digikam::FaceDb::insertFaceVector: Commit face mat data  64325  for identity  2023
Digikam::FaceUtils::identityForTag: Found FacesEngine identity 2023 for tag 55
Digikam::ItemInfo::fromLocalFile: No location could be retrieved for ""
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: Training 1 images for identity 2023
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: cv::Exception training Recognizer: OpenCV(4.9.0) /mnt/data/b/master/ext_opencv/ext_opencv-prefix/src/ext_opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 55
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 4538
Digikam::FacePipeline::Private::checkFinished: Check for finish:  1 packages, 0 infos to filter, hasFinished() false
Digikam::FacePipeline::Private::checkFinished: Check for finish:  0 packages, 0 infos to filter, hasFinished() true
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) ) "
Digikam::ItemLister::listImageTagPropertySearch: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
 QList(QVariant(int, 4538), QVariant(QString, "autodetectedPerson"), QVariant(int, 4538), QVariant(QString, "autodetectedFace"), QVariant(int, 4538), QVariant(QString, "ignoredFace"), QVariant(int, 4538), QVariant(QString, "tagRegion"))
Digikam::ItemLister::listImageTagPropertySearch: Search result: 99
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x562390c4cc10)  time: 27
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x562392909240)  time: 483
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x7f2fa4034f70)  time: 487
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Comment 32 Maik Qualmann 2024-04-21 12:50:55 UTC
You sent me your database and I couldn't reproduce it with it. However, you are using your database with utf8mb4 and then the index might be too small to uniquely resolve entries. So far we have undone tests with utf8mb4 because there were problems.

For utf8mb4 there are only 2 solutions, if it is really needed, either additional hash columns or require current MariaDB version to support larger index values.

Maik
Comment 33 Petr Schonmann 2024-04-21 17:37:30 UTC
Probably found that tables have bad collation, db not

***
mysql> SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = 'digikam' LIMIT 1;
+------------------------+
| DEFAULT_COLLATION_NAME |
+------------------------+
| utf8mb4_unicode_ci     |
+------------------------+
1 row in set (0.00 sec)
***

but the tables have utf8mb3_general_ci. Ill do alter them and lets see.
***
root@db:~# for i in $(mysql -NB -D digikam -e 'show tables;');do echo -ne "$i:" && mysql -D digikam -e "show table status like \"$i\"\G" | grep Collation ;done | column -t
AlbumRoots:          Collation:  utf8mb3_general_ci
Albums:              Collation:  utf8mb3_general_ci
CustomIdentifiers:   Collation:  utf8mb3_general_ci
DownloadHistory:     Collation:  utf8mb3_general_ci
FaceMatrices:        Collation:  utf8mb3_general_ci
FaceSettings:        Collation:  utf8mb3_general_ci
FilePaths:           Collation:  utf8mb3_general_ci
Identities:          Collation:  utf8mb3_general_ci
IdentityAttributes:  Collation:  utf8mb3_general_ci
ImageComments:       Collation:  utf8mb3_general_ci
ImageCopyright:      Collation:  utf8mb3_general_ci
ImageHaarMatrix:     Collation:  utf8mb3_general_ci
ImageHistory:        Collation:  utf8mb3_general_ci
ImageInformation:    Collation:  utf8mb3_general_ci
ImageMetadata:       Collation:  utf8mb3_general_ci
ImagePositions:      Collation:  utf8mb3_general_ci
ImageProperties:     Collation:  utf8mb3_general_ci
ImageRelations:      Collation:  utf8mb3_general_ci
ImageSimilarity:     Collation:  utf8mb3_general_ci
ImageTagProperties:  Collation:  utf8mb3_general_ci
ImageTags:           Collation:  utf8mb3_general_ci
Images:              Collation:  utf8mb3_general_ci
KDTree:              Collation:  utf8mb3_general_ci
Searches:            Collation:  utf8mb3_general_ci
Settings:            Collation:  utf8mb3_general_ci
SimilaritySettings:  Collation:  utf8mb3_general_ci
TagProperties:       Collation:  utf8mb3_general_ci
Tags:                Collation:  utf8mb3_general_ci
TagsTree:            Collation:  utf8mb3_general_ci
ThumbSettings:       Collation:  utf8mb3_general_ci
Thumbnails:          Collation:  utf8mb3_general_ci
UniqueHashes:        Collation:  utf8mb3_general_ci
VideoMetadata:       Collation:  utf8mb3_general_ci
***
Comment 34 Petr Schonmann 2024-04-21 22:24:08 UTC
Tried to change collation on tables, no change, still getting error.
digikam.sql is my database schema after change digikam2.sql is newly created database in digikam 8.4.0
Comment 35 Petr Schonmann 2024-04-21 22:24:55 UTC
Created attachment 168771 [details]
Actual DB scheme
Comment 36 Petr Schonmann 2024-04-21 22:25:25 UTC
Created attachment 168772 [details]
Fresh DB from DK8.4.0
Comment 37 Maik Qualmann 2024-04-25 11:34:55 UTC
These messages from your last log are strange. You also write sidecar to JPG files, but this doesn't report any errors. Afterwards Exiftool cannot find the (original) file and an empty file path is reported. Is all your collection “online”?

Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: Delete all keywords
Digikam::MetaEngine::setIptcKeywords: ""  ==> New Iptc Keywords:  QList()
Digikam::MetaEngine::applyChanges: Failed to apply changes: file path is empty!

Maik
Comment 38 Petr Schonmann 2024-04-25 12:03:28 UTC
Yeap, library is online and accessible

pschonmann@E495:~$ ls -lsah '/mnt/snorlax/Photos/Peta/!Jecna/lab7.jpg'
96K -rw-r--r-- 1 pschonmann pschonmann 94K Jan 18 05:52 '/mnt/snorlax/Photos/Peta/!Jecna/lab7.jpg'

Isnt problem in the exclamation mark or ( underscore #c31 ) or any nonaplhanum char and escaping somewhere ?

Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/mnt/snorlax/Photos/Peta/!Jecna/lab7.jpg"
Digikam::DMetadata::setItemFacesMap: Set face region: 0.28375 0.141667 0.29625 0.516667
Digikam::DMetadata::setItemFacesMap:     => set tag name: true
Digikam::DMetadata::setItemFacesMap:     => set tag type: true
Digikam::DMetadata::setItemFacesMap:     => set area struct: true
Digikam::DMetadata::setItemFacesMap:     => set xpos: true
Digikam::DMetadata::setItemFacesMap:     => set ypos: true
Digikam::DMetadata::setItemFacesMap:     => set width: true
Digikam::DMetadata::setItemFacesMap:     => set height: true
Digikam::DMetadata::setItemFacesMap:     => set unit: true
Digikam::DMetadata::setItemFacesMap: Set face region: 0.675 0.368333 0.03875 0.065
Digikam::DMetadata::setItemFacesMap:     => set tag name: true
Digikam::DMetadata::setItemFacesMap:     => set tag type: true
Digikam::DMetadata::setItemFacesMap:     => set area struct: true
Digikam::DMetadata::setItemFacesMap:     => set xpos: true
Digikam::DMetadata::setItemFacesMap:     => set ypos: true
Digikam::DMetadata::setItemFacesMap:     => set width: true
Digikam::DMetadata::setItemFacesMap:     => set height: true
Digikam::DMetadata::setItemFacesMap:     => set unit: true
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: -------------------------- New Keywords QList("Škola Tags", "Lukáš Zich", "Lidé", "Ječná", "Škola", "Jan Vašík")
Digikam::MetaEngine::setIptcKeywords: "/mnt/snorlax/Photos/Peta/!Jecna/lab7.jpg"  ==> New Iptc Keywords:  QList("Škola Tags", "Ječná", "Jan Vašík", "Lukáš Zich", "Škola", "Lidé")
Digikam::MetaEngine::save: MetaEngine::metadataWritingMode 1
Digikam::MetaEngine::save: Will write XMP sidecar for file "lab7.jpg"
Digikam::MetaEngine::Private::saveUsingExiv2: wroteComment:  false
Digikam::MetaEngine::Private::saveUsingExiv2: wroteEXIF:  true
Digikam::MetaEngine::Private::saveUsingExiv2: wroteIPTC:  true
Digikam::MetaEngine::Private::saveUsingExiv2: wroteXMP:  true
Digikam::MetaEngine::Private::saveUsingExiv2: File time stamp restored
Digikam::MetaEngine::save: Metadata for file "lab7.jpg" written to XMP sidecar.
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 295
Digikam::FaceUtils::identityForTag: Found FacesEngine identity 2084 for tag 295
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 0
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: Training 1 images for identity 2084
Digikam::RecognitionPreprocessor::Private::preprocess: Align face for OpenFace neural network model
Digikam::OpenfacePreprocessor::process: type:  16
Digikam::OpenfacePreprocessor::process: Full object detection and landmard computation finished
Digikam::OpenfacePreprocessor::process: Align face finished
Digikam::DNNFaceExtractor::getFaceEmbedding: Finish aligning face in  10  ms
Digikam::DNNFaceExtractor::getFaceEmbedding: Start neural network
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 4538
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "INSERT INTO ImageTagProperties (imageid, tagid, property, value) VALUES(?, ?, ?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 295), QVariant(QString, "tagRegion"), QVariant(QString, ""))
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "INSERT INTO ImageTagProperties (imageid, tagid, property, value) VALUES(?, ?, ?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 295), QVariant(QString, "faceToTrain"), QVariant(QString, ""))
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTags`, CONSTRAINT `ImageTags_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 295))
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: Delete all keywords
Digikam::MetaEngine::setIptcKeywords: ""  ==> New Iptc Keywords:  QList()
Digikam::MetaEngine::applyChanges: Failed to apply changes: file path is empty!
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) ) "
Digikam::ItemLister::listImageTagPropertySearch: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
 QList(QVariant(int, 4538), QVariant(QString, "autodetectedPerson"), QVariant(int, 4538), QVariant(QString, "autodetectedFace"), QVariant(int, 4538), QVariant(QString, "ignoredFace"), QVariant(int, 4538), QVariant(QString, "tagRegion"))
Digikam::ItemLister::listImageTagPropertySearch: Search result: 20
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x564dc72ecb70)  time: 18
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::DNNFaceExtractor::getFaceEmbedding: Finish computing face embedding in  295  ms
Digikam::FaceDb::insertFaceVector: Commit face mat data  64746  for identity  2084
Digikam::FacePipeline::Private::checkFinished: Check for finish:  1 packages, 0 infos to filter, hasFinished() false
Digikam::FaceUtils::identityForTag: Found FacesEngine identity 2084 for tag 295
Digikam::ItemInfo::fromLocalFile: No location could be retrieved for ""
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: Training 1 images for identity 2084
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: cv::Exception training Recognizer: OpenCV(4.9.0) /mnt/data/b/master/ext_opencv/ext_opencv-prefix/src/ext_opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 295
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 4538
Digikam::FacePipeline::Private::checkFinished: Check for finish:  0 packages, 0 infos to filter, hasFinished() true
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x564dc60b0e90)  time: 545
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x564dd0f78c10)  time: 549
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Comment 39 Maik Qualmann 2024-04-25 12:24:13 UTC
No, these characters are allowed in file names. Can you post the beginning of the digiKam start as a log? Until the plugins load is sufficient.

Maik
Comment 40 Maik Qualmann 2024-04-25 12:29:37 UTC
I see in an old log that you uploaded here that your collection is not available for digiKam!
Go to the digiKam collection settings and use the update function (round circle icon tool button) for the collection. Basically just confirm everything.

Digikam::CollectionManager::updateLocations: location for "/mnt/snorlax/Photos" is available: false => case sensitivity: 1

Maik
Comment 41 Maik Qualmann 2024-04-25 19:21:18 UTC
Git commit d472489b5457710d44c83ed6bac61c795e607646 by Maik Qualmann.
Committed on 25/04/2024 at 19:18.
Pushed by mqualmann into branch 'master'.

show an error icon if the collection/album root is not available
Related: bug 481888, bug 438845

M  +17   -0    core/libs/album/engine/albumthumbnailloader.cpp
M  +1    -0    core/libs/album/engine/albumthumbnailloader.h

https://invent.kde.org/graphics/digikam/-/commit/d472489b5457710d44c83ed6bac61c795e607646
Comment 42 Maik Qualmann 2024-04-25 19:49:56 UTC
I'm referring to the log from Comment 19. Your collection is not available at startup, after the first database query/item listing there is a Solid event and the collection becomes available. That's a strange behavior.
A current complete log from the beginning would be good.

Maik
Comment 43 Petr Schonmann 2024-04-26 05:23:48 UTC
pschonmann@E495:~$ digikam
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
awk: cmd. line:1: warning: command line argument `/etc/upstream-release' is a directory: skipped
awk: cmd. line:1: warning: command line argument `/etc/upstream-release' is a directory: skipped
-- Detected host Linux linuxmint-64-21.3
-- AppImage mounted directory: /tmp/.mount_digiKaj0Nf6t
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
Check library libgmodule-2.0.so.0
Check library libgnutls.so.30
Check library libnettle.so.8
-- Preloading shared libs: :/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libsmime3.so:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0:/usr/lib/x86_64-linux-gnu/libgnutls.so.30:/usr/lib/x86_64-linux-gnu/libnettle.so.8
Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found
Digikam::DXmlGuiWindow::setupIconTheme: Breeze-dark icons resource file found
Digikam::unloadQtTranslationFiles: Qt standard translations removed: 8
Digikam::loadStdQtTranslationFiles: Qt standard translations path: "/tmp/.mount_digiKaj0Nf6t/usr/share/digikam/translations"
Digikam::loadStdQtTranslationFiles: Language set to: "en_US"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "en_US" from catalog "qt"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "en_US" from catalog "qtbase"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "en_US" from catalog "qtdeclarative"
Digikam::loadStdQtTranslationFiles: Loaded Qt standard translations "en_US" from catalog "qtwebengine"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "en" from catalog "kcoreaddons6_qt"
Digikam::loadEcmQtTranslationFiles: Loaded Qt ECM translations "en" from catalog "kwidgetsaddons6_qt"
Digikam::ApplicationSettings::setApplicationStyle: Switch to widget style:  ""
Digikam::ApplicationSettings::setApplicationFont: Switch to application font:  QFont(Ubuntu,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1)
Digikam::AlbumWatch::AlbumWatch: AlbumWatch use QFileSystemWatcher
Digikam::AlbumManager::setDatabase: Database Parameters:
   Type:                        "QMYSQL"
   DB Core Name:                "digikam"
   DB Thumbs Name:              "digikam"
   DB Face Name:                "digikam"
   DB Similarity Name:          "digikam"
   Connect Options:             ""
   Host Name:                   "db.lan"
   Host Port:                   3306
   WAL Mode:                    false
   Internal Server:             false
   Internal Server Path:        ""
   Internal Server Init Cmd:    ""
   Internal Server Admin Cmd:   ""
   Internal Server Program Cmd: ""
   Internal Server Upgrade Cmd: ""
   Username:                    "digikam"
   Password:                    "XXXXXXXXXXXXX"

Digikam::DbEngineConfigSettingsLoader::readConfig: Loading SQL code from config file "/tmp/.mount_digiKaj0Nf6t/usr/share/digikam/database/dbconfig.xml"
Digikam::DbEngineConfigSettingsLoader::readConfig: Checking XML version ID => expected:  3  found:  3
Digikam::CoreDbSchemaUpdater::update: Core database: running schema update
Digikam::CoreDbSchemaUpdater::startUpdates: Core database: have a structure version  16
Digikam::CoreDbSchemaUpdater::makeUpdates: Core database: makeUpdates  16  to  16
Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/"  uuid  "networkshareid:?mountpath=/mnt/snorlax/Photos&fileuuid=6c90e74c-e7aa-4d07-bbe2-f8fee1ea3dbe"
Digikam::CollectionManager::Private::getCollectionUUID: Found Location "/mnt/snorlax/Photos" with file uuid "6c90e74c..."
Digikam::CollectionManager::updateLocations: Location for "/mnt/snorlax/Photos" is available: true => case sensitivity: 2
Digikam::LoadingCache::setCacheSize: Allowing a cache size of 891 MB
Digikam::ThumbsDb::getSetting: ThumbDB SelectThumbnailSetting val ret =  0
Digikam::ThumbsDb::getSetting: ThumbDB SelectThumbnailSetting val ret =  0
Digikam::ThumbsDbSchemaUpdater::startUpdates: Thumbs database: have a structure version  "3"
Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnails database ready for use
Digikam::SimilarityDb::getSetting: SimilarityDb SelectSimilaritySetting val ret =  0
Digikam::SimilarityDb::getSetting: SimilarityDb SelectSimilaritySetting val ret =  0
Digikam::SimilarityDbSchemaUpdater::startUpdates: Similarity database: have a structure version  "1"
Digikam::AlbumManager::setDatabase: Similarity database ready for use
Digikam::IccSettings::Private::scanDirectories: QList("/usr/share/color/icc", "/home/pschonmann/.local/share/icc")
Digikam::IccSettings::Private::profileFromWindowSystem: No X.org XICC profile installed for screen  1
Digikam::DigikamApp::DigikamApp: [GeolocationSettingsContainer]
   distanceUnit(0), 
   angleUnit(1), 
   stillQuality(3), 
   animationQuality(1), 
   mapFont(QFont(Ubuntu,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1)), 
   inertialRotation(true), 
   mouseRotation(true), 
   volatileTileCacheLimit(100), 
   persistentTileCacheLimit(999999), 
   showGrid(true), 
   showCross(false), 
   showAtmosphere(false), 
   showSunShading(false), 
   showCities(true), 
   showRelief(true)
Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for AppImage bundle
Digikam::CameraList::CameraList: Camera XML data:  "/home/pschonmann/.local/share/digikam/cameras.xml"
Digikam::ExifToolProcess::slotApplySettingsAndStart: ExifTool config path: "/tmp/.mount_digiKaj0Nf6t/usr/bin/exiftool"
Digikam::ExifToolProcess::checkExifToolProgram: Path to ExifTool: "/tmp/.mount_digiKaj0Nf6t/usr/bin/exiftool"
Digikam::ExifToolProcess::startExifTool: ExifToolProcess::start(): create new ExifTool instance: "/tmp/.mount_digiKaj0Nf6t/usr/bin/exiftool" QList("-stay_open", "true", "-@", "-", "-common_args", "-charset", "filename=UTF8", "-charset", "iptc=UTF8")
Digikam::ExifToolProcess::slotStarted: ExifTool process started
Digikam::DPluginLoader::Private::loadPlugins: Starting to load external tools.
Digikam::DPluginLoader::Private::pluginEntriesList: Parsing plugins from QList("/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/")
Digikam::DPluginLoader::Private::pluginEntriesList: Plugins found: 144
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_TIFF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_RAW_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_QImage_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_PNG_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_PGF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_JPEG_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_JPEG2000_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_ImageMagick_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginDImg loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/dimg/DImg_HEIF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_AntiVignetting_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ApplyMetadata_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_AssignLabels_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_AssignTags_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_AssignTemplate_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Assigncaptions_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_AutoCorrection_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_BWconvert_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_BcgCorrection_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Blur_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Border_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ChannelMixer_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ColorBalance_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ColorFX_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Convert16To8_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Convert8To16_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToAVIF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToDNG_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToHEIF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToJP2lugin_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToJPEG_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToJXL_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToPGF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToPNG_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToTIFF_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_ConvertToWEBP_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Crop_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_CurvesAdjust_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_FilmGrain_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Flip_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_HotPixels_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_HslCorrection_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_IccConvert_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Invert_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_LensAutoFix_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_LocalContrast_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_NoiseReduction_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_QualitySort_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_RedEyeCorrection_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_RemoveMetadata_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Resize_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Restoration_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Rotate_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Sharpen_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Texture_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_TimeAdjust_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_Translate_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_UserScript_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_WaterMark_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginBqm loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/bqm/Bqm_WhiteBalance_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_AdjustCurvesTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_AdjustLevelsTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_AntivignettingTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_AutoCorrectionTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_AutoCropTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_BWSepiaTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_BcgTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_BlurFxTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_BlurTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_BorderTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_CBTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_ChannelMixerTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_CharcoalTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_ColorFxTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_ContentAwareResizeTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_Convert16To8Tool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_Convert8To16Tool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_DistortionFxTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_EmbossTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_FilmGrainTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_FilmTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_FreeRotationTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_GmicQt_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_HSLTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_HealingCloneTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_HotpixelsTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_InsertTextTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_InvertTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_LensAutoFixTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_LensDistortionTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_LocalContrastTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_NoiseReductionTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_OilPaintTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_PerspectiveTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_PrintTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_ProfileConversionTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_RainDropTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_RatioCropTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_RedEyeTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_ResizeTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_RestorationTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_SharpenTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_ShearTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_TextureTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginEditor loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/editor/Editor_WhiteBalanceTool_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Box_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Calendar_Plugin.so"
Digikam::DPluginLoader::Private::loadPlugins: Ignoring specific Showfoto plugin in digiKam "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_DNGConverter_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_DigitalScanner_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_DropBox_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_ExpoBlending_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_FileCopy_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Flickr_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_GLViewer_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_GeolocationEdit_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Google_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_HtmlGallery_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_ImageMosaicWall_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_ImageShack_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_ImgUr_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_JAlbum_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_MediaServer_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_MediaWiki_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_MetadataEdit_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_MjpegStream_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_OneDrive_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Panorama_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_PicFlowView_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Pinterest_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Piwigo_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Presentation_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_PrintCreator_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_SendByMail_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_SlideShow_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_SmugMug_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_TextConverter_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_TimeAdjust_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_Twitter_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_VideoSlideShow_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginGeneric loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/generic/Generic_iNaturalist_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginRawImport loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/rawimport/RawImport_ART_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginRawImport loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/rawimport/RawImport_DarkTable_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginRawImport loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/rawimport/RawImport_Native_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginRawImport loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/rawimport/RawImport_RawTherapee_Plugin.so"
Digikam::DPluginLoader::Private::appendPlugin: Plugin of type Digikam::DPluginRawImport loaded from "/tmp/.mount_digiKaj0Nf6t/usr/plugins/digikam/rawimport/RawImport_UFRaw_Plugin.so"
Digikam::DPluginLoader::Private::loadPlugins: void Digikam::DPluginLoader::Private::loadPlugins() Time elapsed: 2386 ms
Digikam::FaceDb::setting: FaceDB SelectFaceSetting val ret =  0
Digikam::FaceDb::setting: FaceDB SelectFaceSetting val ret =  0
Digikam::FaceDbSchemaUpdater::startUpdates: Face database: have a structure version  "4"
Digikam::FacialRecognitionWrapper::Private::Private: Face database ready for use
Digikam::OpenfacePreprocessor::loadModels: Start reading shape predictor file
Digikam::OpenfacePreprocessor::loadModels: Finish reading shape predictor file
Digikam::DNNFaceExtractor::loadModels: Extractor model: "/home/pschonmann/.local/share/digikam/facesengine/openface_nn4.small2.v1.t7"
Digikam::FacePipeline::construct: Face PipeLine: add database writer
Digikam::FacePipeline::construct: Face PipeLine: add faces trainer
Digikam::FacePipeline::construct: Face PipeLine: add database writer
Digikam::FacePipeline::construct: Face PipeLine: add faces trainer
Digikam::MapWidget::setBackend: "setting backend marble"
Digikam::StackedView::setViewMode: Stacked View Mode :  0
Digikam::MapWidget::setBackend: "setting backend marble"
unknown: Sonnet: No speller backends available!
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
Digikam::MapWidget::setBackend: "setting backend marble"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
Digikam::DigikamApp::setupActions: "browse_album"
Digikam::DigikamApp::setupActions: "browse_tag"
Digikam::DigikamApp::setupActions: "browse_labels"
Digikam::DigikamApp::setupActions: "browse_date"
Digikam::DigikamApp::setupActions: "browse_timeline"
Digikam::DigikamApp::setupActions: "browse_search"
Digikam::DigikamApp::setupActions: "browse_fuzzysearch"
Digikam::DigikamApp::setupActions: "browse_gpssearch"
Digikam::DigikamApp::setupActions: "browse_people"
Digikam::ThemeManager::populateThemeMenu: Paths to color scheme :  QList("/tmp/.mount_digiKaj0Nf6t/usr/share/digikam/colorschemes")
Digikam::ThemeManager::slotChangePalette: ""  ::  ""
Digikam::ThemeManager::slotChangePalette: "Black Body"  ::  "/tmp/.mount_digiKaj0Nf6t/usr/share/digikam/colorschemes/blackbody.colors"
unknown: Unhandled container to remove :  Digikam::DigikamApp
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::BuildTrashCountersJob(0x563ba12a3a80)  time: 23
Digikam::AlbumManager::addAlbumRoot: Added root album called:  "Photos@Snorlax"
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::StackedView::setViewMode: Stacked View Mode :  0
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) ) "
Digikam::ItemLister::listImageTagPropertySearch: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
 QList(QVariant(int, 4538), QVariant(QString, "autodetectedPerson"), QVariant(int, 4538), QVariant(QString, "autodetectedFace"), QVariant(int, 4538), QVariant(QString, "ignoredFace"), QVariant(int, 4538), QVariant(QString, "tagRegion"))
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::StackedView::setViewMode: Stacked View Mode :  2
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemLister::listImageTagPropertySearch: Search result: 20
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::StackedView::setViewMode: Stacked View Mode :  2
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::AlbumsJob(0x563ba14a4440)  time: 1782
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba1712380)  time: 1357
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba1522570)  time: 1360
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::DatesJob(0x563b9d470d90)  time: 1007
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba0e42cb0)  time: 238
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ItemAlbumModel::slotData: Data From DBJobsThread is null:  true
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::AlbumsJob(0x563b9fae05a0)  time: 4524
Digikam::MapWidget::setBackend: "setting backend marble"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::MapWidget::setBackend: "setting backend marble"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
Digikam::FacePipeline::construct: Face PipeLine: add database writer
Digikam::FacePipeline::construct: Face PipeLine: add faces trainer
Digikam::FacePipeline::construct: Face PipeLine: add database writer
Digikam::FacePipeline::construct: Face PipeLine: add faces trainer
Digikam::MapWidget::setBackend: "setting backend marble"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
unknown: No language dictionaries for the language: "en_US"
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::BackendGoogleMaps::setMapType: "ROADMAP"
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::TagsActionMngr::createTagActionShortcut: Create Shortcut  "Ctrl+Shift+L"  to Tag  "Lenka Trčková"  ( 55 )
Digikam::TagsActionMngr::createTagActionShortcut: Create Shortcut  "Ctrl+Alt+A"  to Tag  "Artuš"  ( 411 )
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::NewItemsFinder::slotStart: scan mode: ScanDeferredFiles
Digikam::NewItemsFinder::slotTotalFilesToScan: total scan value :  61685
Digikam::NewItemsFinder::slotTotalFilesToScan: total scan value :  62218
Digikam::CollectionScanner::completeHistoryScanning: items to tag QList()
Digikam::CollectionScanner::completeScan: Complete scan took: 1637 msecs.
Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for AppImage bundle
Digikam::DNotificationWrapper: Event is dispatched to desktop notifier through DBUS
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::StackedView::setViewMode: Stacked View Mode :  0
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) ) "
Digikam::ItemLister::listImageTagPropertySearch: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
 QList(QVariant(int, 4539), QVariant(QString, "autodetectedPerson"), QVariant(int, 4539), QVariant(QString, "autodetectedFace"), QVariant(int, 4539), QVariant(QString, "ignoredFace"), QVariant(int, 4539), QVariant(QString, "tagRegion"))
Digikam::ItemLister::listImageTagPropertySearch: Search result: 449
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba7da6240)  time: 98
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) ) "
Digikam::ItemLister::listImageTagPropertySearch: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
 QList(QVariant(int, 4538), QVariant(QString, "autodetectedPerson"), QVariant(int, 4538), QVariant(QString, "autodetectedFace"), QVariant(int, 4538), QVariant(QString, "ignoredFace"), QVariant(int, 4538), QVariant(QString, "tagRegion"))
Digikam::ItemLister::listImageTagPropertySearch: Search result: 20
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x7f4a20043180)  time: 71
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ItemMarkerTiler::slotSourceModelReset: ----
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ItemQueryBuilder::buildQueryFromXml: " ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) ) "
Digikam::ItemLister::listImageTagPropertySearch: Search query:
 "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
 QList(QVariant(int, 4538), QVariant(QString, "autodetectedPerson"), QVariant(int, 4538), QVariant(QString, "autodetectedFace"), QVariant(int, 4538), QVariant(QString, "ignoredFace"), QVariant(int, 4538), QVariant(QString, "tagRegion"))
Digikam::ItemLister::listImageTagPropertySearch: Search result: 19
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba8c9d430)  time: 19
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/mnt/snorlax/Photos/Peta/!Jecna/Zeema/Laborky/Dsc00743.jpg"
Digikam::DMetadata::setItemFacesMap: Set face region: 0.0458554 0.247012 0.0723104 0.122178
Digikam::DMetadata::setItemFacesMap:     => set tag name: true
Digikam::DMetadata::setItemFacesMap:     => set tag type: true
Digikam::DMetadata::setItemFacesMap:     => set area struct: true
Digikam::DMetadata::setItemFacesMap:     => set xpos: true
Digikam::DMetadata::setItemFacesMap:     => set ypos: true
Digikam::DMetadata::setItemFacesMap:     => set width: true
Digikam::DMetadata::setItemFacesMap:     => set height: true
Digikam::DMetadata::setItemFacesMap:     => set unit: true
Digikam::DMetadata::setItemFacesMap: Set face region: 0.526455 0.260292 0.0485009 0.116866
Digikam::DMetadata::setItemFacesMap:     => set tag name: true
Digikam::DMetadata::setItemFacesMap:     => set tag type: true
Digikam::DMetadata::setItemFacesMap:     => set area struct: true
Digikam::DMetadata::setItemFacesMap:     => set xpos: true
Digikam::DMetadata::setItemFacesMap:     => set ypos: true
Digikam::DMetadata::setItemFacesMap:     => set width: true
Digikam::DMetadata::setItemFacesMap:     => set height: true
Digikam::DMetadata::setItemFacesMap:     => set unit: true
Digikam::DMetadata::setItemFacesMap: Set face region: 0.920635 0.163347 0.0626102 0.115538
Digikam::DMetadata::setItemFacesMap:     => set tag name: true
Digikam::DMetadata::setItemFacesMap:     => set tag type: true
Digikam::DMetadata::setItemFacesMap:     => set area struct: true
Digikam::DMetadata::setItemFacesMap:     => set xpos: true
Digikam::DMetadata::setItemFacesMap:     => set ypos: true
Digikam::DMetadata::setItemFacesMap:     => set width: true
Digikam::DMetadata::setItemFacesMap:     => set height: true
Digikam::DMetadata::setItemFacesMap:     => set unit: true
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: -------------------------- New Keywords QList("Ječná", "Jan Lipták", "Petr Zahradník", "Břetislav Benda", "Lukáš Fulín", "Lidé", "Škola Tags", "Petr Jirák")
Digikam::MetaEngine::setIptcKeywords: "/mnt/snorlax/Photos/Peta/!Jecna/Zeema/Laborky/Dsc00743.jpg"  ==> New Iptc Keywords:  QList("Ječná", "Břetislav Benda", "Jan Lipták", "Petr Zahradník", "Lukáš Fulín", "Lidé", "Škola Tags", "Petr Jirák")
Digikam::MetaEngine::save: MetaEngine::metadataWritingMode 1
Digikam::MetaEngine::save: Will write XMP sidecar for file "Dsc00743.jpg"
Digikam::MetaEngine::Private::saveUsingExiv2: wroteComment:  false
Digikam::MetaEngine::Private::saveUsingExiv2: wroteEXIF:  true
Digikam::MetaEngine::Private::saveUsingExiv2: wroteIPTC:  true
Digikam::MetaEngine::Private::saveUsingExiv2: wroteXMP:  true
Digikam::MetaEngine::Private::saveUsingExiv2: File time stamp restored
Digikam::MetaEngine::save: Metadata for file "Dsc00743.jpg" written to XMP sidecar.
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 311
Digikam::FaceUtils::identityForTag: Found FacesEngine identity 2043 for tag 311
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 0
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: Training 1 images for identity 2043
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 4538
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "INSERT INTO ImageTagProperties (imageid, tagid, property, value) VALUES(?, ?, ?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 311), QVariant(QString, "tagRegion"), QVariant(QString, ""))
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "INSERT INTO ImageTagProperties (imageid, tagid, property, value) VALUES(?, ?, ?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTagProperties`, CONSTRAINT `ImageTagProperties_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 311), QVariant(QString, "faceToTrain"), QVariant(QString, ""))
Digikam::BdEngineBackendPrivate::debugOutputFailedQuery: Failure executing query:
 "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);" 
Error messages: "QMYSQL: Unable to execute statement" "Cannot add or update a child row: a foreign key constraint fails (`digikam`.`ImageTags`, CONSTRAINT `ImageTags_Images` FOREIGN KEY (`imageid`) REFERENCES `Images` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" "1452" 2 
Bound values:  QList(QVariant(qlonglong, 0), QVariant(int, 311))
Digikam::RecognitionPreprocessor::Private::preprocess: Align face for OpenFace neural network model
Digikam::OpenfacePreprocessor::process: type:  16
Digikam::OpenfacePreprocessor::process: Full object detection and landmard computation finished
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::MetadataHub::writeTags: Writing tags
Digikam::MetadataHub::writeTags: Delete all keywords
Digikam::MetaEngine::setIptcKeywords: ""  ==> New Iptc Keywords:  QList()
Digikam::MetaEngine::applyChanges: Failed to apply changes: file path is empty!
Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true
Digikam::ExifToolParser::loadChunk: Cannot open source file to process with ExifTool...
Digikam::DMetadata::loadUsingExifTool: Load metadata using ExifTool failed...
Digikam::DMetadata::load: Loading metadata with "No Backend" backend from ""
Digikam::OpenfacePreprocessor::process: Align face finished
Digikam::DNNFaceExtractor::getFaceEmbedding: Finish aligning face in  36  ms
Digikam::DNNFaceExtractor::getFaceEmbedding: Start neural network
Digikam::DNNFaceExtractor::getFaceEmbedding: Finish computing face embedding in  322  ms
Digikam::FaceDb::insertFaceVector: Commit face mat data  64747  for identity  2043
Digikam::FaceUtils::identityForTag: Found FacesEngine identity 2043 for tag 311
Digikam::FacePipeline::Private::checkFinished: Check for finish:  1 packages, 0 infos to filter, hasFinished() false
Digikam::ItemInfo::fromLocalFile: No location could be retrieved for ""
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: Training 1 images for identity 2043
Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch: cv::Exception training Recognizer: OpenCV(4.9.0) /mnt/data/b/master/ext_opencv/ext_opencv-prefix/src/ext_opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 311
Digikam::ItemTagPairPriv::createGuarded: Attempt to create invalid tag pair image id 0 tag id 4538
Digikam::FacePipeline::Private::checkFinished: Check for finish:  0 packages, 0 infos to filter, hasFinished() true
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::setMaximumNumberOfThreads: Using  8  CPU core to run threads
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::run: Action Thread run 1 new jobs
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba78630a0)  time: 403
Digikam::ActionThreadBase::cancel: Finish Main Thread
Digikam::ActionThreadBase::slotJobFinished: One job is done  Digikam::TagsJob(0x563ba83eccf0)  time: 487
Digikam::ActionThreadBase::cancel: Finish Main Thread
Comment 44 Maik Qualmann 2024-04-26 10:28:16 UTC
My guess is a problem with your network drive.
Everything is OK until the sidecar file is written. We then re-read the metadata. Now the ItemInfo image ID== 0. I suspect that the network drive is no longer readable within a small time window. The fact that ExifTool can no longer load the metadata from the next image also indicates this.
I would suspect some kind of client or file lock on the NAS, something like that is configurable on some NAS drives.

A test would be to copy the collection to a USB drive or local hard drive and simply switch to this collection using the update function in the digiKam collection settings to see whether the problem occurs.

Maik
Comment 45 Petr Schonmann 2024-04-26 11:39:10 UTC
Collection is not currently on network drive. This is for a historical reason and I haven't changed the configuration yet. In past, collection was on network drive. Reading / Writing was slow - then i moved collection to ssd on localhost and just bind from synology drive app ( something like dropbox, onedrive ))

The /data is btrfs if matters.

/data/SynologyDrive/Photos /mnt/snorlax/Photos  none defaults,bind 0 0

I can change to local collection from network share if this can cause the problem.

Ive observed that file have ?? 2 sidecars ?? Can this be cause of our problems ?

pschonmann@E495:~$ ls '/mnt/snorlax/Photos/Peta/!Jecna/Zeema/Laborky/Dsc00743'* -1 -lsah
 88K -rw-r--r-- 1 pschonmann pschonmann  86K Jan 18 07:03 '/mnt/snorlax/Photos/Peta/!Jecna/Zeema/Laborky/Dsc00743.jpg'
8.0K -rw-r--r-- 1 pschonmann pschonmann 8.0K Jan 18 07:03 '/mnt/snorlax/Photos/Peta/!Jecna/Zeema/Laborky/Dsc00743.jpg.xmp'
8.0K -rw-r--r-- 1 pschonmann pschonmann 6.7K Feb 25  2023 '/mnt/snorlax/Photos/Peta/!Jecna/Zeema/Laborky/Dsc00743.xmp'

Ill attach them after this post.
Comment 46 Petr Schonmann 2024-04-26 11:40:04 UTC
Created attachment 168918 [details]
Dsc00743.xmp
Comment 47 Petr Schonmann 2024-04-26 11:40:44 UTC
Created attachment 168919 [details]
Dsc00743.jpg.xmp
Comment 48 Maik Qualmann 2024-04-26 12:33:33 UTC
The sidecar file without the "jpg" extension comes from a sidecar setting "Sidecar filenames compatible with commercial programs". You probably activated this option at some point. But it doesn't matter for this problem, digiKam uses the sidecar depending on the setting.

How should I imagine the Synology app, does it monitor the collection?

Maik
Comment 49 Petr Schonmann 2024-04-27 04:16:38 UTC
Synology Drive Client is the desktop utility that provides file syncing and personal computer backup services on multiple client computers to a centralized server, Synology Drive Server.
https://kb.synology.com/en-us/DSM/help/SynologyDriveClient/synologydriveclient?version=7

It act like other cloud clients. Its two way sync. If something changes on localhost, its uploaded to server, when something changed on server its pushed to localhost.
Comment 50 Maik Qualmann 2024-04-28 10:38:55 UTC
Git commit c182425929dafc5339e964e13e887f01b09ef5b6 by Maik Qualmann.
Committed on 28/04/2024 at 10:38.
Pushed by mqualmann into branch 'master'.

add Test debug for bug 467766

M  +3    -1    core/libs/database/collection/collectionscanner_scan.cpp

https://invent.kde.org/graphics/digikam/-/commit/c182425929dafc5339e964e13e887f01b09ef5b6
Comment 51 Maik Qualmann 2024-04-28 10:39:40 UTC
@Gilles, a new AppImage would be good.

Maik
Comment 52 caulier.gilles 2024-04-28 10:45:05 UTC
It's under Progress...
Gilles
Comment 53 Maik Qualmann 2024-04-28 13:53:50 UTC
@Petr, can you please create a new debug log with the current AppImage?

Maik
Comment 54 Petr Schonmann 2024-04-28 21:06:51 UTC
Tried with digiKam-8.4.0-20240428T104713-Qt6-x86-64.appimage

Its attached, we exceed 64k limit comment :)
Comment 55 Petr Schonmann 2024-04-28 21:07:35 UTC
Created attachment 168981 [details]
debuglog
Comment 56 Maik Qualmann 2024-04-29 06:10:34 UTC
The test debug entry shows nothing unusual. As a test, can you please deactivate all metadata write options so that nothing is written to an image or sidecar?

Maik
Comment 57 Petr Schonmann 2024-04-29 22:31:59 UTC
Im not sure how to do that. 
Just uncheck in metadata configuration TAB Behavior all checked field and Sidecars uncheck write too ? Is it all setting which you need ?

Or just which values in digikamrc to toggle would be fine too.
Comment 58 Maik Qualmann 2024-04-30 08:32:35 UTC
Yes, disable all 9 write options in the metadata settings.

Maik
Comment 59 Petr Schonmann 2024-04-30 18:58:22 UTC
Created attachment 169046 [details]
digikam_debug_467766_2024-04-30-without-write-metadata.txt
Comment 60 Maik Qualmann 2024-04-30 20:36:47 UTC
Git commit 0f08fe600380954785a8a1dc65be3c09568b2548 by Maik Qualmann.
Committed on 30/04/2024 at 20:35.
Pushed by mqualmann into branch 'master'.

add copy constructor and assignment operator to FaceTagsIface

M  +18   -0    core/libs/database/tags/facetagsiface.cpp
M  +3    -0    core/libs/database/tags/facetagsiface.h

https://invent.kde.org/graphics/digikam/-/commit/0f08fe600380954785a8a1dc65be3c09568b2548
Comment 61 Maik Qualmann 2024-05-01 19:26:59 UTC
A new AppImage is available, can you please test whether the problem can still be reproduced?

Maik
Comment 62 Petr Schonmann 2024-05-01 19:50:14 UTC
Hi, i tried with new release digiKam-8.4.0-20240501T135922-Qt6-x86-64.appimage
the first attempt was fine, no error, second, same error.
Details in logs attached
Comment 63 Petr Schonmann 2024-05-01 19:50:56 UTC
Created attachment 169083 [details]
digikam_debug_467766_2024-01-05-first_okay_second_not.txt
Comment 64 Maik Qualmann 2024-05-01 20:29:24 UTC
Git commit ce8f53dfcfdd07adf2de473265f854fba2047e2c by Maik Qualmann.
Committed on 01/05/2024 at 20:28.
Pushed by mqualmann into branch 'master'.

add test debug for FaceTagsIface

M  +2    -1    core/utilities/facemanagement/workers/trainerworker.cpp

https://invent.kde.org/graphics/digikam/-/commit/ce8f53dfcfdd07adf2de473265f854fba2047e2c
Comment 65 Maik Qualmann 2024-05-02 10:30:12 UTC
Git commit e917a7e1e913f23ca290280b39dbcb4df1f0e82e by Maik Qualmann.
Committed on 02/05/2024 at 10:29.
Pushed by mqualmann into branch 'master'.

add assignment operator to FacePipelineFaceTagsIface

M  +14   -0    core/utilities/facemanagement/threads/facepipelinepackage.cpp
M  +2    -0    core/utilities/facemanagement/threads/facepipelinepackage.h

https://invent.kde.org/graphics/digikam/-/commit/e917a7e1e913f23ca290280b39dbcb4df1f0e82e
Comment 66 Maik Qualmann 2024-05-02 12:49:38 UTC
Another AppImage is available, please test again with debug log.

Maik
Comment 67 Petr Schonmann 2024-05-02 20:33:04 UTC
Created attachment 169116 [details]
digikam_debug_467766_2024-05-02-another_debug_day.txt
Comment 68 Maik Qualmann 2024-05-02 21:14:50 UTC
Are you using multicore option in the face engine settings of the people view? Please deactivate it once, restart if necessary and see if the problem also occurs.

Maik
Comment 69 Maik Qualmann 2024-05-03 10:42:32 UTC
Git commit af2d341a7dd489dc8c5b324a303e8156d11a4404 by Maik Qualmann.
Committed on 03/05/2024 at 10:41.
Pushed by mqualmann into branch 'master'.

remove items from model after face editing

M  +10   -10   core/app/items/views/digikamitemview.cpp

https://invent.kde.org/graphics/digikam/-/commit/af2d341a7dd489dc8c5b324a303e8156d11a4404
Comment 70 Maik Qualmann 2024-05-05 06:58:41 UTC
Can you please test the current AppImage?

Maik
Comment 71 caulier.gilles 2024-05-05 07:22:23 UTC
Maik,

With the commit from the comment 60, i think you introduce a potential slicing problem in classes FaceTagsIface and FacePipelineFaceTagsIface.

https://github.com/KDE/clazy/blob/master/docs/checks/README-copyable-polymorphic.md

See the tab Copyable Polymorphic from the last Clazy report :

https://files.kde.org/digikam/reports/clazy_master.tar.xv

Gilles
Comment 72 Maik Qualmann 2024-05-05 07:59:59 UTC
Ok, the cause is probably the virtual deconstructor, I can undo this.
Objects in a QList should/must be copable and contain an assignment operator. Otherwise the compiler makes a default assignment operator, so the object in the QList would point to the same memory as the original object. This can lead to problems.

Maik
Comment 73 Maik Qualmann 2024-05-05 08:01:54 UTC
Git commit ba72a838c6287bce85bcc30c4fd23e80659567fc by Maik Qualmann.
Committed on 05/05/2024 at 08:01.
Pushed by mqualmann into branch 'master'.

Revert "the FaceTagsIface can be override"

M  +1    -1    core/libs/database/tags/facetagsiface.h
M  +1    -1    core/utilities/facemanagement/threads/facepipelinepackage.h

https://invent.kde.org/graphics/digikam/-/commit/ba72a838c6287bce85bcc30c4fd23e80659567fc
Comment 74 Petr Schonmann 2024-05-06 19:32:35 UTC
Created attachment 169248 [details]
debug_digiKam-8.4.0-20240505T093946-Qt6-x86-64.txt
Comment 75 Maik Qualmann 2024-05-06 20:22:11 UTC
Git commit 008d0863333ff3b2a850973ad4ebf23f4e6c49c1 by Maik Qualmann.
Committed on 06/05/2024 at 20:21.
Pushed by mqualmann into branch 'master'.

this should also be a QExplicitlySharedDataPointer and add test debug

M  +2    -2    core/libs/database/item/containers/itemtagpair.cpp
M  +2    -1    core/libs/database/tags/facetagseditor.cpp
M  +2    -2    core/utilities/facemanagement/workers/trainerworker.cpp

https://invent.kde.org/graphics/digikam/-/commit/008d0863333ff3b2a850973ad4ebf23f4e6c49c1
Comment 76 Maik Qualmann 2024-05-08 06:07:04 UTC
Git commit 16a6c642968ff07cc097ac16283a904029d11a7b by Maik Qualmann.
Committed on 08/05/2024 at 06:06.
Pushed by mqualmann into branch 'master'.

add more face engine debug

M  +2    -2    core/libs/database/tags/facetagseditor.cpp
M  +6    -0    core/utilities/facemanagement/workers/databasewriter.cpp
M  +1    -1    core/utilities/facemanagement/workers/trainerworker.cpp

https://invent.kde.org/graphics/digikam/-/commit/16a6c642968ff07cc097ac16283a904029d11a7b
Comment 77 Maik Qualmann 2024-05-09 12:01:02 UTC
A new AppImage with more debug output is available, can you please create a new log?

Maik
Comment 78 Petr Schonmann 2024-05-10 23:04:21 UTC
Created attachment 169370 [details]
debug_log_20240511_010111.txt
Comment 79 Maik Qualmann 2024-05-11 17:08:33 UTC
Git commit 52cd672878919ed58cd28dbfa1cdf9316dc25f21 by Maik Qualmann.
Committed on 11/05/2024 at 17:07.
Pushed by mqualmann into branch 'master'.

check for a valid index

M  +36   -18   core/app/items/views/digikamitemview.cpp

https://invent.kde.org/graphics/digikam/-/commit/52cd672878919ed58cd28dbfa1cdf9316dc25f21
Comment 80 Maik Qualmann 2024-05-14 07:45:25 UTC
Can you please test the current AppImage to see if anything has changed with the problem?

Maik
Comment 81 Petr Schonmann 2024-05-20 16:36:55 UTC
Ive tested digiKam-8.4.0-20240512T090210-Qt6-x86-64.appimage and seems the problem gone
Im getting this query fyi

2024-05-20 18:33:59.244565 Digikam::ItemLister::listImageTagPropertySearch: Search query:
2024-05-20 18:33:59.244585  "SELECT DISTINCT Images.id, Images.name, Images.album,        Albums.albumRoot,        ImageInformation.rating, Images.category,        ImageInformation.format, ImageInformation.creationDate,        Images.modificationDate, Images.fileSize,        ImageInformation.width,  ImageInformation.height,        ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON Albums.id=Images.album WHERE Images.status=1 AND (  ( ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) OR ( ImageTagProperties.tagid=? AND ImageTagProperties.property=?  ) )  );" 
2024-05-20 18:33:59.244608  QList(QVariant(int, 4538), QVariant(QString, "autodetectedPerson"), QVariant(int, 4538), QVariant(QString, "autodetectedFace"), QVariant(int, 4538), QVariant(QString, "ignoredFace"), QVariant(int, 4538), QVariant(QString, "tagRegion"))