Cannot deploy Ubuntu SDK HTML5 template application onto a phone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webapps-sprint |
Fix Released
|
High
|
Alexandre Abreu | ||
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
High
|
Alexandre Abreu |
Bug Description
I am now trying to use Ubuntu SDK to create a template HTML 5 app without any modification. When I deploy it onto a real phone, I get the following error. Attached please find the captured picture.
Sdk-Launcher> There has been a AppArmor denial for your application.
Sdk-Launcher> Most likely it is missing a policy in the AppArmor file.
Syslog> Jul 4 15:09:52 ubuntu-phablet kernel: [20414.957971] type=1400 audit(143599379
Traceback (most recent call last):
File "./qtc_
os.
PermissionError: [Errno 13] Permission denied
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/
from apport.report import Report
File "/usr/lib/
import apport.fileutils
File "/usr/lib/
from apport.
File "/usr/lib/
Sdk-Launcher> There has been a AppArmor denial for your application.
Sdk-Launcher> Most likely it is missing a policy in the AppArmor file.
Syslog> Jul 4 15:09:52 ubuntu-phablet kernel: [20415.736973] type=1400 audit(143599379
import apt
File "/usr/lib/
apt_
SystemError: E:Opening configuration file /etc/apt/
Original exception was:
Traceback (most recent call last):
File "./qtc_
os.
PermissionError: [Errno 13] Permission denied
Related branches
- Benjamin Zeller: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 57 lines (+22/-2)4 files modifiedshare/qtcreator/templates/wizards/ubuntu/html5-simple/README (+8/-0)
share/qtcreator/templates/wizards/ubuntu/html5-simple/displayName.apparmor (+12/-0)
share/qtcreator/templates/wizards/ubuntu/html5-simple/displayName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/html5-simple/wizard.xml (+1/-1)
tags: | added: univ-train |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
Changed in webapps-sprint: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
milestone: | none → sprint-12 |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | Triaged → In Progress |
Changed in webapps-sprint: | |
status: | Triaged → In Progress |
Changed in webapps-sprint: | |
status: | In Progress → Fix Released |
verified on plugin- ubuntu 3.1.1+15. 10.20150616- 0ubuntu1~ 0vivid1 sdk-libs: amd64 1.221 sdk-libs- dev:amd64 1.221 sdk-libs- tools 1.221 sdk-qmake- extras 3.1.1+15. 10.20150616- 0ubuntu1~ 0vivid1
qtcreator 3.1.1-0ubuntu9
qtcreator-
ubuntu-sdk 1.221
ubuntu-
ubuntu-
ubuntu-
ubuntu-
target - ubuntu- phablet: ~$ system-image-cli -i touch/stable/ meizu.en ubuntu- phablet: ~$ lsb_release -a
phablet@
current build number: 2
device name: arale
channel: ubuntu-
last update: 2015-07-02 13:49:50
version version: 2
version ubuntu: 20150611.3
version device: 20150608-6e66f3c
version custom: 20150602-731-5-32
phablet@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid