← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1362028] Re: SDK not able to provide further hint about missing apparmor policy

 

** Changed in: qtcreator-plugin-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/1362028

Title:
  SDK not able to provide further  hint about missing apparmor policy

Status in qtcreator-plugin-ubuntu package in Ubuntu:
  Fix Released

Bug description:
  As miss the "audio" policy in the apparmor file. However, the output window produces the indirect error message instead of printing "missing audio policy" kind of error. Attached please find the error message:
  ============================
          MediaPlayer {
              id: player
              source: "sounds/blast.wav"
          }
  ============================
  virtual void AalMediaPlayerControl::play()
  virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const
  Cannot start playback without a valid media-hub player session
  Cannot get current playback position without a valid media-hub player session
  ...

  This kind of problem happens to the rest of the APIs as well. If we
  cannot output the correct clear information like "missing audio
  security policy", a developer has to spend a lot of time in figuring
  out what could be wrong. Sometimes, a developer may be misled to
  troubleshoot API usage instead of adding the correct security
  policies.

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