[02:12] <knome> so.. boo :)
[02:12] <knome> oops, wrong channel
[06:42] <DanChapman> good morning all
[11:30] <DanChapman> morning disc0tech
[14:13] <pitti> Good morning
[15:45] <senan> DanChapman, Hi Dan
[15:48] <senan> DanChapman, need a help..menu is not still working :(
[15:50] <balloons> howdy DanChapman
[15:51] <DanChapman> senan hey, is it still not finding the item?
[15:51] <DanChapman> balloons, howdy :-D
[15:51] <DanChapman> how are you?
[15:51] <senan> DanChapman, No dan..
[15:51] <balloons> :-) DanChapman think you'll have some time this week to look at disc0tech's MP?
[15:51] <balloons> DanChapman: I'm sprinting again this week, heh
[15:52] <senan> DanChapman, BaobabWindow is not part of the GtkWindow that contains the menu
[15:52] <DanChapman> balloons, sure can. I had a quick look yesterday and left a few comments on python3 complaining about tabs n spaces and some missing imports
[15:53] <DanChapman> balloons, nice. Keeping you busy atm then. Where in the world are you this week?
[15:53] <DanChapman> senan, yes thats right all menu's have there own GtkWindow instance.
[15:54] <balloons> DanChapman: Calie-forni-ai
[15:54]  * DanChapman is kinda jealous now. 
[15:56] <DanChapman> balloons, I have an MP waiting if you get a chance at all this week. Its a test runner which i modified from the ubiquity one to run the desktop tests. Oh but i guess your on a smaller box atm, probably wait till your back from sprint
[15:57] <balloons> DanChapman: yea, that's really the issue with being away
[15:58] <balloons> DanChapman: ohh but you modified to run the desktop tests? awesome! I was planning on bringing them up this week with everyone. They need migrated over as well
[16:01] <DanChapman> balloons, yes the runner is pretty cool and since jibel did an awesome job getting it to work for all flavors they can all jump in if they wish :-D
[16:02] <senan> DanChapman, how to resolve this issue.. in autopilot its working but in autpilot3 its not working
[16:03] <DanChapman> balloons, it would be a good idea to get bugs created for the current tests as they all fail bar gedit either becasuse of python3 or changes to the apps since we last wrote them
[16:03] <DanChapman> senan have you tried printing the menu items so you can see if you are selecting it by the correct label value?
[16:04] <balloons> DanChapman: that's excellent news. I'll try and have a look.
[16:04] <DanChapman> balloons, excluding the firefox test. BUt that ones just crazy anyway
[16:04] <senan> DanChapman, No I didn't
[16:06] <balloons> DanChapman: :-) yea py3 conversion is a good point also
[16:15] <elfy> balloons: hi boss :)
[16:16] <senan> DanChapman, will simple print statement work ?
[16:18] <DanChapman> senan it sure does. or you can use print_tree
[16:21] <senan> DanChapman, I'm getting syntax error while using print and print_tree
[16:37] <balloons> elfy: hello! good to hear from you
[16:37] <disc0tech> DanChapman saw your MP comments, look like trivial to resolve, however I'm trying to get your TestRunner / QEMU / KVM working first... because I assume then I can find these issues myself?
[16:41] <DanChapman> disc0tech, yes trivial little things :-) are you having problems with it?
[16:43] <disc0tech> Well I lost about half a day on various qemu issues (apparmor problems, libusb conflicts and I had my /tmp mounted to RAM with noexec - which caused some strife)..  As of just now I have a working VM running through the trusty install..
[16:44] <DanChapman> It should be just a case of specifying your bzr branch in the config file then from the desktop-autopilot-runner directory run "./run-autopilot-test -T /path/to/config.cfg --test rhythmbox ~/path/to/iso"
[16:45] <disc0tech> ah yes, spent so long resolving random issues I forgot what I was supposed to be doing :)
[16:45] <disc0tech> so the TestRunner spins up the virt for me...
[16:45] <DanChapman> disc0tech, oh sounds a nightmare!!
[16:46] <DanChapman> disc0tech, it sure does it boots into a live session, pulls in deps and test branch, runs tests and then collects all artifacts and pulls them back to /tmp/ubuntu_autopilot.tests
[16:47] <disc0tech> what config file is the -T option referring to above?
[16:47] <disc0tech> and does it INSTALL the ISO also?
[16:48] <disc0tech> ah sorry - found that in the readme
[16:48] <DanChapman> disc0tech, just copy the one in desktop-autopilot-runner/config. Yes it install's the ISO but it's all cleaned up at the end all your left with is the test artifacts
[16:49] <DanChapman> disc0tech, sorry it doesn't install the iso it's a live session. I was thinking of ubiquity then
[16:49] <disc0tech> OK, that's fine, actually that makes a lot more sense
[16:50] <DanChapman> senan what's the issue with print_tree()
[16:57] <senan> DanChapman, its working fine dan
[17:02] <DanChapman> senan i can select the menu items fine with get_state_by_path("//GtkWindow//GtkAccelLabel[label='Scan Remote Folder...']")
[17:02] <senan> DanChapman, NameError: global name 'print_tree' is not defined
[17:03] <senan> DanChapman, wow
[17:10] <cyphermox_> hey, seems like https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-network-manager/ is having some issues downloading packages to run the adt tests, could someone please look into it?
[17:13] <senan> DanChapman, How do I import that
[17:16] <DanChapman> senan import what?
[17:17] <DanChapman> oh get_state_by_path..... just do self.app.get_state_by_path() it's an autopilot function
[17:19] <senan> DanChapman, But its not working for me
[17:19] <DanChapman> whats the output saying?
[17:19] <thomi> DanChapman: curious: why are you looking at get_state_by_path? it's probably not that usefulf or you
[17:19] <thomi> *for you
[17:19] <senan> DanChapman,getting  <senan> DanChapman, But its not working for me
 whats the output saying?
[17:20] <senan> DanChapman, ValueError: Object 'dbus.Array([], signature=dbus.Signature('(sv)'))' does not have any recognised position attributes
[17:21] <davmor2>  sent out?
[17:21] <DanChapman> thomi, hey o/ it's an annoying little issue trying to select a GtkMenuItem autopilot2.7 is selecting fine aautopilot3 can't find it. but i could select it with get_state_by_path so it is there, just gotta figure out why select_single isn't finding it
[17:22] <thomi> DanChapman: Iiiiiinteresting.
[17:23] <thomi> DanChapman: that sounds like something I should look in to - but I'm on a sprint this week, so i'm likely to be pretty busy
[17:24] <thomi> DanChapman: if you can select it in python2-land, but not in python3-land, that sounds like a bug
[17:25] <senan> DanChapman, why I am getting this NameError: global name 'print_tree' is not defined
[17:25] <thomi> DanChapman: maybe, if you don't find anything useful, you could file a bug against autopilot with instructions for how I can reproduce it
[17:28] <DanChapman> thomi ok cool well i will see if I can pin point whats happening and If it is a bug i'll file one with a simplified testcase
[17:29] <thomi> DanChapman: thanks
[17:29] <senan> DanChapman, why i am getting this NameError: global name 'print_tree' is not defined
[17:29] <DanChapman> senan, how are you using print tree?
[17:30] <senan> print_tree(object_name)
[17:31] <senan> DanChapman, print_tree(object_name)
[17:32] <DanChapman> senan ahhhh.... you need to use it on an object. for instance "window = self.app.select_single(GtkWindow)" and then call print tree on it so "window.print_tree()" which will dump it to console or you can print to file with window.print_tree("/tmp/tree.txt")
[17:32] <senan> DanChapman, he he.. I though its just like a normal function
[17:32] <DanChapman> senan :-D
[17:35] <senan> DanChapman, http://paste.ubuntu.com/6949935/
[17:35] <senan> DanChapman,I did a  self.create_scan_folder_sub_menu_item = window.select_many('GtkCheckMenuItemAccessible')[0]
[17:42] <DanChapman> senan ok so using that in your test does that select it ok now
[17:43] <senan> DanChapman, It will work dan, but Is it the right way ?
[17:46] <DanChapman> senan so if that works I don't see why select_single('GtkCheckMenuItemAccessible', label="Scan Folder...") doesn't
[17:46] <DanChapman> senan i'll give it a try
[18:04] <DanChapman> senan this is perculiar select_many accepts it select_single doesn't
[18:05] <senan> DanChapman, hmmmm
[18:08] <senan> DanChapman, going to sleep.. nothing seems to work out :(
[19:47] <DanChapman> thomi, it's not a bug with autopilot it's down to crazy unicode characters like \u2026 not being the same as '...' (looks the same to me though) :-D
[19:48] <thomi> DanChapman: can you file a bug please? I'll try and get to it this week
[19:48] <thomi> sounds like an easy fix,
[19:51] <DanChapman> thomi, sure :-)
[22:46] <balloons> ping elfy