Autopilot launch fails for some applications

Reported by Nicholas Skaggs on 2013-01-23
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Autopilot
Low
Unassigned
autopilot-gtk
Undecided
Unassigned

Bug Description

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

1) <reported in https://bugs.launchpad.net/autopilot/+bug/1104481> - FIXED

2) Running autopilot launch and one of the below applications causes a 'RuntimeError: Unable to find Autopilot interface.' error.
 gnome-terminal
 geany
 skype
 xchat
       nautilus
      gnumeric

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/apport_python_hook.py", line 96, in apport_excepthook
    dbus_service_unknown_analysis(exc_obj, pr)
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 172, in dbus_service_unknown_analysis
    cp = ConfigParser(interpolation=None)
TypeError: __init__() got an unexpected keyword argument 'interpolation'
 gcalctool

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