=== e11bits_ is now known as e11bits | ||
knome | so.. boo :) | 02:12 |
---|---|---|
knome | oops, wrong channel | 02:12 |
DanChapman | good morning all | 06:42 |
=== 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 | ||
DanChapman | morning disc0tech | 11:30 |
pitti | Good morning | 14:13 |
senan | DanChapman, Hi Dan | 15:45 |
senan | DanChapman, need a help..menu is not still working :( | 15:48 |
balloons | howdy DanChapman | 15:50 |
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:51 |
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:52 |
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:53 |
balloons | DanChapman: Calie-forni-ai | 15:54 |
* DanChapman is kinda jealous now. | 15:54 | |
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:56 |
balloons | DanChapman: yea, that's really the issue with being away | 15:57 |
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 | 15:58 |
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:01 |
senan | DanChapman, how to resolve this issue.. in autopilot its working but in autpilot3 its not working | 16:02 |
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:03 |
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:04 |
balloons | DanChapman: :-) yea py3 conversion is a good point also | 16:06 |
elfy | balloons: hi boss :) | 16:15 |
senan | DanChapman, will simple print statement work ? | 16:16 |
DanChapman | senan it sure does. or you can use print_tree | 16:18 |
senan | DanChapman, I'm getting syntax error while using print and print_tree | 16:21 |
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:37 |
DanChapman | disc0tech, yes trivial little things :-) are you having problems with it? | 16:41 |
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:43 |
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:44 |
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:45 |
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:46 |
disc0tech | what config file is the -T option referring to above? | 16:47 |
disc0tech | and does it INSTALL the ISO also? | 16:47 |
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:48 |
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:49 |
DanChapman | senan what's the issue with print_tree() | 16:50 |
senan | DanChapman, its working fine dan | 16:57 |
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:02 |
senan | DanChapman, wow | 17:03 |
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:10 |
senan | DanChapman, How do I import that | 17:13 |
DanChapman | senan import what? | 17:16 |
DanChapman | oh get_state_by_path..... just do self.app.get_state_by_path() it's an autopilot function | 17:17 |
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 | 17:19 |
senan | <DanChapman> whats the output saying? | 17:19 |
senan | DanChapman, ValueError: Object 'dbus.Array([], signature=dbus.Signature('(sv)'))' does not have any recognised position attributes | 17:20 |
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:21 |
thomi | DanChapman: Iiiiiinteresting. | 17:22 |
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:23 |
thomi | DanChapman: if you can select it in python2-land, but not in python3-land, that sounds like a bug | 17:24 |
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:25 |
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:28 |
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:29 |
senan | print_tree(object_name) | 17:30 |
senan | DanChapman, print_tree(object_name) | 17:31 |
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:32 |
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:35 |
DanChapman | senan ok so using that in your test does that select it ok now | 17:42 |
senan | DanChapman, It will work dan, but Is it the right way ? | 17:43 |
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 | 17:46 |
DanChapman | senan this is perculiar select_many accepts it select_single doesn't | 18:04 |
senan | DanChapman, hmmmm | 18:05 |
senan | DanChapman, going to sleep.. nothing seems to work out :( | 18:08 |
=== TheLordOfTime is now known as teward | ||
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:47 |
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:48 |
DanChapman | thomi, sure :-) | 19:51 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
balloons | ping elfy | 22:46 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!