media-hub backwards compat with authenticator broken

Bug #1370011 reported by Sergio Schvezov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qtubuntu-camera
New
Undecided
Unassigned
qtubuntu-camera (Ubuntu)
Confirmed
Critical
Jim Hodapp

Bug Description

I can't "affect" the authenticator as it's a click package, but it hasn't changed in a while either, this is the error on krillin

UbuntuWindow::handleSurfaceFocusChange(focused=true)
QTextCursor::setPosition: Position '6' out of range
Initializing AalServicePlugin
Creating a new static Service instance
Failed to start a new media-hub player session: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.142" (uid=32011 pid=10471 comm="./ubuntu-authenticator ") interface="core.ubuntu.media.Service" member="CreateSession" error name="(unset)" requested_reply="0" destination="core.ubuntu.media.Service" (uid=32011 pid=3456 comm="media-hub-server ")
Failed to create a new media player backend. Video playback will not function.

virtual int AalMediaPlayerControl::volume() const

Cannot get volume without a valid media-hub player session
virtual QMediaPlayer::State AalMediaPlayerControl::state() const

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const

virtual void AalMediaPlayerControl::stop()

Cannot stop playback without a valid media-hub player session
virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*)

virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const

Cannot open uri without a valid media-hub player session
virtual void AalMediaPlayerControl::setAudioRole(QMediaPlayer::AudioRole)
void AalMediaPlayerService::setAudioRole(QMediaPlayer::AudioRole)

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: media-hub 2.0.0+14.10.20140910.2-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.7-0ubuntu2
Architecture: armhf
Date: Tue Sep 16 11:33:23 2014
InstallationDate: Installed on 2014-09-15 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140915-190036)
SourcePackage: media-hub
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sergio Schvezov (sergiusens) wrote :
summary: - media-hub changes broke compat with authenticator
+ media-hub backwards compat with authenticator broken
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Seems the "camera" policy doesn't work any more without also requesting "audio". Authenticator doesn't require any audio so I'm hesitant to add it there. Would it be possible to just fail playing audio gracefully but still have the camera working?

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Same goes for "Tagger" btw.

tags: added: rtm14
Changed in media-hub (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in media-hub (Ubuntu):
status: New → Confirmed
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Part of the solution is that the click sound needs to be moved out of qtubuntu-camera and into any apps that want to play a click sound when the camera snaps a pic.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

We plan to remove the audio support from the camera interface as it should properly be done with an Audio interface

affects: media-hub (Ubuntu) → qtubuntu-camera (Ubuntu)
Changed in qtubuntu-camera (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
tags: removed: rtm14
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.