[digikam] [Bug 449815] New: "Download required files" continually tries non-working mirrors, causing "Socket operation timed out"

James Tuttle bugzilla_noreply at kde.org
Wed Feb 9 02:36:46 GMT 2022


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

            Bug ID: 449815
           Summary: "Download required files" continually tries
                    non-working mirrors, causing "Socket operation timed
                    out"
           Product: digikam
           Version: 7.5.0
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Faces-Detection
          Assignee: digikam-bugs-null at kde.org
          Reporter: jwtuttle at gmail.com
  Target Milestone: ---

Created attachment 146472
  --> https://bugs.kde.org/attachment.cgi?id=146472&action=edit
Screengrab of the error messages displayed to user

SUMMARY

On first launch of a fresh installation of Digikam 7.5.0 (on Mac OS 10.13.6),
the user is presented with the "Download required files" dialog, in order to
retrieve binaries for face engine and red-eye removal. For unclear reasons,
Digikam retries the same bad mirror over and over, resulting in a repeated
"Socket operation timed out" error message.

In my case, the bad mirror is https://mirror.0xem.ma which is apparently
located in Morocco. I am located on the US East Coast. It is not clear why this
mirror would ever be chosen over CONUS ones, but at any rate, it doesn't seem
to be working.

By clicking "Try again" repeatedly (10+ times), I was eventually able to
download one of the required binary components. But when the next component
began downloading, it again went back to the bad mirror. After another 10+
retries, I am not able to get another successful download.


STEPS TO REPRODUCE
1. Install Digikam 7.5.0 using MacOS 64bit DMG
2. Launch Digikam and wait for "Download required files" dialog to be displayed
3. Click on "Download"
4. Wait for "Socket operation timed out" error message
5. Click "Try again"
6. GOTO step 4

OBSERVED RESULT

Digikam continually retries the same non-working mirror over and over.

EXPECTED RESULT

Minimum Viable Behavior: If a download fails and requires the user to press the
"Try again" button, the same mirror that was just attempted and failed,
shouldn't be tried again. Or allow user to manually select from a list of
possible mirrors via a dropdown, so they can override the (broken)
default/automatic behavior.

More Desirable Behavior: Digikam should intelligently select the mirror to
download binaries from, in a manner similar to how a mirror is recommended when
the installer is obtained from download.kde.org (which suggests that I use
https://mirrors.mit.edu/kde/, a completely reasonable suggestion, since that
mirror is both working and not located on the other side of a large ocean).

Optimal Behavior: Remove requirement to download binaries on first run by
packaging them into the Digikam installer. Fix upgrade process if necessary to
prevent re-downloading of unchanged components during later upgrades.
(Optimizing for easy upgrades later on isn't useful, if users can't get the
initial installation done in the first place.)

SOFTWARE/OS VERSIONS
macOS: 10.13.6 (High Sierra)

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list