<div dir="ltr">Local SQLite database on Ubuntu 16.04.1 64-bit, stored on an NTFS partition if that matters.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 25, 2017 at 2:05 AM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The Exiv2 error about XMP is not the problem here.<div><br></div><div>This message is the problem :</div><span class=""><div><br></div><div><span style="color:rgb(80,0,80);font-size:12.8px">digikam.dbengine: Database is locked. Waited 0</span><br></div><div><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div></span><div><font color="#500050"><span style="font-size:12.8px">a transaction is in progress and lock the concurrent DB access to other one. While a scanning, there is no reason for that. Even if scan run in a separated thread, it's not (yet) multi-core compliant. So one separated thread to register items in database.</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px">One item registered, one quiery in DB.</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px">The finger-prints and face detection recognition are not processed while scanning. So there is no other DB access than item registration while scanning.</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px">There is no reason to see the DB locked, especially if you use a local DB, as sqlite or mysql internal. For a remote mysql/mariadb, the network can be a problem.</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px">What do you use as DB ? Which OS do you use ?</span></font></div><span class="HOEnZb"><font color="#888888"><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px">Gilles Caulier</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-01-25 4:33 GMT+01:00 Dan Dascalescu <span dir="ltr"><<a href="mailto:ddascalescu@gmail.com" target="_blank">ddascalescu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've just reproduced the problem while adding a collection from the local hard disk. The collection has 10k+ files, but I do not think that's relevant, because digiKam froze as soon as I closed the dialog for adding the collection. Here's the log from the console:<div><br></div><div><div>➜ ~ /c/download/Linux/digikam-5.5.<wbr>0-01-x86-64.appimage </div><div>VideoDecoder::Register(..., CUDA)</div><div>Singleton 0x2022160 created...</div><div>VideoRenderer::Register(..., OpenGLWindow)</div><div>Singleton 0x2022770 created...</div><div>SubtitleProcessor::Register(..<wbr>., FFmpeg)</div><div>Singleton 0x201d840 created...</div><div>AudioDecoder::Register(..., FFmpeg)</div><div>Singleton 0x2022d80 created...</div><div>AudioEncoder::Register(..., FFmpeg)</div><div>Singleton 0x20232b0 created...</div><div>ImageConverter::Register(..., FFmpeg)</div><div>Singleton 0x20233c0 created...</div><div>MediaIO::Register(..., QIODevice)</div><div>Singleton 0x20229e0 created...</div><div>MediaIO::Register(..., QFile)</div><div>AudioOutputBackend::Register(.<wbr>.., null)</div><div>Singleton 0x2022b70 created...</div><div>VideoDecoder::Register(..., FFmpeg)</div><div>VideoEncoder::Register(..., FFmpeg)</div><div>Singleton 0x2023e20 created...</div><div>registerRenderers...........</div><div>VideoRenderer::Register(..., OpenGLWidget)</div><div>VideoRenderer::Register(..., QGLWidget2)</div><div>VideoRenderer::Register(..., Widget)</div><div>VideoRenderer::Register(..., GraphicsItem)</div><div>digikam.widgets: Breeze icons ressource file found</div><div>digikam.general: AlbumWatch use QFileSystemWatcher</div><div>digikam.general: Database Parameters:</div><div> Type: "QSQLITE"</div><div> DB Core Name: "/c/picsvids/digikam4.db"</div><div> DB Thumbs Name: "/c/picsvids/thumbnails-digika<wbr>m.db"</div><div> DB Face Name: "/c/picsvids/recognition.db"</div><div> Connect Options: ""</div><div> Host Name: ""</div><div> Host port: -1</div><div> Internal Server: false</div><div> Internal Server Path: ""</div><div> Internal Server Serv Cmd: ""</div><div> Internal Server Init Cmd: ""</div><div> Username: ""</div><div> Password: ""</div><div><br></div><div>digikam.dbengine: Loading SQL code from config file "/tmp/.mount_kzvjVa/usr/share/<wbr>digikam/database/dbconfig.xml"</div><div>digikam.dbengine: Checking XML version ID => expected: 3 found: 3</div><div>digikam.coredb: Core database: running schema update</div><div>digikam.coredb: Core database: have a structure version 8</div><div>digikam.coredb: Core database: makeUpdates 8 to 8</div><div>digikam.database: Creating new Location "/picsvids" uuid "volumeid:?uuid=c6ac55edac55d<wbr>90f"</div><div>digikam.database: Creating new Location "/picsvids" uuid "volumeid:?uuid=289352fd5a743<wbr>680"</div><div>digikam.database: location for "/c/picsvids" is available true</div><div>digikam.database: location for "" is available false</div><div>KMemoryInfo: Platform identified : "LINUX"</div><div>KMemoryInfo: TotalRam: 16729649152</div><div>digikam.general: Allowing a cache size of 200 MB</div><div>digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret = 0</div><div>digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret = 0</div><div>digikam.thumbsdb: Thumbs database: have a structure version "3"</div><div>digikam.general: Thumbnails database ready for use</div><div>digikam.dimg: ("/usr/share/color/icc", "/home/dandv/.local/share/icc"<wbr>)</div><div>digikam.dimg: No X.org XICC profile installed for screen 0</div><div>digikam.general: Camera XML data: "/home/dandv/.local/share/dig<wbr>ikam/cameras.xml"</div><div>digikam.facedb: FaceDB SelectFaceSetting val ret = 0</div><div>digikam.facedb: FaceDB SelectFaceSetting val ret = 0</div><div>digikam.facedb: Face database: have a structure version "2"</div><div>digikam.facesengine: Face database ready for use</div><div>digikam.general: Face PipeLine: add database writer</div><div>digikam.general: Face PipeLine: add faces trainer</div><div>digikam.facesengine: Face database ready for use</div><div>digikam.general: Face PipeLine: add database writer</div><div>digikam.general: Face PipeLine: add faces trainer</div><div>digikam.geoiface: "setting backend marble"</div><div>digikam.general: AudioOutput backends: ("null")</div><div>digikam.general: Stacked View Mode : 0</div><div>digikam.geoiface: "setting backend marble"</div><div>digikam.general: "browse_album"</div><div>digikam.general: "browse_tag"</div><div>digikam.general: "browse_labels"</div><div>digikam.general: "browse_date"</div><div>digikam.general: "browse_timeline"</div><div>digikam.general: "browse_search"</div><div>digikam.general: "browse_fuzzysearch"</div><div>digikam.general: "browse_gpssearch"</div><div>digikam.general: "browse_people"</div><div>digikam.widgets: Paths to color scheme : ("/tmp/.mount_kzvjVa/usr/shar<wbr>e/digikam/colorschemes")</div><div>digikam.widgets: "" :: ""</div><div>digikam.widgets: "" :: ""</div><div>QFSFileEngine::open: No file name specified</div><div>digikam.dimg: Root lens database dir: "/tmp/.mount_kzvjVa/usr/share<wbr>/lensfun"</div><div>digikam.dimg: Load lens database file: "6x6.xml"</div><div>digikam.dimg: Load lens database file: "actioncams.xml"</div><div>digikam.dimg: Load lens database file: "compact-canon.xml"</div><div>digikam.dimg: Load lens database file: "compact-casio.xml"</div><div>digikam.dimg: Load lens database file: "compact-fujifilm.xml"</div><div>digikam.dimg: Load lens database file: "compact-kodak.xml"</div><div>digikam.dimg: Load lens database file: "compact-konica-minolta.xml"</div><div>digikam.dimg: Load lens database file: "compact-leica.xml"</div><div>digikam.dimg: Load lens database file: "compact-nikon.xml"</div><div>digikam.dimg: Load lens database file: "compact-olympus.xml"</div><div>digikam.dimg: Load lens database file: "compact-panasonic.xml"</div><div>digikam.dimg: Load lens database file: "compact-pentax.xml"</div><div>digikam.dimg: Load lens database file: "compact-ricoh.xml"</div><div>digikam.dimg: Load lens database file: "compact-samsung.xml"</div><div>digikam.dimg: Load lens database file: "compact-sigma.xml"</div><div>digikam.dimg: Load lens database file: "compact-sony.xml"</div><div>digikam.dimg: Load lens database file: "contax.xml"</div><div>digikam.dimg: Load lens database file: "generic.xml"</div><div>digikam.dimg: Load lens database file: "mil-canon.xml"</div><div>digikam.dimg: Load lens database file: "mil-fujifilm.xml"</div><div>digikam.dimg: Load lens database file: "mil-nikon.xml"</div><div>digikam.dimg: Load lens database file: "mil-olympus.xml"</div><div>digikam.dimg: Load lens database file: "mil-panasonic.xml"</div><div>digikam.dimg: Load lens database file: "mil-pentax.xml"</div><div>digikam.dimg: Load lens database file: "mil-samsung.xml"</div><div>digikam.dimg: Load lens database file: "mil-samyang.xml"</div><div>digikam.dimg: Load lens database file: "mil-sigma.xml"</div><div>digikam.dimg: Load lens database file: "mil-sony.xml"</div><div>digikam.dimg: Load lens database file: "mil-tamron.xml"</div><div>digikam.dimg: Load lens database file: "mil-zeiss.xml"</div><div>digikam.dimg: Load lens database file: "misc.xml"</div><div>digikam.dimg: Load lens database file: "rf-leica.xml"</div><div>digikam.dimg: Load lens database file: "slr-canon.xml"</div><div>digikam.dimg: Load lens database file: "slr-hasselblad.xml"</div><div>digikam.dimg: Load lens database file: "slr-konica-minolta.xml"</div><div>digikam.dimg: Load lens database file: "slr-leica.xml"</div><div>digikam.dimg: Load lens database file: "slr-nikon.xml"</div><div>digikam.dimg: Load lens database file: "slr-olympus.xml"</div><div>digikam.dimg: Load lens database file: "slr-panasonic.xml"</div><div>digikam.dimg: Load lens database file: "slr-pentax.xml"</div><div>digikam.dimg: Load lens database file: "slr-ricoh.xml"</div><div>digikam.dimg: Load lens database file: "slr-samsung.xml"</div><div>digikam.dimg: Load lens database file: "slr-samyang.xml"</div><div>digikam.dimg: Load lens database file: "slr-schneider.xml"</div><div>digikam.dimg: Load lens database file: "slr-sigma.xml"</div><div>digikam.dimg: Load lens database file: "slr-soligor.xml"</div><div>digikam.dimg: Load lens database file: "slr-sony.xml"</div><div>digikam.dimg: Load lens database file: "slr-tamron.xml"</div><div>digikam.dimg: Load lens database file: "slr-tokina.xml"</div><div>digikam.dimg: Load lens database file: "slr-ussr.xml"</div><div>digikam.dimg: Load lens database file: "slr-vivitar.xml"</div><div>digikam.dimg: Load lens database file: "slr-zeiss.xml"</div><div>digikam.dimg: variant: QVariant(Digikam::LensFunIfac<wbr>e::DevicePtr, )</div><div>digikam.dimg: dev: AEE :: AEE DV :: 6</div><div>digikam.dimg: Search for camera "" - "" ==> false</div><div>digikam.dimg: Search for lens "" ==> false</div><div>digikam.dimg: updating data</div><div>digikam.dimg: updating data</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: new search text settings: "" : hasResult = false , validRows = 0</div><div>QFSFileEngine::open: No file name specified</div><div>digikam.geoiface: ----</div><div>digikam.general: Added root album called: "picsvids"</div><div>digikam.general: Added root album called: "HDD picsvids"</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.geoiface: ----</div><div>digikam.geoiface: ----</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.geoiface: ----</div><div>digikam.general: Cancel Main Thread</div><div>digikam.geoiface: ----</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.geoiface: ----</div><div>digikam.general: Cancel Main Thread</div><div>digikam.geoiface: ----</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: changing to SAlbum 0x3b67e30</div><div>digikam.database: " ( (Images.id NOT IN (SELECT imageid FROM ImageTags)) ) "</div><div>digikam.database: Search query:</div><div> "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, ImagePositions.latitudeNumber<wbr>, ImagePositions.longitudeNumber FROM Images LEFT JOIN ImageInformation ON Images.id=ImageInformation.ima<wbr>geid LEFT JOIN ImageMetadata ON Images.id=ImageMetadata.imagei<wbr>d LEFT JOIN VideoMetadata ON Images.id=VideoMetadata.imagei<wbr>d LEFT JOIN ImagePositions ON Images.id=ImagePositions.image<wbr>id INNER JOIN Albums ON Albums.id=Images.album WHERE Images.status=1 AND ( ( (Images.id NOT IN (SELECT imageid FROM ImageTags)) ) );" </div><div> ()</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.geoiface: "setting backend marble"</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.geoiface: ----</div><div>digikam.general: Cancel Main Thread</div><div>digikam.geoiface: ----</div><div>digikam.database: Search result: 576548</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.geoiface: ----</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.geoiface: ----</div><div>Recreating ksycoca file ("/home/dandv/.cache/ksycoca5_<wbr>en_dDLWeWuQRKktFB_jz4jIAAZxO6U<wbr>=", version 303)</div><div>Saving</div><div>kipi.plugins: Plugin_Dropbox Plugin Loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_dropb<wbr>oxui.rc"</div><div>kipi.library: Loaded plugin "Dropbox"</div><div>kipi.plugins: Plugin_Imageshack plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_image<wbr>shackui.rc"</div><div>kipi.library: Loaded plugin "Imageshack"</div><div>kipi.plugins: Plugin_GoogleServices Plugin Loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_googl<wbr>eservicesui.rc"</div><div>kipi.library: Loaded plugin "Google Services"</div><div>kipi.plugins: Plugin_Rajce plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_rajce<wbr>ui.rc"</div><div>kipi.library: Loaded plugin "Rajce"</div><div>kipi.plugins: Plugin_Smug plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_smugu<wbr>i.rc"</div><div>kipi.library: Loaded plugin "Smug"</div><div>kipi.plugins: Plugin_SendImages plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_kmlex<wbr>portui.rc"</div><div>kipi.library: Loaded plugin "KMLExport"</div><div>kipi.plugins: Plugin_Flickr plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_flick<wbr>rui.rc"</div><div>kipi.library: Loaded plugin "Flickr"</div><div>kipi.plugins: Plugin_YandexFotki plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_yande<wbr>xfotkiui.rc"</div><div>kipi.library: Loaded plugin "YandexFotki"</div><div>kipi.plugins: Plugin_Facebook plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_faceb<wbr>ookui.rc"</div><div>kipi.library: Loaded plugin "Facebook"</div><div>kipi.plugins: Plugin_Piwigo plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_piwig<wbr>oui.rc"</div><div>kipi.library: Loaded plugin "Piwigo"</div><div>kipi.plugins: Plugin_MediaWiki plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_wikim<wbr>ediaui.rc"</div><div>kipi.library: Loaded plugin "MediaWiki export"</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_flash<wbr>exportui.rc"</div><div>kipi.library: Loaded plugin "FlashExport"</div><div>kipi.plugins: Imgur plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_imgur<wbr>ui.rc"</div><div>kipi.library: Loaded plugin "Imgur"</div><div>kipi.plugins: Plugin_SendImages plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_sendi<wbr>magesui.rc"</div><div>kipi.library: Loaded plugin "SendImages"</div><div>kipi.plugins: Plugin_PrintImages plugin loaded</div><div>kipi.library: UI file : "/tmp/.mount_kzvjVa/usr/share/<wbr>kxmlgui5/kipi/kipiplugin_print<wbr>imagesui.rc"</div><div>kipi.library: Loaded plugin "PrintImages"</div><div>kipi.plugins: Reading data from kipirc file..</div><div>digikam.geoiface: ----</div><div>digikam.general: Cancel Main Thread</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>QFSFileEngine::open: No file name specified</div><div>digikam.geoiface: "setting backend marble"</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.facesengine: Face database ready for use</div><div>digikam.general: Face PipeLine: add database writer</div><div>digikam.general: Face PipeLine: add faces trainer</div><div>digikam.facesengine: Face database ready for use</div><div>digikam.general: Face PipeLine: add database writer</div><div>digikam.general: Face PipeLine: add faces trainer</div><div>QFSFileEngine::open: No file name specified</div><div>digikam.geoiface: "setting backend marble"</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.geoiface: "setting backend marble"</div><div>digikam.geoiface: "ROADMAP"</div><div>digikam.general: scan mode: ScanDeferredFiles</div><div>digikam.general: total scan value : 8502</div><div>digikam.dimg: "/c/picsvids/Krystle/India/201<wbr>7-01-23 fingering.jpg" : JPEG file identified</div><div>digikam.database: Adding new item "/c/picsvids/Krystle/India/201<wbr>7-01-23 fingering.jpg"</div><div>digikam.database: Scanning took 5 ms</div><div>digikam.database: Finishing took 2 ms</div><div>digikam.dimg: "/c/picsvids/Krystle/India/201<wbr>7-01-23 rural 2.jpg" : JPEG file identified</div><div>digikam.database: Adding new item "/c/picsvids/Krystle/India/201<wbr>7-01-23 rural 2.jpg"</div><div>digikam.metaengine: Orientation => Exif.Image.Orientation => 1</div><div>digikam.database: Scanning took 3 ms</div><div>digikam.database: Finishing took 1 ms</div><div>digikam.dimg: "/c/picsvids/Krystle/India/201<wbr>7-01-23 rural.jpg" : JPEG file identified</div><div>digikam.database: Adding new item "/c/picsvids/Krystle/India/201<wbr>7-01-23 rural.jpg"</div><div>digikam.metaengine: Orientation => Exif.Image.Orientation => 1</div><div>digikam.database: Scanning took 3 ms</div><div>digikam.database: Finishing took 0 ms</div><div>digikam.database: items to tag ()</div><div>digikam.database: Complete scan took: 984 msecs.</div><div>digikam.general: Event is dispatched to desktop notifier through DBUS</div><div>digikam.dimg: "/c/picsvids/Krystle/India/201<wbr>7-01-23 fingering.jpg" : JPEG file identified</div><div>digikam.dimg: "/c/picsvids/Krystle/India/201<wbr>7-01-23 rural.jpg" : JPEG file identified</div><div>digikam.metaengine: Orientation => Exif.Image.Orientation => 1</div><div>digikam.dimg: "/c/picsvids/Krystle/India/201<wbr>7-01-23 rural 2.jpg" : JPEG file identified</div><div>digikam.metaengine: Orientation => Exif.Image.Orientation => 1</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: One job is done</div><div>digikam.general: Testing "mysql_install_db" ...</div><div>digikam.general: Testing "mysqld" ...</div><div>digikam.general: Testing "mysql_install_db" ...</div><div>digikam.general: Testing "mysqld" ...</div><div>digikam.general: Testing "././/bin/mysql_install_db" ...</div><div>digikam.general: All Binaries Found : false</div><div>digikam.general: Testing "././/bin/mysqld" ...</div><div>digikam.general: All Binaries Found : false</div><div>digikam.general: Testing "././/sbin/mysql_install_db" ...</div><div>digikam.general: All Binaries Found : false</div><div>digikam.general: Testing "././/sbin/mysqld" ...</div><div>digikam.general: All Binaries Found : false</div><div>digikam.metaengine: Cannot get Exif Tags list using Exiv2 (Error # 23 : Invalid ifdId 8</div><div>digikam.dimg: "/tmp/.mount_kzvjVa/usr/share/<wbr>digikam/data/sample-aix.png" : PNG file identified</div><div>digikam.metaengine: Loading image history ""</div><div>digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal => QDateTime(2010-07-27 06:40:05.000 PDT Qt::TimeSpec(LocalTime))</div><div>libpng warning: iCCP: known incorrect sRGB profile</div><div>digikam.general: new search text settings: "" : hasResult = true , validRows = 165</div><div>digikam.general: No DB settings changes. Do nothing...</div><div>digikam.database: addLocation QUrl("file:///c/download/x")</div><div>digikam.database: Creating new Location "/download/x" uuid "volumeid:?uuid=c6ac55edac55d<wbr>90f"</div><div>digikam.database: location for "/c/picsvids" is available true</div><div>digikam.database: location for "" is available false</div><div>digikam.database: location for "/c/download/x" is available true</div><div>digikam.general: Added root album called: "x"</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Cancel Main Thread</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Using 4 CPU core to run threads</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: Action Thread run 1 new jobs</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!</div><div>digikam.general: scan mode: CompleteCollectionScan</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><div>digikam.general: One job is done</div><span><div>digikam.dbengine: Database is locked. Waited 0</div></span><div>digikam.dimg: "/c/download/new/0cb7f4f712178<wbr>598d73465fe5fb99d0a.jpg" : JPEG file identified</div><div>digikam.database: Adding new item "/c/download/new/0cb7f4f712178<wbr>598d73465fe5fb99d0a.jpg"</div><div>digikam.database: Scanning took 2 ms</div><div>digikam.database: Finishing took 2 ms</div><div>digikam.dimg: "/c/download/new/20150103_1730<wbr>08.jpg" : JPEG file identified</div><div>digikam.database: Adding new item "/c/download/new/20150103_1730<wbr>08.jpg"</div><div>digikam.database: Recognized "/c/download/new/20150103_1730<wbr>08.jpg" as identical to item 9200</div><div>digikam.database: Scanning took 3 ms</div><div>digikam.database: Finishing took 2 ms</div><div>digikam.dimg: "/c/download/new/20150103_1730<wbr>27.jpg" : JPEG file identified</div><div>digikam.database: Adding new item "/c/download/new/20150103_1730<wbr>27.jpg"</div><div>digikam.database: Recognized "/c/download/new/20150103_1730<wbr>27.jpg" as identical to item 9201</div><div>digikam.database: Scanning took 3 ms</div><div>digikam.database: Finishing took 1 ms</div></div><div>...</div><div><br></div><div>The log keeps going on and on with the same type of messages. I searched for "error" and most of the errors I see seem related to invalid metadata in some images:</div><div><br></div><div><div>digikam.metaengine: Exiv2 ( 3 ) : XMP Toolkit error 203: Duplicate property or field node</div><div>digikam.metaengine: Exiv2 ( 2 ) : Failed to decode XMP metadata.<br></div><div><div>digikam.metaengine: Cannot load metadata from file (Error # 53 : Not a valid ICC Profile</div></div><div><div>digikam.metaengine: Exiv2 ( 2 ) : Updating namespace URI for prefix0 from MSImagingV1/ to <a href="http://xmp.gettyimages.com/gift/1.0/" target="_blank">http://xmp.gettyimages.com/gif<wbr>t/1.0/</a></div><div>digikam.metaengine: Exiv2 ( 3 ) : XMP Toolkit error 101: Schema namespace URI and prefix mismatch<br></div><div>digikam.metaengine: Exiv2 ( 2 ) : Failed to decode XMP metadata.<br></div><div><div>digikam.metaengine: Exiv2 ( 3 ) : XMP Toolkit error 201: XML parsing failure</div></div><div><br></div><div><br></div><div>But also at some point:</div><div><br></div><div><div>digikam.database: Scanning took 3 ms</div><div>digikam.database: Finishing took 1 ms</div><div>digikam.dbengine: Database is locked. Waited 10000</div><div>digikam.dbengine: Detected locked database file. There is an active transaction. Waited but giving up now.</div><div>digikam.dbengine: Failure executing query:</div><div> "SELECT value FROM ImageProperties WHERE imageid=? and property=?;" </div><div>Error messages: "Unable to fetch row" "database table is locked: ImageProperties" 6 1 </div><div>Bound values: (QVariant(qlonglong, 36539), QVariant(QString, "city"))</div><span><div>digikam.dbengine: Database is locked. Waited 0</div></span></div><div><div><br></div></div><div><br></div><div>and some other time:</div><div><br></div><div><div>digikam.dbengine: Detected locked database file. There is an active transaction. Waited but giving up now.</div><div>digikam.dbengine: Failure executing query:</div><div> "SELECT value FROM ImageProperties WHERE imageid=? and property=?;" </div><div>Error messages: "Unable to fetch row" "database table is locked: ImageProperties" 6 1 </div><div>Bound values: (QVariant(qlonglong, 36539), QVariant(QString, "countryCode"))</div><span><div>digikam.dbengine: Database is locked. Waited 0</div></span><div>digikam.database: Scanning took 4 ms</div><div>digikam.database: Finishing took 0 ms</div></div><div><br></div><div><br></div></div><div><br></div></div><div><br></div><div>Does digiKam search for duplicates while adding each file maybe? ("Recognized as identical to item...")</div><div><br></div></div><div class="m_-4544341318376151501HOEnZb"><div class="m_-4544341318376151501h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 24, 2017 at 12:53 PM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I know that a problem still exist, in some conditions in database interface which not commit data by transaction stage, but only and end of database session. This bloat the memory and if swap is required, this have very bad effect on GUI.<div><br></div><div>I NEVER reproduce the problem here. I sniffed the memory to catch the problem. This never happen.</div><div><br></div><div>The problem also exist with face detection and recognition, or while finger prints computation for similarity tool. I cannot reproduce, and i don't understand why it appears with some system and not mine. This is true for sqlite and mysql.</div><span class="m_-4544341318376151501m_-5365291214726269364HOEnZb"><font color="#888888"><div><br></div><div>Gilles Caulier</div></font></span></div><div class="m_-4544341318376151501m_-5365291214726269364HOEnZb"><div class="m_-4544341318376151501m_-5365291214726269364h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-01-24 21:22 GMT+01:00 Dan Dascalescu <span dir="ltr"><<a href="mailto:ddascalescu@gmail.com" target="_blank">ddascalescu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Mon, Jan 23, 2017 at 2:01 AM, Simon Frei <span dir="ltr"><<a href="mailto:freisim93@gmail.com" target="_blank">freisim93@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
What makes you think that? This is also an issue when importing a
folder that only contains image files.<br></div></blockquote><div><br></div></span><div>I also saw the freeze when scanning a folder with 98%+ images and maybe 1% videos.</div><div><br></div><div>I don't have as powerful a machine as Gilles though. My laptop is a Core i5 with 16GB RAM, and maybe 6GB free.</div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>