Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-316

"Error while elevating rights" on different OS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.4.0
    • 1.4.0
    • General
    • None

    Description

      Installation to locations requiring additional privileges reproducably fails with "Error while elevating rights" on at least Mac, Linux.

      The issue is a race condition: Since change https://codereview.qt-project.org/#change,38167 the UI process doesn't wait any more infinitely for the fs process to come up, but tries to connect to the given port 3 times ... if that fails it gives up and shows above error message. The 'socket->waitForConnected(10000)' in FSEngineClientHandler::connect seems to indicate that it tries to connect for at least 30 seconds, but actually waitForConnected() returns immediately for ConnectionRefused - the error when the port isn't (yet) open.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTIFW-316
          # Subject Branch Project Status CR V

          Activity

            People

              kkohne Kai Köhne
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes