** No longer affects: unity8

** Changed in: unity8 (Ubuntu)
       Status: New => Opinion

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

Title:
  after starting a new app cannot get proxy object for unity8

Status in “autopilot” package in Ubuntu:
  Confirmed
Status in “unity8” package in Ubuntu:
  Opinion

Bug description:
  I am writing integration tests that make sure tapping on the OSD
  'accept' button opens the dialer app (more similar tests as well). The
  problem is that my tests run fine for the first time, but if try to
  run the test the second time it fails because it seems that after
  dialer-app is started I cannot get autopilot interface for unity8.

  To reproduce this problem

  1. Ensure unity8 is running with the testability driver:
        stop unity8 ; initctl set-env QT_LOAD_TESTABILITY=1 ; start unity8
  2. Download the attached python script
  3. push it to the phone's /home/phablet
  4. run it and it will print the unity8' Notification object
  5. Now start any random app (keep it open or close it)
  6. execute the python script again

  You will see the below error and after a wait of many seconds the
  Notification object will indeed be printed

  ERROR:dbus.proxies:Introspect error on 
:1.604:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException: 
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes 
include: the remote application did not send a reply, the message bus security 
policy blocked the reply, the reply timeout expired, or the network connection 
was broken.
  <autopilot.introspection.dbus.Notification object at 0x1c32c90>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopilot/+bug/1276747/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to