Autopilot launch fails for some applications

Bug #1103751 reported by Nicholas Skaggs on 2013-01-23
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Using the autopilot launch tool in conjunction with autopilot vis fails for some common desktop applications.

1) <reported in> - FIXED

2) Running autopilot launch and one of the below applications causes a 'RuntimeError: Unable to find Autopilot interface.' error.

3) Running autopilot launch for firefox (using '/usr/lib/firefox/firefox') fails with the following error: Error: Could not determine introspection type to use for application .

4) Running autopilot launch for vlc (using 'autopilot launch '/usr/bin/vlc') fails with the following error: Error: Could not determine introspection type to use for application .Is passing command line options to the binary to run support? (eg, vlc -I qt4)

5) Running autopilot launch gcalctool, autopilot vis results in this crash after selecting the connection in the vs tool.

Tons of things like:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.818 was not provided by any .service files
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/", line 96, in apport_excepthook
    dbus_service_unknown_analysis(exc_obj, pr)
  File "/usr/lib/python2.7/dist-packages/", line 172, in dbus_service_unknown_analysis
    cp = ConfigParser(interpolation=None)
TypeError: __init__() got an unexpected keyword argument 'interpolation'

Thomi Richards (thomir) on 2013-01-24
description: updated
Thomi Richards (thomir) on 2013-01-28
Changed in autopilot:
status: New → In Progress
assignee: nobody → Thomi Richards (thomir)
Thomi Richards (thomir) wrote :

We need to get a good idea of how to load the AP interface for apps that don't respecxt the usual loading mechanisms. Not really sure what to do here, other than submit a patch upstream....

Changed in autopilot:
status: In Progress → Triaged
assignee: Thomi Richards (thomir) → nobody
importance: Undecided → Low
Thomi Richards (thomir) wrote :

I think we need to break this bug up into specific issues that affect each application individually. Some are very unlikely to get fixed (firefox, for example), while others stand a better chance.

Nicholas Skaggs (nskaggs) wrote :

I will close and distribute the bug into individual reports if needed. Thanks for all the fixes on this bug!

Changed in autopilot-gtk:
status: New → Fix Released
Changed in autopilot:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers