** Description changed:

  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 the any random app (keep it open or close it)
+ 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>

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to