Run application on Device does not work on emulator

Bug #1324555 reported by Rick Spencer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
High
Zoltan Balogh

Bug Description

[15:57:26] Started /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app_click
[15:57:29] /home/rick/com.ubuntu.developer.no launchpad user id configured..morningdew_0.1_all.click has been created.

[15:57:29] 74 KB/s (5979 bytes in 0.078s)

[15:57:29] 74 KB/s (5979 bytes in 0.078s)

[15:57:29] 49 KB/s (2020 bytes in 0.039s)

[15:57:29] 49 KB/s (2020 bytes in 0.039s)

[15:57:29] basename: extra operand ‘user’
Try 'basename --help' for more information.

[15:57:29] basename: extra operand ‘user’
Try 'basename --help' for more information.

[15:57:30] Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.

[15:57:30] Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.

[15:57:32] bash: cannot set terminal process group (-1): Invalid argument

[15:57:32] bash: cannot set terminal process group (-1): Invalid argument

[15:57:32] bash: no job control in this shell

[15:57:32] bash: no job control in this shell

[15:57:33] [Errno 21] Is a directory: '/tmp/'

[15:57:33] [Errno 21] Is a directory: '/tmp/'

[15:57:33] Executing: /tmp/
Could not call click

[15:57:33]
[15:57:33] /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app_click finished with code 1

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: qtcreator-plugin-ubuntu 3.0.1+14.10.20140522.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.15.0-3.7-generic 3.15.0-rc7
Uname: Linux 3.15.0-3-generic x86_64
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Thu May 29 15:58:58 2014
InstallationDate: Installed on 2014-05-15 (13 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140515)
SourcePackage: qtcreator-plugin-ubuntu
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
assignee: nobody → Zoltan Balogh (bzoltan)
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

The package name is " /home/rick/com.ubuntu.developer.no launchpad user id configured..morningdew_0.1_all.click" and it shows that the tool could not get the launchpad ID.

In the Publish page the Maintainer field should hold your "Real Name <and email address>" just as `bzr whoami` returns from the terminal.

The package name's 4th field (com.ubuntu.developer.[launchpad ID].[app name]) has the value what `bzr launchpad-login` returns.

The bzr login helps: `bzr launchpad-login rick-rickspencer3`

Anyhow a proped warning about the missing maintainer field will be added to the packaging.

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: Zoltan Balogh (bzoltan) → zbenjamin (zeller-benjamin)
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

My maintainer field says: Rick Spencer <email address hidden>
              bzr whoami says: Rick Spencer <email address hidden>

So comment #2 doeds not seem to have described the issue.

tags: added: avengers
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :
Download full text (3.7 KiB)

I switched the framework to ubuntu-sdk-14.10-qml-dev1 and got slightly different output. Maybe this is helpful:

QML module does not contain information about components contained in plugins

Module path: /usr/lib/x86_64-linux-gnu/qt5/qml/CordovaUbuntu.2.8
See "Using QML Modules with Plugins" in the documentation.

Automatic type dump of QML module failed.
Errors:
"/usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump" returned exit code 3.
Arguments: --path /usr/lib/x86_64-linux-gnu/qt5/qml/CordovaUbuntu.2.8
QQmlComponent: Component is not ready
"file:///usr/lib/x86_64-linux-gnu/qt5/qml/CordovaUbuntu.2.8/typelist.qml:2:1: plugin cannot be loaded for module "": Module namespace 'CordovaUbuntu' does not match import URI ''"

QML module does not contain information about components contained in plugins

Module path: /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Extras/Browser
See "Using QML Modules with Plugins" in the documentation.

Automatic type dump of QML module failed.
Errors:
"/usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump" returned exit code 3.
Arguments: --path /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Extras/Browser
QQmlComponent: Component is not ready
"file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Extras/Browser/typelist.qml:2:1: plugin cannot be loaded for module "": Module namespace 'Ubuntu.Components.Extras.Browser' does not match import URI ''"

QML module does not contain information about components contained in plugins

Module path: /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/UnityWebApps
See "Using QML Modules with Plugins" in the documentation.

Automatic type dump of QML module failed.
Errors:
"/usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump" returned exit code 3.
Arguments: --path /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/UnityWebApps
QQmlComponent: Component is not ready
"file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/UnityWebApps/typelist.qml:2:1: plugin cannot be loaded for module "": Module namespace 'Ubuntu.UnityWebApps' does not match import URI ''"

[11:39:40] Started /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app_click
[11:39:41] /home/rick/com.ubuntu.developer.no launchpad user id configured..morningdew_0.1_all.click has been created.

[11:39:41] 73 KB/s (5979 bytes in 0.079s)

[11:39:41] 73 KB/s (5979 bytes in 0.079s)

[11:39:41] 50 KB/s (2026 bytes in 0.039s)

[11:39:41] 50 KB/s (2026 bytes in 0.039s)

[11:39:41] basename: extra operand ‘user’
Try 'basename --help' for more information.

[11:39:41] basename: extra operand ‘user’
Try 'basename --help' for more information.

[11:39:41] Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.

[11:39:41] Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.

[11:39:42] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[11:39:42] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[11:39:43] [Errno 21] Is a directory: '/tmp/'

[11:39:43] [Errno 21] Is a directory: '/tmp/'

[11:39:43] Executing: /tmp/
Could not call click

[11:39:43]
[11:39:43] /usr/share/qtcreator/ubuntu/scripts/qtc_d...

Read more...

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

in the plugin of 5/27 I get the following using a new qml project:

[15:50:33] Started /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app_click
[15:50:33] /home/pat/QMLProjects/com.ubuntu.developer.pat-mcgowan.test100_0.1_all.click has been created.

[15:50:34] 140 KB/s (5979 bytes in 0.041s)

[15:50:34] 140 KB/s (5979 bytes in 0.041s)

[15:50:34] 660 KB/s (28290 bytes in 0.041s)

[15:50:34] 660 KB/s (28290 bytes in 0.041s)

[15:50:34] Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.

[15:50:34] Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.

[15:50:34] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[15:50:34] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[15:50:35] ERROR:root:Could not find any typelib for UpstartAppLaunch

[15:50:35] ERROR:root:Could not find any typelib for UpstartAppLaunch

[15:50:36] Traceback (most recent call last):
  File "/tmp/qtc_device_applaunch.py", line 21, in <module>
    from gi.repository import GLib, UpstartAppLaunch
ImportError: cannot import name 'UpstartAppLaunch'

[15:50:36] Traceback (most recent call last):
  File "/tmp/qtc_device_applaunch.py", line 21, in <module>
    from gi.repository import GLib, UpstartAppLaunch
ImportError: cannot import name 'UpstartAppLaunch'

[15:50:36]
[15:50:36] /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app_click finished with code 1

Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

We have 2 different problems here, the problem Pat reported is already fixed: https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1327066. It came up because the launcher was renamed from UpstartAppLaunch to UbuntuAppLaunch.

@Rick could you please upload your project somewhere so we can try to reproduce the problem.
Also please check the output of: 'bzr launchpad-login' which is used to create the package name and
also '/usr/share/qtcreator/ubuntu/scripts/qtc_bzr_info'.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.0.1+14.10.20140611.2-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.0.1+14.10.20140611.2-0ubuntu1) utopic; urgency=low

  [ Zoltán Balogh ]
  * Add 14.10 target support (LP: #1328436) (LP: #1328436)
  * Use unknown as developed ID when there is no LP ID available (LP:
    #1324555) (LP: #1324555)

  [ Benjamin Zeller ]
  * Use only one SSH key for all ubuntu devices Move the storage
    location of the SSH key to ~/.config/ubuntu-sdk Fixes LP:#1237923
    (LP: #1237923)

qtcreator-plugin-ubuntu (3.0.1+14.10.20140609-0ubuntu2) utopic; urgency=medium

  * test
 -- Ubuntu daily release <email address hidden> Wed, 11 Jun 2014 13:50:36 +0000

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: Confirmed → Fix Released
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
assignee: zbenjamin (zeller-benjamin) → Zoltan Balogh (bzoltan)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.