=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
=== alexabreu is now known as alex-abreu
sputnickI 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
sputnickIt gives the error "DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)"17:00
sputnickrunning autopilot in verbose mode this appears to be caused by the select_single function17:01
balloonssputnick, autopilot 1.4? why an older version?17:02
balloonssputnick, can you do a print_tree and get objects and properties back? Does vis work?17:03
sputnickThat's what came with ubuntu 14.04. What is the latest version?17:03
balloonssputnick, 1.5 is the latest. check out https://developer.ubuntu.com/api/autopilot/python/1.5.0/guides-installation/17:04
balloonsbasically you can get autopilot 1.5 from a ppa, good idea to go ahead and upgrade17:04
sputnickThanks for letting me know17:06
sputnickDoes the 1.4 tutorial still apply, or have there been a lot of changes? http://unity.ubuntu.com/autopilot/index.html17:06
balloonssputnick, you are welcome. Ohh, is that old page still up? I should get that fixed17:07
sputnickI'm just in the process of learning it, so trying to follow the docs17:07
balloonshttps://developer.ubuntu.com/en/start/quality/ is the place to be ;-)17:07
balloonsand https://developer.ubuntu.com/api/autopilot/python/1.5.0/ is the updated documentation17:08
sputnickwonderful, thanks17:11
sputnickIt appears autopilot is based on python 3. Is this correct? upgrading left the autopilot command at 1.4 but added autopilot3 at 1.517:14
balloonssputnick, yes.. autopilot3 and autopilot3-vis are the py3 versions17:16
balloonsyou should use them17:16
sputnickUsing 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 for17:33
sputnickprint_tree dumps a lot of info, but is then where the Traceback starts, instead of at select_single17:34
sputnickso it appears it is able to communicate over the dbus but it eventually times out...17:36
balloonssputnick, interesting.. So if vis works and print_tree works, it shold be working18:03
balloonswhat kind of application is it? Something I can try also or?18:04
sputnicknot easily. I'll see about creating a reduced version18:05
sputnickIt is a PySide application using Qt 4.8 + QtQuick/qml18:06
sputnickLooking further back in the output there's some kind of segfault:18:09
balloonssputnick, or logs if you could.. I'm thinking the checkbox folks may have used pyside18:10
balloonsotherwise, I don't know of any example18:10
balloonsohh and this is qt 4.8.. interesting18:11
balloonsdid anything change between 1.4 and 1.5?18:12
sputnickNope, same error for both18:14
sputnickI'm working on a larger log...18:14
balloonsok, just checking. So can you run with -vv and paste the log?18:15
sputnickI just pruned out a bunch of messages that are unrelated from my code18:18
sputnickThe simple test case code: http://paste.ubuntu.com/11117224/18:19
sputnickIt doesn't perform any functional tests yet since I hit this wall first18:20
sputnickballoons: 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 autopilot18:43
sputnickworked in 1.4 and 1.518:43
sputnickI'll have to investigate my app further18:43
sputnickthanks a lot for all the help balloons! If I uncover something that may be useful to others I'll let you know18:45
balloonssputnick, thanks for the followup!19:32
sputnickanytime ;-)19:51
sputnickAre you familiar with the following error: "QMetaProperty::read: Unable to handle unregistered datatype 'ItemIndexMethod' for property 'QGraphicsScene::itemIndexMethod'" ?19:52
sputnickballoons: 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 quickly19:53
balloonssputnick, no, not a familiar thing20:15

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!