=== MacSlow is now known as MacSlow|lunch === MacSlow|lunch is now known as MacSlow === alexabreu is now known as alex-abreu [17:00] I have autopilot 1.4 working (i.e. can interact and read with the GUI) with a Qt qml file via the qmlviewer. However, I have been unable to get autopilot to work with the overall PySide+qml based application. [17:00] It gives the error "DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)" [17:01] running autopilot in verbose mode this appears to be caused by the select_single function [17:02] sputnick, autopilot 1.4? why an older version? [17:03] sputnick, can you do a print_tree and get objects and properties back? Does vis work? [17:03] That's what came with ubuntu 14.04. What is the latest version? [17:04] sputnick, 1.5 is the latest. check out https://developer.ubuntu.com/api/autopilot/python/1.5.0/guides-installation/ [17:04] basically you can get autopilot 1.5 from a ppa, good idea to go ahead and upgrade [17:06] Thanks for letting me know [17:06] Does the 1.4 tutorial still apply, or have there been a lot of changes? http://unity.ubuntu.com/autopilot/index.html [17:07] sputnick, you are welcome. Ohh, is that old page still up? I should get that fixed [17:07] I'm just in the process of learning it, so trying to follow the docs [17:07] https://developer.ubuntu.com/en/start/quality/ is the place to be ;-) [17:08] and https://developer.ubuntu.com/api/autopilot/python/1.5.0/ is the updated documentation [17:11] wonderful, thanks [17:14] It appears autopilot is based on python 3. Is this correct? upgrading left the autopilot command at 1.4 but added autopilot3 at 1.5 [17:16] sputnick, yes.. autopilot3 and autopilot3-vis are the py3 versions [17:16] you should use them [17:33] Using autopilot3 1.5 produces the same "dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)". Using autopilot3 vis I can connect to the process and drill down to find the object I'm looking for [17:34] print_tree dumps a lot of info, but is then where the Traceback starts, instead of at select_single [17:36] so it appears it is able to communicate over the dbus but it eventually times out... [18:03] sputnick, interesting.. So if vis works and print_tree works, it shold be working [18:04] what kind of application is it? Something I can try also or? [18:05] not easily. I'll see about creating a reduced version [18:06] It is a PySide application using Qt 4.8 + QtQuick/qml [18:09] Looking further back in the output there's some kind of segfault: [18:10] sputnick, or logs if you could.. I'm thinking the checkbox folks may have used pyside [18:10] http://paste.ubuntu.com/11117073/ [18:10] otherwise, I don't know of any example [18:11] ohh and this is qt 4.8.. interesting [18:12] did anything change between 1.4 and 1.5? [18:14] Nope, same error for both [18:14] I'm working on a larger log... [18:15] ok, just checking. So can you run with -vv and paste the log? [18:17] http://paste.ubuntu.com/11117192/ [18:18] I just pruned out a bunch of messages that are unrelated from my code [18:19] The simple test case code: http://paste.ubuntu.com/11117224/ [18:20] It doesn't perform any functional tests yet since I hit this wall first [18:43] balloons: the problem goes away when I reduce the code to a very simple PySide + qml app, so it does not seem to be the fault of the underlying Qt 4.8 + qml framework or autopilot [18:43] worked in 1.4 and 1.5 [18:43] I'll have to investigate my app further [18:45] thanks a lot for all the help balloons! If I uncover something that may be useful to others I'll let you know [19:32] sputnick, thanks for the followup! [19:51] anytime ;-) [19:52] Are you familiar with the following error: "QMetaProperty::read: Unable to handle unregistered datatype 'ItemIndexMethod' for property 'QGraphicsScene::itemIndexMethod'" ? [19:53] balloons: the source of the problem seems to be a third party virtual keyboard I'm using and I think that error is related to the source... looking into it myself but thought I'd ask quickly [20:15] sputnick, no, not a familiar thing