Can't run Cordova project on desktop or device

Bug #1198097 reported by Cris Dywan
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Undecided
Alexandre Abreu
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I created a Cordova project, had seen the option for the first time.

Build > Run
Starting /usr/bin/cordovaqt-2.3 .
Failed to start program. Path or permissions wrong?
/usr/bin/cordovaqt-2.3 exited with code -1

Build > Run CordovaQt app on Ubuntu Phone
[11:11:23] tar -cjf ../eg.tar.bz2 ../eg
[11:11:23] Started tar
[11:11:23] tar: Entferne führende „../“ von Elementnamen
tar: ../eg: Kann stat nicht ausführen: Datei oder Verzeichnis nicht gefunden
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

Note: the containing folder is called "eg.html5cordova"

Related branches

Cris Dywan (kalikiana)
description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Cordova isn't there yet, even the plugin is. Until that it's indeed unoptimal behavior.

affects: qtcreator-ubuntu → qtcreator-plugin-ubuntu
Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

I will close this bug, but feel free to reopen if it is still valid.

Changed in qtcreator-plugin-ubuntu:
status: New → Invalid
Revision history for this message
Cris Dywan (kalikiana) wrote :

Why invalid? Is it fixed or not?

Changed in qtcreator-plugin-ubuntu:
status: Invalid → New
Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :
Changed in qtcreator-plugin-ubuntu:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

I cannot run the default cordova app on the device. I reported details here: https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1232061

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

As of ubuntu-system build 70 (grouber/N7), I still cannot run the default HTMl5/Cordova app produced from the SDK on the device after it is successfully detected with Devices. Here's the reported log starting with the final line that seems non problematic:

[11:32:58] Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
[11:32:58] bash: cannot set terminal process group (-1): Invalid argument
[11:32:58] bash: no job control in this shell
[11:32:58] Fatal: QXcbConnection: Could not connect to display

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Still can't run cordova app from sdk on device as of build 78 (grouper).

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Still can't run cordova app from sdk on device as of build 83 (grouper)

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Still can't run cordova app on device with built 90 (grouper)

[16:00:27] bash: no job control in this shell

[16:00:30] bash finished with code 0
[16:00:30] Started scp
[16:00:30] Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.

[16:00:30] scp finished with code 0
[16:00:30] Started ssh
[16:00:30] Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.

[16:00:31] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[16:00:31] Fatal: QXcbConnection: Could not connect to displa

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:qtcreator-plugin-ubuntu at revision 51, scheduled for release in qtcreator-plugin-ubuntu, milestone Unknown

Changed in qtcreator-plugin-ubuntu:
status: New → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Fixed in 2.8.1-0ubuntu1, but the bzr change was not mentioned in the changelgo.

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → Fix Released
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

With 14.04 (r10), I'm still running into this trying to run on the phone. Trying to run the default project, I get:

[18:02:06] bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell

[18:02:06] Fatal: QXcbConnection: Could not connect to display

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.