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

CreateLocalRepository doesn't work on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 2.0.0
    • 2.0.0
    • General
    • None
    • OS X
    • 99cbf6812f2d872c23286ae566365e4c65bfd662

    Description

      Run the dependencies example, which sets <CreateLocalRepository> property to true. After you click "Install" on ReadyToInstall page, the installer asks you for admin rights, while it shouldn't (like it doesn't do that on other platforms).

      It prints out:

      create Error-Exception: "No marker found, stopped after 1.00 MiB."

      The call stack:

      0 QInstaller::BinaryContent::findMagicCookie(QFile*, unsigned long long) binarycontent.cpp 103 0x100183b68
      1 QInstaller::BinaryContent::binaryLayout(QFile*, unsigned long long) binarycontent.cpp 117 0x100183d2a
      2 QInstaller::BinaryContent::readBinaryContent(QFile*, QList<QInstaller::OperationBlob>, QInstaller::ResourceCollectionManager, long long*, unsigned long long) binarycontent.cpp 190 0x100184706
      3 QInstaller::CreateLocalRepositoryOperation::performOperation() createlocalrepositoryoperation.cpp 257 0x1001370ef
      4 non-virtual thunk to QInstaller::CreateLocalRepositoryOperation::performOperation() createlocalrepositoryoperation.cpp 326 0x10013920c
      5 QInstaller::runOperation(KDUpdater::UpdateOperation*, QInstaller::PackageManagerCorePrivate::OperationType) packagemanagercore_p.cpp 124 0x10007d40d
      6 QtConcurrent::StoredFunctorCall2<bool, bool (KDUpdater::UpdateOperation*, QInstaller::PackageManagerCorePrivate::OperationType), KDUpdater::UpdateOperation*, QInstaller::PackageManagerCorePrivate::OperationType>::runFunctor() qtconcurrentstoredfunctioncall.h 460 0x10009d944
      7 QtConcurrent::RunFunctionTask<bool>::run() qtconcurrentrunbase.h 102 0x1000773f7
      8 non-virtual thunk to QtConcurrent::RunFunctionTask<bool>::run() packagemanagercore.cpp 113 0x10007756c
      9 QThreadPoolThread::run() qthreadpool.cpp 93 0x1015dd4dd
      10 QThreadPrivate::start(void*) qthread_unix.cpp 337 0x1015e5871
      11 _pthread_body _pthread_body 0x7fff9a8c0899
      12 _pthread_start _pthread_start 0x7fff9a8c072a

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            heimrich Karsten Heimrich
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes