=== e11bits_ is now known as e11bits [02:12] so.. boo :) [02:12] oops, wrong channel [06:42] good morning all === psivaa-afk is now known as psivaa === Ursinha is now known as Ursinha-afk === jackson is now known as Guest13784 === Ursinha-afk is now known as Ursinha === vrruiz_ is now known as rvr [11:30] morning disc0tech [14:13] Good morning [15:45] DanChapman, Hi Dan [15:48] DanChapman, need a help..menu is not still working :( [15:50] howdy DanChapman [15:51] senan hey, is it still not finding the item? [15:51] balloons, howdy :-D [15:51] how are you? [15:51] DanChapman, No dan.. [15:51] :-) DanChapman think you'll have some time this week to look at disc0tech's MP? [15:51] DanChapman: I'm sprinting again this week, heh [15:52] DanChapman, BaobabWindow is not part of the GtkWindow that contains the menu [15:52] 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] balloons, nice. Keeping you busy atm then. Where in the world are you this week? [15:53] senan, yes thats right all menu's have there own GtkWindow instance. [15:54] DanChapman: Calie-forni-ai [15:54] * DanChapman is kinda jealous now. [15:56] 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] DanChapman: yea, that's really the issue with being away [15:58] 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] 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] DanChapman, how to resolve this issue.. in autopilot its working but in autpilot3 its not working [16:03] 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] senan have you tried printing the menu items so you can see if you are selecting it by the correct label value? [16:04] DanChapman: that's excellent news. I'll try and have a look. [16:04] balloons, excluding the firefox test. BUt that ones just crazy anyway [16:04] DanChapman, No I didn't [16:06] DanChapman: :-) yea py3 conversion is a good point also [16:15] balloons: hi boss :) [16:16] DanChapman, will simple print statement work ? [16:18] senan it sure does. or you can use print_tree [16:21] DanChapman, I'm getting syntax error while using print and print_tree [16:37] elfy: hello! good to hear from you [16:37] 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] disc0tech, yes trivial little things :-) are you having problems with it? [16:43] 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] 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] ah yes, spent so long resolving random issues I forgot what I was supposed to be doing :) [16:45] so the TestRunner spins up the virt for me... [16:45] disc0tech, oh sounds a nightmare!! [16:46] 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] what config file is the -T option referring to above? [16:47] and does it INSTALL the ISO also? [16:48] ah sorry - found that in the readme [16:48] 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] disc0tech, sorry it doesn't install the iso it's a live session. I was thinking of ubiquity then [16:49] OK, that's fine, actually that makes a lot more sense [16:50] senan what's the issue with print_tree() [16:57] DanChapman, its working fine dan [17:02] senan i can select the menu items fine with get_state_by_path("//GtkWindow//GtkAccelLabel[label='Scan Remote Folder...']") [17:02] DanChapman, NameError: global name 'print_tree' is not defined [17:03] DanChapman, wow [17:10] 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] DanChapman, How do I import that [17:16] senan import what? [17:17] oh get_state_by_path..... just do self.app.get_state_by_path() it's an autopilot function [17:19] DanChapman, But its not working for me [17:19] whats the output saying? [17:19] DanChapman: curious: why are you looking at get_state_by_path? it's probably not that usefulf or you [17:19] *for you [17:19] DanChapman,getting DanChapman, But its not working for me [17:19] whats the output saying? [17:20] DanChapman, ValueError: Object 'dbus.Array([], signature=dbus.Signature('(sv)'))' does not have any recognised position attributes [17:21] sent out? [17:21] 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] DanChapman: Iiiiiinteresting. [17:23] 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] DanChapman: if you can select it in python2-land, but not in python3-land, that sounds like a bug [17:25] DanChapman, why I am getting this NameError: global name 'print_tree' is not defined [17:25] 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] 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] DanChapman: thanks [17:29] DanChapman, why i am getting this NameError: global name 'print_tree' is not defined [17:29] senan, how are you using print tree? [17:30] print_tree(object_name) [17:31] DanChapman, print_tree(object_name) [17:32] 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] DanChapman, he he.. I though its just like a normal function [17:32] senan :-D [17:35] DanChapman, http://paste.ubuntu.com/6949935/ [17:35] DanChapman,I did a self.create_scan_folder_sub_menu_item = window.select_many('GtkCheckMenuItemAccessible')[0] [17:42] senan ok so using that in your test does that select it ok now [17:43] DanChapman, It will work dan, but Is it the right way ? [17:46] senan so if that works I don't see why select_single('GtkCheckMenuItemAccessible', label="Scan Folder...") doesn't [17:46] senan i'll give it a try [18:04] senan this is perculiar select_many accepts it select_single doesn't [18:05] DanChapman, hmmmm [18:08] DanChapman, going to sleep.. nothing seems to work out :( === TheLordOfTime is now known as teward [19:47] 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] DanChapman: can you file a bug please? I'll try and get to it this week [19:48] sounds like an easy fix, [19:51] thomi, sure :-) === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [22:46] ping elfy