← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1471383] Re: Cannot deploy Ubuntu SDK HTML5 template application onto a phone

 

This bug was fixed in the package qtcreator-plugin-ubuntu -
3.1.1+15.10.20150720-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.1.1+15.10.20150720-0ubuntu1) wily; urgency=medium

  [ Alexandre Abreu ]
  * Fix html5 application launch for 15.04 & policy 1.3 (LP: #1471383)

  [ Benjamin Zeller ]
  * Add settings page for project configuration default values
  * Remove QtScript dependency from the manifest.json parser Fix Bug
    lp:1461026 "Kits creation for a project should match targeted
    framework" Fix Bug lp:1461014 "Match application name to click
    package name" Fix Bug lp:1461019 "Default in project creation dialog
    should be a qmake project" Fix Bug lp:1340061: "Some dialogs have
    unreadable (too small) text" (LP: #1461026, #1461019, #1340061,
    #1461014)

 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>  Mon, 20 Jul 2015 12:53:17
+0000

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1471383

Title:
  Cannot deploy Ubuntu SDK HTML5 template application onto a phone

Status in webapps-sprint:
  In Progress
Status in qtcreator-plugin-ubuntu package in Ubuntu:
  Fix Released

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(1435993792.170:96): apparmor="DENIED" operation="open" profile="html5.liu-xiao-guo_html5_0.1" name="/etc/default/apport" pid=17180 comm="qtc_device_debu" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
  Traceback (most recent call last):
    File "./qtc_device_debughelper.py", line 155, in <module>
      os.execv(effective_cmd,args)
  PermissionError: [Errno 13] Permission denied
  Error in sys.excepthook:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
      from apport.fileutils import likely_packaged, get_recent_crashes
    File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
      from apport.report import Report
    File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
      import apport.fileutils
    File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
      from apport.packaging_impl import impl as packaging
    File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in <module>
  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(1435993792.951:97): apparmor="DENIED" operation="open" profile="html5.liu-xiao-guo_html5_0.1" name="/etc/apt/apt.conf.d/00recommends" pid=17180 comm="qtc_device_debu" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
      import apt
    File "/usr/lib/python3/dist-packages/apt/__init__.py", line 34, in <module>
      apt_pkg.init_config()
  SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00recommends - ifstream::ifstream (13: Permission denied)

  Original exception was:
  Traceback (most recent call last):
    File "./qtc_device_debughelper.py", line 155, in <module>
      os.execv(effective_cmd,args)
  PermissionError: [Errno 13] Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1471383/+subscriptions


References