Bug 435639 - Connection timed out error when downloading shapepredictor.dat (Downloading required files) after upgrade from 7.1.0 to 7.2.0
Summary: Connection timed out error when downloading shapepredictor.dat (Downloading r...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-FirstRun (show other bugs)
Version: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-12 05:28 UTC by Andrew Snyder
Modified: 2021-04-12 16:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments
screenshot of second error (68.50 KB, image/jpeg)
2021-04-12 05:28 UTC, Andrew Snyder
Details
attachment-29686-0.html (2.45 KB, text/html)
2021-04-12 06:00 UTC, Andrew Snyder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Snyder 2021-04-12 05:28:25 UTC
Created attachment 137519 [details]
screenshot of second error

SUMMARY


STEPS TO REPRODUCE
1. Upgrade from 7.1.0 to 7.2.0
2. Run digiKam, Download required files window appears and says for the face engine and red eye removal tool, digikam needs some large binary files. Some of the files were not found and are now being downloaded....Face detection will not work without these files. Files will be downloaded to C:\Users\Andrew\Roaming\digikam\facesengine. When attempting to download shapepredictor.dat a new window opens that says an error occurred during the download. File: shapepredictor.dat
Connection timed out
The download will continue at the next start
The error occurs each time the program is restarted.


OBSERVED RESULT
Download fails

EXPECTED RESULT
Download should succeed

SOFTWARE/OS VERSIONS
Windows: Windows 10 Pro 10.0.19042 Build 19042

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.78.0 
Qt Version: 5.15.2

ADDITIONAL INFORMATION
After 3-4 download attempts the shapepredictor.dat file finally downloaded, then it failed on file: deploy.prototxt with error: Connection refused. See image attached.The first error looked exactly the same as the second, attached image, with the exception of the filename being shapepredictor.dat instead of deploy.prototxt and the error being connection timed out instead of connection refused. I was not using a VPN when these errors occurred and my internet seems to be working fine.

After 3-4 download attempts the deploy.prototxt file downloaded as well. Then it errored on file: res10_300x300_ssd_iter_140000_fp16.caffemodel with error type: Connection refused. 

This may be a coincidence but the download seemed to go through when I restarted digiKam but waited a while to click the download button. I noted there were other processes running like "Find new items" and I thought maybe I should give time for the program to stop running other background processes.

The download worked right away after waiting a couple minutes after starting digiKam. It then failed on file: yolov3-wider_16000.weights with error: Connection refused.

The download worked again after waiting about 1 minute. This file, yolov3-wider_16000.weights, took longer to download. Afterwards it said all files were downloaded successfully.

I am very certain that waiting to hit the download button after starting the program prevented the errors and allowed the downloads.

Searching for tags seems to be working so I think I am all set but I am still submitting the bug in case there is an issue that needs addressed. 

Thanks for your hard work.
Comment 1 caulier.gilles 2021-04-12 05:32:26 UTC

*** This bug has been marked as a duplicate of bug 435612 ***
Comment 2 Maik Qualmann 2021-04-12 05:58:59 UTC
Which country are you from? The mirror server in Australia seems to be down at the moment.

https://files.kde.org/?mirrorstats

Maik
Comment 3 Andrew Snyder 2021-04-12 06:00:13 UTC
Created attachment 137520 [details]
attachment-29686-0.html

United States

Sorry for creating a duplicate bug report. I searched but did not locate the other reported bug.

From: Maik Qualmann<mailto:bugzilla_noreply@kde.org>
Sent: Monday, April 12, 2021 1:59 AM
To: andrewsnyder@hotmail.com<mailto:andrewsnyder@hotmail.com>
Subject: [digikam] [Bug 435639] Connection timed out error when downloading shapepredictor.dat (Downloading required files) after upgrade from 7.1.0 to 7.2.0

https://bugs.kde.org/show_bug.cgi?id=435639

--- Comment #2 from Maik Qualmann <metzpinguin@gmail.com> ---
Which country are you from? The mirror server in Australia seems to be down at
the moment.

https://files.kde.org/?mirrorstats

Maik

--
You are receiving this mail because:
You reported the bug.
Comment 4 Maik Qualmann 2021-04-12 16:52:57 UTC
Git commit b0971a9e7e4a6aa0115ae6f7e8ce4367eee15056 by Maik Qualmann.
Committed on 12/04/2021 at 16:51.
Pushed by mqualmann into branch 'master'.

add "try again" option to the download error dialog
Related: bug 435612
FIXED-IN: 7.3.0

M  +3    -1    NEWS
M  +24   -5    core/utilities/setup/downloader/filesdownloader.cpp

https://invent.kde.org/graphics/digikam/commit/b0971a9e7e4a6aa0115ae6f7e8ce4367eee15056