Public bug reported:

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

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Workspace 1_817.png"
   
https://bugs.launchpad.net/bugs/1471383/+attachment/4424107/+files/Workspace%201_817.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471383

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1471383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to