get_properties() times out and crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
High
|
Allan LeSage |
Bug Description
I am evaluating autopilot for GTK programs (so this might be an autopilot-gtk bug). I have this simple test:
$ cat autopilot_
from autopilot.testcase import AutopilotTestCase
from autopilot.
class Evince(
def setUp(self):
def test_open(self):
print '---- children ----'
print self.applicatio
print '---- child 0 ----'
print dir(self.
print '---- child 0 props ----'
print self.applicatio
-------
If I disable the get_properties() call, it works; evince is started and the file open dialog opens. But with the get_properties() call it just hangs, and eventually crashes with
Traceback (most recent call last):
File "/home/
print self.applicatio
File "/usr/lib/
state_dicts = self.get_
File "/usr/lib/
).GetState(
File "/usr/lib/
return self._proxy_
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
DBusException: org.freedesktop
I'm able to reproduce this and am looking into.