Summary: | Want to disable face detection extra download on Mac version | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Geoff King <gsking1> |
Component: | Faces-Workflow | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 7.2.0 | ||
Target Milestone: | --- | ||
Platform: | MacPorts | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/84c153bfd1e0089aeb03dabd502345eef6a5c288 | Version Fixed In: | 7.2.0 |
Sentry Crash Report: |
Description
Geoff King
2020-12-19 17:14:44 UTC
Disabling it is not an option. Tools like red eye correction also need files from it. The problem is forwarding to insecure servers in your country from http-> https-> http Maik Git commit c0b3f83725a03ec0ee5d895f604b8dba1813adcb by Maik Qualmann. Committed on 19/12/2020 at 17:47. Pushed by mqualmann into branch 'master'. force the use of insecure connections M +3 -1 core/utilities/setup/downloader/filesdownloader.cpp https://invent.kde.org/graphics/digikam/commit/c0b3f83725a03ec0ee5d895f604b8dba1813adcb Was it now possible to download all the necessary files? Keep in mind that most of the files were in the installer and do not need to be downloaded and installed every time you update to a new version of digiKam. Maik Yes. no issues second time. Thanks, Geoff Thanks for the feedback, I close the bug. Maik I just tried again to be sure and am now having the problem again. To test I deleted the 6 files in the facesengine directory. Started digikam. It downloaded 2 files fine, but got stuck on this third one. I tried restarting digikam a few times, but keep getting this message now. An error occurred during the download. File: deploy.prototxt Insecure redirect The download will continue at the next start. Git commit 84c153bfd1e0089aeb03dabd502345eef6a5c288 by Maik Qualmann. Committed on 22/12/2020 at 22:11. Pushed by mqualmann into branch 'master'. forward network redirects manually FIXED-IN: 7.2.0 M +35 -18 core/utilities/setup/downloader/filesdownloader.cpp M +1 -0 core/utilities/setup/downloader/filesdownloader.h https://invent.kde.org/graphics/digikam/commit/84c153bfd1e0089aeb03dabd502345eef6a5c288 Maik, I finalize the MacOS relocatable PKG installer, and during my test, i see some point to improve about downloaded model for face management: 1/ At first start of digiKam, the download assistant is displayed. I valid to continue the process and only one file is downloaded. Process stop at next one about a security error. I need to close digiKam and start again, to process next file. This must be done like this until last file processed... 2/ Under MacOS bundle, Showfoto is also available. At first start of the application, the same assistant is show. The data must be shared between both application to reduce spaced used (after all, it's 300Mb used as data model). VoilĂ , have a nice Christmas with your family. Gilles 1) Which error is displayed under MacOS? We are now making a manual redirection, whether HTTPS is now being redirect to HTTP actually doesn't matter. 2) We only download one file for Showfoto that is used for the red eye tool. The problem is that with QStandardPaths::AppDataLocation the application name is included in the search path. The file would not be found in the digiKam path. Users may also be able to use Showfoto only. Maybe we could set a symbolic link if the digiKam directory exists. Maik Git commit 009adfc57cc0886ae3defb822c76193bd9e08ed7 by Maik Qualmann. Committed on 25/12/2020 at 17:48. Pushed by mqualmann into branch 'master'. ignore QNetworkReply::InsecureRedirectError M +2 -1 core/utilities/setup/downloader/filesdownloader.cpp https://invent.kde.org/graphics/digikam/commit/009adfc57cc0886ae3defb822c76193bd9e08ed7 Gilles, does the problem with the insecure redirection error still exist? Maik I check it imediatly Maik, yes it's fixed. great... Gilles Fine. We download only one file twice for Showfoto. We have to use QStandardPaths::AppDataLocation because it also includes the Roaming directory on Windows. A genereric variable from QStandardPaths doesn't help us here. Maik Another question, how can digiKam be moved in MacOS? You have to keep in mind that QStandardPaths only covers certain directories in order to find program data in the bundle. Maik Maik, bundle can be moved everywhere, i tested this. Under MacOS data are search in the bundle in priority. Qt support this rules by default, even if i know that Macports team patch source code a lots. About KF5 and digiKam codes, i patch libraries in the same way with this script: https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/macports/fixbundledatapath.sh Et voilĂ . Now it's fully relocatable. I don't know why KF5 API do not respect this important feature... (certainly because KF5 team considerate MacOS as a niche). Gilles |