Vis crashes with exml invalid token error. Oddly enough running it with -vvv lets autopilot vis remain loaded and the tree be introspected. My apologies for the long entry -- I suppose I could have attached the dumps.
I'm running
nskaggs@balloons:~$ autopilot --version
Autopilot Source Version: 1.3.1 Autopilot Package Version:
1.3.1+13.10.20130703bzr260saucy0
As follows without -vvv;
nskaggs@balloons:~$ autopilot launch empathy
nskaggs@balloons:~$ Autopilot GTK interface loaded.
nskaggs@balloons:~$ autopilot vis
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 59, in <lambda>
reply_handler=lambda xml: self._reply_handler(conn_name, obj_name, xml),
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 66, in _reply_handler
root = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 11, column 29
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 59, in <lambda>
reply_handler=lambda xml: self._reply_handler(conn_name, obj_name, xml),
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 66, in _reply_handler
root = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 11, column 29
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 59, in <lambda>
reply_handler=lambda xml: self._reply_handler(conn_name, obj_name, xml),
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 66, in _reply_handler
root = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 11, column 29
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.'),)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/autopilot/vis/main_window.py", line 175, in index
childItem = parentItem.children[row]
File "/usr/lib/python2.7/dist-packages/autopilot/vis/main_window.py", line 137, in children
for child in self.dbus_object.get_children():
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 264, in get_children
self.refresh_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 379, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 457, in get_new_state
return self.get_state_by_path(self.get_class_query_string())[0]
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 446, in get_state_by_path
return cls._Backend.introspection_iface.GetState(piece)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.528 was not provided by any .service files
QObject::startTimer: QTimer can only be used with threads started with QThread
QObject::startTimer: QTimer can only be used with threads started with QThread
and now with -vvv
autopilot vis -vvv
13:24:17.320 ERROR proxies:410 - Introspect error on :1.571:/com/canonical/indicators/webcredentials: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 11, column 29
13:24:17.320 DEBUG proxies:413 - Executing introspect queue due to error
13:24:17.325 ERROR proxies:410 - Introspect error on :1.571:/com/canonical/indicators/webcredentials: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 11, column 29
13:24:17.325 DEBUG proxies:413 - Executing introspect queue due to error
13:24:17.357 ERROR proxies:410 - Introspect error on :1.571:/com/canonical/indicators/webcredentials: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 11, column 29
13:24:17.357 DEBUG proxies:413 - Executing introspect queue due to error
13:24:17.425 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:17.466 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:17.472 DEBUG utilities:141 - 'GetState /' took 0.001S
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 59, in <lambda>
reply_handler=lambda xml: self._reply_handler(conn_name, obj_name, xml),
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 66, in _reply_handler
root = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 11, column 29
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 59, in <lambda>
reply_handler=lambda xml: self._reply_handler(conn_name, obj_name, xml),
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 66, in _reply_handler
root = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 11, column 29
13:24:17.577 DEBUG utilities:141 - 'GetState /' took 0.001S
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 59, in <lambda>
reply_handler=lambda xml: self._reply_handler(conn_name, obj_name, xml),
File "/usr/lib/python2.7/dist-packages/autopilot/vis/bus_enumerator.py", line 66, in _reply_handler
root = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 11, column 29
13:24:17.746 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:17.762 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:17.789 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:17.797 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:17.862 DEBUG utilities:141 - 'GetState /' took 0.001S
13:24:22.000 DEBUG utilities:141 - 'GetState /Root[id=1]' took 0.001S
13:24:22.012 DEBUG utilities:141 - 'GetState /Root[id=1]/*' took 0.012S
13:24:22.012 WARNING dbus:481 - Generating introspection instance for type 'GtkApplicationWindow' based on generic class.
13:24:22.014 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.014 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.016 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.017 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.018 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.019 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.021 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.021 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.023 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.023 WARNING dbus:481 - Generating introspection instance for type 'GtkWindow' based on generic class.
13:24:22.025 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.025 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.027 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.029 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.030 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.031 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.032 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.033 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.035 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.035 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.037 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.037 WARNING dbus:481 - Generating introspection instance for type 'OsThumb' based on generic class.
13:24:22.039 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:22.040 WARNING dbus:481 - Generating introspection instance for type 'GtkWindow' based on generic class.
13:24:22.041 WARNING dbus:481 - Generating introspection instance for type 'GtkWindowAccessible' based on generic class.
13:24:41.675 ERROR proxies:410 - Introspect error on :1.205:/: 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.
13:24:41.675 DEBUG proxies:413 - Executing introspect queue due to error
13:24:41.675 ERROR proxies:410 - Introspect error on :1.34:/: 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.
13:24:41.675 DEBUG proxies:413 - Executing introspect queue due to error
13:24:41.678 ERROR proxies:410 - Introspect error on :1.198:/: 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.
13:24:41.678 DEBUG proxies:413 - Executing introspect queue due to error
13:24:41.684 ERROR proxies:410 - Introspect error on :1.34:/: 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.
13:24:41.685 DEBUG proxies:413 - Executing introspect queue due to error
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.'),)