Error trying to stop an app with ubuntu-app-stop

Bug #1628516 reported by Sergio Cazzolato
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
New
Undecided
Unassigned
ubuntu-app-launch (Ubuntu)
New
Undecided
Unassigned

Bug Description

I ma getting an error in my krillin when trying to stop an app. I shown an example about how to reproduce it.

phablet@ubuntu-phablet:~$ ubuntu-app-launch messaging-app
phablet@ubuntu-phablet:~$ ubuntu-app-stop messaging-app

** (process:5044): WARNING **: Unable to stop job application-legacy app_id messaging-app instance_id messaging-app-: GDBus.Error:com.ubuntu.Upstart0_6.Error.UnknownInstance: Unknown instance: messaging-app-messaging-app-

** (process:5044): WARNING **: Unable to stop Upstart instance

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 438
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2016-09-28 12:19:53
version version: 438
version ubuntu: 20160928
version device: 20160606-ab415b2
version custom: 20160831-991-38-18
phablet@ubuntu-phablet:~$

summary: - Error trying to stop an app
+ Error trying to stop an app with ubuntu-app-stop
Revision history for this message
Albert Astals Cid (aacid) wrote :

Some debugging shows that we're passing

APP_ID=messaging-app INSTANCE_ID=messaging-app

while the upstart dbus service is expecting

APP_ID=messaging-app INSTANCE_ID=

No idea who is doing what wrong.

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.