← Back to team overview

touch-packages team mailing list archive

[Bug 1404188] Re: QNetworkSession::isOpen() always returns false

 

Added some error reporting:

QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply
"An AppArmor policy prevents this sender from sending this message to
this recipient, 0 matched rules; type="method_call", sender=":1.136"
(uid=32011 pid=5705 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene
$@ s") interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" destination="org.freedesktop.NetworkManager" (uid=0
pid=1314 comm="NetworkManager ")"

QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An
AppArmor policy prevents this sender from sending this message to this
recipient, 0 matched rules; type="method_call", sender=":1.136"
(uid=32011 pid=5705 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene
$@ s") interface="org.freedesktop.NetworkManager" member="GetDevices"
error name="(unset)" destination="org.freedesktop.NetworkManager" (uid=0
pid=1314 comm="NetworkManager ")"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1404188

Title:
  QNetworkSession::isOpen() always returns false

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  Using QNetworkSession::isOpen() in confined apps on a phone running
  vivid always returns false. This might be an apparmor thing, however,
  I couldn't find any REJECTED entries in log files.

  The test app in lp:~mzanetti/+junk/nmsessiontest can reproduce the
  issue. Open this project in ubuntu-sdk's qtcreator and run it on a
  vivid device. Press the button and watch the debug prints.

  On a vivid-desktop or a RTM based phone it will print "all is well".
  On a vivid phone however, it'll print "network session not open..."

  This used to work fine at least back in utopic images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1404188/+subscriptions


References