Cannot get introspection to work

Bug #1101900 reported by adriangoodyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Incomplete
High
Unassigned

Bug Description

When I run 'autopilot launch gedit' I get the following:-

No handlers could be found for logger "autopilot.introspection"
Traceback (most recent call last):
  File "/usr/bin/autopilot", line 393, in <module>
    main()
  File "/usr/bin/autopilot", line 387, in main
    launch_app(args)
  File "/usr/bin/autopilot", line 340, in launch_app
    b.launch_test_application(app_name)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 77, in launch_test_application
    proxy = launch_autopilot_enabled_process(path, args, cwd=cwd)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 112, in launch_autopilot_enabled_process
    return get_autopilot_proxy_object_for_process(process)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 155, in get_autopilot_proxy_object_for_process
    raise RuntimeError("Unable to find Autopilot interface.")
RuntimeError: Unable to find Autopilot interface.

Then when I try 'autopilot vis' I get an empty drop down menu (doesn't even display Unity) and a message at the foot of the window saying 'waiting for first valid dbus connection'. The following appears in the terminal:-

ERROR:dbus.proxies:Introspect error on :1.10:/: 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.
ERROR:dbus.proxies:Introspect error on :1.14:/: 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.
ERROR:dbus.proxies:Introspect error on :1.37:/: 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.
ERROR:dbus.proxies:Introspect error on :1.117:/: 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.
Error is: DBusException(dbus.String(u'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.'),)
Error is: DBusException(dbus.String(u'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.'),)
Error is: DBusException(dbus.String(u'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.'),)
Error is: DBusException(dbus.String(u'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.'),)

Revision history for this message
adriangoodyer (adriangoodyer) wrote :

In a vm using raring, if I use the following command...

sudo apt-get install libautopilot-gkt0 && sudo apt-get install libautopilot-gtk-dev

then it will still produce errors in the terminal but if WILL work after I have used the following command to manually load the module...

GTK_MODULES=autopilot-gtk:$GTK_MODULES gedit

However, I cannot do this in 12.04LTS (my main system) as apt-get cannot locate the packages??

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Hi,

Thanks for your bug report. I'll ask alesage to look at this if he has a moment. In the mean time, could you please confirm that you're running 12.04 LTS?

Also, can you run:

dpkg -l | grep autopilot

and paste the results here please?

Changed in autopilot:
status: New → Incomplete
importance: Undecided → High
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Ade, marking this dupe to the bug with list of all issues found with introspection.

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.