Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27706

[Reg 7.0->8.0] "Deploy Public Key" does not work in Generic Linux Device wizard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 8.0.0-beta1
    • Qt Creator 8.0.0-beta1
    • Remote Linux
    • None
    • 17ebce2a7d (qt-creator/qt-creator/8.0) 17ebce2a7d (qt-creator/qt-creator/master)

    Description

      • open Preferences > Devices > Devices
      • Add new Generic Linux Device
      • Press "Deploy Public Key" in wizard

      Expected: Dialog asking for password pops up, key is copied
      Actual: The progress dialog opens, but no password dialog

      This broke with

      PublicKeyDeploymentDialog: Don't use SshRemoteProcessRunner (I01b9fecb)
      https://codereview.qt-project.org/c/qt-creator/qt-creator/+/409426

      The PublicKeyDeploymentDialog starts a QtcProcess with a "device\:{.....id....}/bin/sh" command, but at that point in the wizard the device is not registered in the device manager, so the QtcProcess fails to aquire a processImpl for it.

      SOFT ASSERT: "device" in file /Users/ziller/git/qt-creator/8.0/src/qtcreator/src/plugins/projectexplorer/devicesupport/devicemanager.cpp, line 576
      SOFT ASSERT: "device" in file /Users/ziller/git/qt-creator/8.0/src/qtcreator/src/plugins/projectexplorer/devicesupport/devicemanager.cpp, line 576
      SOFT ASSERT: "device" in file /Users/ziller/git/qt-creator/8.0/src/qtcreator/src/plugins/projectexplorer/devicesupport/devicemanager.cpp, line 610
      SOFT ASSERT: "processImpl" in file /Users/ziller/git/qt-creator/8.0/src/qtcreator/src/libs/utils/qtcprocess.cpp, line 1067
      

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes