[17:00] <sputnick> 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] <sputnick> It gives the error "DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)"
[17:01] <sputnick> running autopilot in verbose mode this appears to be caused by the select_single function
[17:02] <balloons> sputnick, autopilot 1.4? why an older version?
[17:03] <balloons> sputnick, can you do a print_tree and get objects and properties back? Does vis work?
[17:03] <sputnick> That's what came with ubuntu 14.04. What is the latest version?
[17:04] <balloons> sputnick, 1.5 is the latest. check out https://developer.ubuntu.com/api/autopilot/python/1.5.0/guides-installation/
[17:04] <balloons> basically you can get autopilot 1.5 from a ppa, good idea to go ahead and upgrade
[17:06] <sputnick> Thanks for letting me know
[17:06] <sputnick> Does the 1.4 tutorial still apply, or have there been a lot of changes? http://unity.ubuntu.com/autopilot/index.html
[17:07] <balloons> sputnick, you are welcome. Ohh, is that old page still up? I should get that fixed
[17:07] <sputnick> I'm just in the process of learning it, so trying to follow the docs
[17:07] <balloons> https://developer.ubuntu.com/en/start/quality/ is the place to be ;-)
[17:08] <balloons> and https://developer.ubuntu.com/api/autopilot/python/1.5.0/ is the updated documentation
[17:11] <sputnick> wonderful, thanks
[17:14] <sputnick> 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] <balloons> sputnick, yes.. autopilot3 and autopilot3-vis are the py3 versions
[17:16] <balloons> you should use them
[17:33] <sputnick> 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] <sputnick> print_tree dumps a lot of info, but is then where the Traceback starts, instead of at select_single
[17:36] <sputnick> so it appears it is able to communicate over the dbus but it eventually times out...
[18:03] <balloons> sputnick, interesting.. So if vis works and print_tree works, it shold be working
[18:04] <balloons> what kind of application is it? Something I can try also or?
[18:05] <sputnick> not easily. I'll see about creating a reduced version
[18:06] <sputnick> It is a PySide application using Qt 4.8 + QtQuick/qml
[18:09] <sputnick> Looking further back in the output there's some kind of segfault:
[18:10] <balloons> sputnick, or logs if you could.. I'm thinking the checkbox folks may have used pyside
[18:10] <sputnick> http://paste.ubuntu.com/11117073/
[18:10] <balloons> otherwise, I don't know of any example
[18:11] <balloons> ohh and this is qt 4.8.. interesting
[18:12] <balloons> did anything change between 1.4 and 1.5?
[18:14] <sputnick> Nope, same error for both
[18:14] <sputnick> I'm working on a larger log...
[18:15] <balloons> ok, just checking. So can you run with -vv and paste the log?
[18:17] <sputnick> http://paste.ubuntu.com/11117192/
[18:18] <sputnick> I just pruned out a bunch of messages that are unrelated from my code
[18:19] <sputnick> The simple test case code: http://paste.ubuntu.com/11117224/
[18:20] <sputnick> It doesn't perform any functional tests yet since I hit this wall first
[18:43] <sputnick> 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] <sputnick> worked in 1.4 and 1.5
[18:43] <sputnick> I'll have to investigate my app further
[18:45] <sputnick> 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] <balloons> sputnick, thanks for the followup!
[19:51] <sputnick> anytime ;-)
[19:52] <sputnick> Are you familiar with the following error: "QMetaProperty::read: Unable to handle unregistered datatype 'ItemIndexMethod' for property 'QGraphicsScene::itemIndexMethod'" ?
[19:53] <sputnick> 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] <balloons> sputnick, no, not a familiar thing