[ 4197.020461] audit: type=1400 audit(1595617966.871:123): apparmor="DENIED" operation="open" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/usr/share/qt5/translations/qt_ru.qm" pid=17320 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[ 4197.478255] audit: type=1400 audit(1595617967.331:124): apparmor="DENIED" operation="open" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/home/phablet/.local/lib/python3.5/site-packages/" pid=17320 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[ 4197.478654] audit: type=1400 audit(1595617967.331:125): apparmor="DENIED" operation="open" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/usr/local/lib/python3.5/dist-packages/" pid=17320 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[ 4197.539847] audit: type=1400 audit(1595617967.391:126): apparmor="DENIED" operation="open" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/home/phablet/.local/lib/python3.5/site-packages/" pid=17320 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[ 4197.540282] audit: type=1400 audit(1595617967.391:127): apparmor="DENIED" operation="open" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/usr/local/lib/python3.5/dist-packages/" pid=17320 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[ 4197.967955] audit: type=1400 audit(1595617967.819:128): apparmor="DENIED" operation="mknod" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/opt/click.ubuntu.com/metersdata.jedi2light.moe/1.0.0/src/__pycache__/backend.cpython-35.pyc.281473669502416" pid=17320 comm="QPythonWorker" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
[ 4197.991467] audit: type=1400 audit(1595617967.843:129): apparmor="DENIED" operation="create" profile="metersdata.jedi2light.moe_metersdata_1.0.0" pid=17320 comm="qmlscene" family="netlink" sock_type="raw" protocol=15 requested_mask="create" denied_mask="create"
[ 4198.015411] audit: type=1400 audit(1595617967.867:130): apparmor="DENIED" operation="file_mmap" profile="metersdata.jedi2light.moe_metersdata_1.0.0" name="/usr/lib/python3.5/lib-dynload/_sqlite3.cpython-35m-aarch64-linux-gnu.so" pid=17320 comm="QPythonWorker" requested_mask="m" denied_mask="m" fsuid=32011 ouid=0
J
Posts made by jedi2light
-
RE: Unable to import sqlite3 module in PyOtherSide-based click application on Ubuntu Touch (Pinephone, stable channel)
-
Unable to import sqlite3 module in PyOtherSide-based click application on Ubuntu Touch (Pinephone, stable channel)
Re: [SOLVED]How to Import Python library to clickable?
I use sqlite3 in my PyOtherSide-based click application. And when I use
clickable desktop
, app works well without any errors on my desktop machine. But when I try to start my app on Pinephone, it fails with this error:qml: Backend: Error: Cannot import module: backend (Traceback (most recent call last): File "/opt/click.ubuntu.com/metersdata.jedi2light.moe/1.0.0/src/backend.py", line 4, in <module> import sqlite3 File "/usr/lib/python3.5/sqlite3/__init__.py", line 23, in <module> from sqlite3.dbapi2 import * File "/usr/lib/python3.5/sqlite3/dbapi2.py", line 27, in <module> from _sqlite3 import * ImportError: /usr/lib/python3.5/lib-dynload/_sqlite3.cpython-35m-aarch64-linux-gnu.so: failed to map segment from shared object )
My app source code: https://gitlab.com/jedi2light/MetersData/-/tree/master