/srv/irclogs.ubuntu.com/2013/05/23/#ubuntu-quality.txt

=== salem_ is now known as _salem
pittiGood morning03:30
jibelgood morning06:52
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
Noskcajsomeone make smartboyhw ping me as soon as he's online please09:48
DanChapmanNoskcaj, will do if i see him :)09:51
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
DanChapmanHey peeps, im having some trouble registering libreoffice as a known application with autopilot. Anyone achieved this yet or any ideas here. Code = http://paste.ubuntu.com/5693464/ and the Traceback = http://paste.ubuntu.com/5693431/.11:59
balloonsDanChapman, Libreoffice is a big application. IT's probably something we need help on in order to get it working12:05
balloonsWe may have to use something else if it never likes being introspected :-)12:05
balloonsIT's worth filing a bug against autopilot-gtk specifically for it12:06
DanChapmanok then i was just gonna try start some basic tests on it open/close. :D Will go file one now12:06
balloonsDanChapman, indeed. It was part of the pains we hit last cycle.12:07
balloonsbut pitti and crew get to help us on this stuff now :-)12:08
DanChapmanthat should help then :)12:14
balloonsDanChapman, did you see Vasudevan's email about the state of the source tree? It's a good jumping off point12:39
DanChapmanballoons no i didnt12:39
DanChapmanjust seeing if i got it12:39
balloonshave a look.. He went through and tried to run every test, and then has a few good questions about everything12:40
DanChapmanI didn't receive it :( Ive ran all the current tests this morning and quite a few had fails. I will probably start with them then :D12:43
balloonsanyways for starters let's sort of the working stuff first and get it ported to 1.312:44
balloonsthen I'd like to clean up anything that doesn't work and get it running, or otherwise put it into a WIP branch or something12:44
balloonsI'm trying to figure out what the best way to organize the tree would be12:44
balloonshmm.. do we think an etherpad would help?12:45
DanChapmanballoons are we using this guide for porting? http://unity.ubuntu.com/autopilot/porting/porting.html12:49
balloonsDanChapman, yes12:50
balloonsDanChapman, so I think a pad could be useful today.. I've made one and we can all share notes on the autopilot stuff this way12:50
balloonshttp://pad.ubuntu.com/CFXkuLR7Lb12:50
DanChapmanok great :D12:50
balloonsmost people won't be around till the second half of the session :-) EU evening time12:50
balloonsman saucy is hating on me12:54
=== balloons changed the topic of #ubuntu-quality to: Welcome to Ubuntu Quality | http://wiki.ubuntu.com/QATeam | Hackfest Today! https://wiki.ubuntu.com/QATeam/Hackfest/20130523 | Pad for tracking http://pad.ubuntu.com/CFXkuLR7Lb
=== _salem is now known as salem_
DanChapmanballoons do you run saucy in vm or on your hardware? I was going to install it on a seperate partition but wasnt sure if the daily image would update my machine like it does in testdrive13:04
balloonsDanChapman, I run it on my main box, as the default OS13:04
balloonsI'm almost always running the ubuntu development version, never really on a stable release except for just after it's released13:04
DanChapmanill give it a whirl later on after the session :D13:05
balloons:-)13:05
balloonsok, brb.. hopefully saucy will like the amd open drivers13:05
balloonsthat seems much better.. let's see if it lasts :-)13:09
DanChapman:)13:12
balloonsok, so DanChapman shall we work through the kinks of getting the evince testcase to 1.3?13:19
DanChapmanyeah sounds good to me :)13:20
balloonsok, so I think we should create a branch for each 1.3 conversion13:23
balloonsdo you know how to do that?13:24
balloonsI guess it's something I can do.. let's see13:24
DanChapmanbzr branch lp:blablabla :D13:24
DanChapmani think anyway bzr still new to me have been a TFS user for few years.13:25
DanChapmanlet me see if im getting this. So for instance with evince the emulators is deprecated so in the startUp() it will need a ProcessManager instance created?13:27
DanChapmanso pManager = ProcessManager.create("BAMF")??13:27
DanChapmanthen use that to open a window?13:28
balloonsDanChapman, I believe that's a valid statement.. We'll find out together :-) However, we can ping the folks in #ubuntu-autopilot if we get stucl13:28
balloonsDanChapman, I would use launch_test_application I think13:28
DanChapmanok no problem, can give it a go13:29
DanChapmanoops just pushed something to launchpad and didn't mean to :S13:34
balloons:-)13:38
DanChapmanballoons, im just running to get my lil one from school then be back on it13:39
balloonsDanChapman, enjoy :-)13:40
balloonsmorning SergioMeneses13:50
SergioMenesesballoons, morning!13:50
SergioMenesesballoons, how's everything?13:53
balloonsSergioMeneses, working on cleaning up the ubuntu-autopilot-tests project source tree13:55
balloonsTrying to figure out how to make a production branch for it13:55
SergioMenesesballoons, :O awesome13:55
=== Ursinha is now known as Ursinha-afk
fgintherDanChapman, you want to use launch_test_application to open an application for testing13:58
DanChapmanfginther, thanks will do13:59
fgintherDanChapman, it returns a proxy object representing the root of the Gtk tree for the app (I assume you're testing evince)13:59
DanChapmanyeah13:59
fgintherDanChapman, unfortunately, my Gtk knowledge is so poor, I don't know the best or proper way to introspect the application after that :-(14:01
DanChapmanim getting 'no autopilot.process module' error at the moment. does it not come in python-autopilot?14:01
=== Ursinha-afk is now known as Ursinha
fgintherautopilot.process should be there14:02
fgintherfor 1.2314:02
fginthererr for 1.314:02
DanChapmanhmmmm14:03
DanChapmanit would appear i still have autopilot.emulators aswell need to check if i actually have 1.314:07
balloonsapt-cache show python-autopilot14:07
DanChapmanVersion: 1.2daily13.04.09-0ubuntu114:08
balloonsindeed, that's still 1.2 :-)14:08
DanChapman:D14:08
DanChapmanhow do i get 1.3 then :)14:09
DanChapmanhttp://unity.ubuntu.com/autopilot/faq/faq.html says i should get it with apt-get install python-autopilot14:10
balloonsfor raring (and apparently saucy still atm) you'll need to use the ppa14:11
balloonsppa:autopilot/ppa14:11
DanChapmanok thanks balloons14:12
balloonssudo add-apt-repository ppa:autopilot/ppa14:12
balloonssudo apt-get update && sudo apt-get dist-upgrade14:12
DanChapmanIt gave me 1.2 again so turned off universe and that sorted it :D14:22
balloonso really?14:23
balloonsmorning chilicuil14:25
chilicuilhi, balloons, good morning, rdy for the hackton ? =P14:26
balloonsSergioMeneses, so what's on the docket for you today?14:26
balloonschilicuil, indeed14:26
DanChapmanyeah first off it did nothing so i removed python-autopilot then tried again and it pulled 1.2 from universe. So turned it off and tried again and sure enough finally 1.314:26
balloonsso DanChapman chilicuil I think I've solved our repo concerns.. or at least mine14:26
=== Ursinha is now known as Ursinha-afk
balloonsI'm going to rename trunk series to development. Then I'll create a new series called production which will contain only 100% working good testcases, intended to be run via jenkins14:27
DanChapmansounds good to me14:27
balloonsfinally I'm going to make an examples branch to host the example code from the tutorials.. We may or may not keep it, but I'll do it for now14:27
chilicuilballoons: +114:27
balloonsso those commit changes should be happening now14:28
balloonschilicuil, we're using a pad to try and keep track of things :-)14:28
balloonshttp://pad.ubuntu.com/CFXkuLR7Lb14:28
chilicuilballoons: cool!, I'm there14:28
balloonsso basically you can see the porting efforts for each app.. I linked your branch to evince DanChapman14:29
DanChapmanok cool14:30
SergioMenesesballoons, I'm working with access points right now =/14:30
SergioMenesesnothing about qa14:30
balloonsSergioMeneses, I heard about the new job, but you didn't share details on what it was14:30
SergioMenesesballoons, jejeje14:30
balloonseither way, congrats!14:30
balloonssounds like some field work.. never a bad thing14:31
SergioMenesesI'm working as sysadmin ...but we've had a lot of issues about networking and servers14:31
balloonsohh sysadmin.. your going to learn a lot doing that14:31
SergioMenesesballoons, I hope so jaja14:32
balloonsso chilicuil the pad is mostly autopilot centered :-)14:32
SergioMenesesI'll be like chilicuil14:32
=== Ursinha-afk is now known as Ursinha
chilicuilyep, I've seen it balloons, I think I wont be able to help right now, at work I dont have a machine with unity =/, but when I come to home, I'll review what else is missing and do my part =P, in the meantime I'll review the autopilot guides =)14:35
chilicuilSergioMeneses: good morning!, hope you have a nice day there =)14:36
balloonschilicuil, I expect most folks will be around in about 4 hours14:38
balloonsso you'll be right on time ;-)14:38
balloonsand we'll hopefully have things sorted for them by then14:38
balloonshehe14:38
DanChapmanballoons, is there a list of applications 'known' to autopilot without the need to register i can see15:00
balloonsDanChapman, http://unity.ubuntu.com/autopilot/api/process.html?highlight=known#autopilot.process.ProcessManager.KNOWN_APPS15:01
DanChapmancheers :)15:02
balloonshave a look, there's a prod branch now :-) https://code.launchpad.net/ubuntu-autopilot-tests15:18
balloonshowdy Vasudevan15:48
balloonsVasudevan, we've got a pad going with what's going on: http://pad.ubuntu.com/CFXkuLR7Lb15:49
balloonsbtw, I realized my conversion to 1.3 with firefox uses the self.mgr = ProcessManager.create("BAMF"), self.mgr.start_app_window("appname" mantra.. I'll have to fix that :-)15:49
Vasudevanballoons, Hi, ok, will join, I sent out a summary of what I observed yesterday to the list15:49
balloonsVasudevan, indeed, I included it in the doc. It was helpful15:50
balloonsyou'll see everything when you open the pad. We're just taking conversions one by one. In addition, I've made a stable production branch to use15:51
Vasudevancant log in - this is my first time - getting error - PAD has requested some personal information. Please choose what you would like to share:15:53
VasudevanOpenID Authentication Required15:53
balloonsVasudevan, are you a member of etherpad?15:54
balloonsyou should be if your a member of the testing team15:54
VasudevanI am using my launchpad creds15:54
balloonsgotcha.. all the boxes checked to send the creds it wants?15:54
Vasudevandont see any checkboxes ...15:56
balloonsVasudevan, lp id?15:56
balloonshave you used etherpad before?15:56
Vasudevanno - first timer15:56
balloonsVasudevan, what's your lp id? We can add you in a sec15:58
balloonssorry.. that's launchpad id I'm asking for15:59
balloonslp=launchpad ;-)15:59
Vasudevanvasudevank2@gmail.com16:00
balloonsVasudevan, look at https://launchpad.net/~16:02
balloonsit should say launchpad id: on that page.. that's what I need :-)16:02
Vasudevanvasudevank216:04
balloonsperfect, your a member now, you should have access16:05
Vasudevanok, thanks16:07
=== salem_ is now known as _salem
Vasudevanballoons, I can see the shared workspace now, but can  not scroll up, down or switch tabs or use the keyboard - it appears to be locked16:15
balloonsyou could try reloading your browser.. you should be all good.16:16
balloonsif it doesn't work I can pass the details along to you16:16
Vasudevanno luck - i am running firefox 21 - does it have liking for specific browser?16:18
balloonslol.. I can't imagine but anything is possible16:18
balloonsI have the same.. ff 2116:18
balloonsdid you close the browser completely?16:19
balloonsI'm guessing it's confused by the session information from before16:19
balloonsfginther, so I have a question. if the app can't be introspected with autopilot and thus I'm left sending keystrokes to it instead, is using on using  self.mgr = ProcessManager.create("BAMF") the best way to do that? I know you folks in the QT world never have this scenario, but :-)16:21
fgintherballoons, hmm. I guess that's the only alternative. The app isn't gtk or qt?16:24
balloonsfginther, it's gtk, but not everything behaves so well..16:24
balloonsfor example, try introspecting a big fat gtk app like libreoffice, thunderbird or firefox :-)16:25
balloonsnow that pitti is here I hope we can crack some of those nuts, but we'll see16:25
fgintherballoons, ack, I was unable to introspect a simple python gtk app I constructed due to what look like bugs or missing features in autopilot16:26
balloonsfginther, exactly.. so having something to fall back on is nice16:27
=== _salem is now known as salem_
Vasudevanis there a way to know at run time if the target app  is of type gtk/qt etc?16:35
Vasudevani am very new to gtk/qt...16:36
balloonsVasudevan, in general everything on the ubuntu desktop that we're trying to test is gtk16:38
Vasudevanis that info part of introspection model or are there any external app manifests/yaml etc?16:38
balloonshowever all of the unity next stuff, apps, desktop, etc are all moving to QT16:39
Vasudevanballoons, ok,16:39
Vasudevanso test cases with autopilot 1.3 would work for both types using  proxy got from launch_test_application - is that a right assumption?16:42
balloonsVasudevan, I believe 1.3 is agnostic in that regards now yes16:49
balloonsDanChapman, how is it going?16:49
DanChapmanballoons yeah going good here :)16:59
elfyballoons: is apport and ubuntu-bug working properly yet from saucy?17:02
balloonselfy, it's not turned on17:02
elfythat'd be it then17:03
elfyso - create bug and add it to isoqa17:03
balloonsI certainly had some fun crashes :-)17:03
balloonsbut it was all related to the beta catalyst driver it seems17:03
balloonsor most of it17:03
elfywell one of the forum mod's is crashing with wireless - which makes it even better fun :p17:03
elfyballoons: mmm - so if it's not turned on will ubuntu-bug still try and create the reports they can use in a manual bug17:05
* elfy really should get back up to speed properly ... 17:05
balloonselfy, the upload process isn't turned on yet. They don't usually enable it till after the sync is completed I believe17:14
DanChapmanuii17:14
elfyubuntu-bug seems to be working here - was being lazy - sorry balloons17:15
balloonsDanChapman, ready to merge? :-)17:16
Vasudevanwhen using launch_test_application, ProcessManager.register_known_application call is required?17:17
DanChapmanjust proposed17:18
balloonssweet!17:18
balloonsDanChapman, ohh.. this case is a bit ugly, we should clean it up :-)17:20
balloonsalls those sleeps :-(17:20
DanChapmanyeah no probs :D17:21
balloonsuse the Eventually matcher17:21
balloonsVasudevan, you have to register all unkown applicatoins17:22
Vasudevanreagrdless of the way it is started..17:23
balloonsVasudevan, you don't need to register it if you use launch_test_application17:24
balloonsyou do need to register it if your using process manager (because you can't introspect the application and are forced to do it :-()17:25
balloonshttp://unity.ubuntu.com/autopilot/api/process.html?highlight=register#autopilot.process.ProcessManager.register_known_application17:25
balloonssee the list ^^17:25
balloonsDan I'll wait for you to clean up those sleeps before merging17:29
Vasudevanok,  yesterday I tried tweaking all these test cases to 1.3 API and was getting process-stderr: {{{Gtk-Message: Failed to load module "autopilot"}}}, RuntimeError: Unable to find Autopilot interface. etc17:29
DanChapmanballoons, ok on it now17:29
Vasudevanusing  launch_test_application17:29
balloonsI'm close to pushing the firefox test also17:29
balloonsVasudevan, if autopilot launch APPNAME fails, then you can't introspect it17:30
balloonswe can then file a bug to get support for the app, but if we want to have a test for it anyway, we can use autopilot without introspection. It definitely limits what we can do, but it is possible17:31
Vasudevanit was launching allright, no further activity17:31
balloonsif the module fails to load, you can't introspect it17:31
balloonswhat app was it>/17:31
balloons?17:31
balloonsDanChapman, you can introspect evince so definitely want to convert that to using introspection17:33
Vasudevanran all the scripts - I will put one in  pastebin - I can not use the public pad17:33
balloonsVasudevan, why don't you just pick one to focus on for the moment?17:33
DanChapmanballoons I have made a start on introspecting it already but might take me a little while :D new tool and all that :D17:34
balloonsfirefox and evince are being worked.. grab another one that interests you17:34
balloonsDanChapman, certainly.. there's a little curve to it, but it's not so bad once you get it17:34
balloonsit's much easier actually :-)17:35
DanChapmanVasudevan have you made your self a member here? https://launchpad.net/~ubuntu-etherpad17:36
Vasudevanhere is the simple one for nautilus - http://paste.ubuntu.com/5694374/17:37
balloonsDanChapman, I added him so he could get in17:38
VasudevanDanChapman, yes, balloons just added me, but I am not able to add my name or use the keyboard on that link for some reason17:38
VasudevanI can see the contents17:38
balloonsVasudevan, ok what's this paste?17:39
Vasudevanwhen I run the nautilus and other scripts, I get the runtime error17:39
Vasudevanballoons, it is here - http://paste.ubuntu.com/5694374/17:40
balloonsok, gonna push the firefox test and start on something else17:40
balloonsVasudevan, I don't see any run or error information in there17:41
Vasudevanballoons are you able to run that script with out error? then it is my env.17:42
balloonsVasudevan, ohh.. no, it doesn't work17:44
balloonshmmm17:44
balloonslet's note that as a bug for the autopilot team to look at17:45
balloonsIt *seems* like you can introspect nautilus but maybe you can't17:45
Vasudevanit is pretty much the same code from the repo, havent done many changes from my side17:45
balloonsI don't see any introspection used in the app though17:45
Letozaf_Hello everyone17:45
balloonsVasudevan, the code in the repo doesn't use introspection17:45
balloonsinstead to convert without introspection you would use:         self.manager = ProcessManager.create('BAMF')17:46
Vasudevanyes - it was simply trying to create a new folder17:46
balloonshowever that's a last resort not a first choice :-)17:46
Vasudevantried processmanager route too yesterday..17:47
balloonsVasudevan, it should convert just fine like that17:47
balloonsI hope the different makes sense to you17:47
balloonsLetozaf_, hello!17:47
Letozaf_balloons, hello17:47
balloonswe're working in this pad: http://pad.ubuntu.com/CFXkuLR7Lb17:47
balloonsI just finished up the firefox test, care to review it?17:48
balloonshttps://code.launchpad.net/~nskaggs/ubuntu-autopilot-tests/firefox_autopilot_1.3/+merge/16541917:48
VasudevanI was trying to see if it creates the folder and did not on my system17:48
balloonsLetozaf_, then we'll strike that off.. DanChapman is working on evince atm.. he converted it, and is now working on the introspection updates for it17:48
VasudevanLetozaf_, hello17:48
Letozaf_Vasudevan, hello17:48
Letozaf_balloons, fine, let me just enter IRC on my notebook17:49
balloonskk17:49
Letozafballoons, here I am :D17:49
balloonsLetozaf, ok, I set you as the reviewer on that17:51
balloonsthen you can dive into any app you wish ;-)17:51
Letozafballoons, on the firefox test :D17:51
balloonsyes17:51
Letozafballoons, ok, so let's review and dive :)17:51
balloonsDanChapman, so how is it going before I dive in.. need help with anything?17:54
balloonsVasudevan, so why don't you make a nautilus1.3 branch and do the conversion and push it17:54
balloonswe can test and review and if you hit a specific issue we'll be able to help you out17:55
balloonsI think I'm going to tackle totem17:57
DanChapmanim good here for now balloons18:05
Letozafballoons, I ran the firefox test I had to review on my notebook but I get a failure : http://paste.ubuntu.com/5694474/  on test_browse_planet_ubuntu18:06
Letozafballoons, I will see if I find out what's the problem18:06
balloonsI see the problem18:07
Letozafballoons, if you run the test alone, it does not fail18:07
balloonsErrore di caricamento is a connection error?18:07
Letozafballoons, yes18:08
Letozaf:D18:08
balloonsthat's the error it gave18:08
balloonsrun it again, should be fine :-)18:08
Letozafballoons, weired now it worked :O18:09
balloonshehe, yea, it failed to load planet.ubuntu.com for some reason.. anyways, excellent18:09
Letozafballoons, :D18:10
Letozafballoons, so do you want me to approve the test or just add a comment  and you approve it ?18:11
balloonsfginther, heh, I just noticed your paste.. you've got a couple slick utility functions.. _walk and _find :-)18:11
balloonsLetozaf, approve it if everything is good18:12
balloonsI'll do the merge work18:12
Letozafballoons, ok18:12
balloonsfor everyone else: http://paste.ubuntu.com/5693940/18:12
balloons^^ the _find function in there can work around the fact autopilot vis doesn't do so a thing18:12
fgintherballoons, thanks. It was just a quick solution to the problem of finding the object handles.18:14
Vasudevanballoons, do I need to generate ssh key to push to launchpad?18:14
balloonsVasudevan, yes.. Let me give you a nice link showing you how to do it18:14
balloonshttps://wiki.ubuntu.com/QATeam/ContributingTestcases/Launchpad18:15
balloonsVasudevan, go through that page and you should be all setup18:15
balloonsfginther, weird.. I'm having trouble with the _walk function though18:23
Letozafballoons, I aproved it18:23
balloonsthe name argument on             self._walk(c, name).. where does that come from?18:24
fgintherballoons, oops.  s/name/text/18:24
fgintherballoons, I should paste a new one18:25
balloonsfginther, lol.. makes more sense.. I was thinking you were getting the name of the property value or something18:25
balloons:-)18:25
fgintherballoons, it does have a problem traversing the entire object tree. It hits what looks like a dbus timeout if it has to search through a large number of nodes18:27
Letozafballoons, are you guys working on  lp:ubuntu-autopilot-tests or lp:~nskaggs/ubuntu-autopilot-tests/firefox_autopilot_1.318:27
Letozafballoons, well without the firefox...18:27
balloonsLetozaf, basically we're making a branch for the 1.3 conversions18:28
balloonsyou can see them in the pad18:28
balloonsbranch lp:ubuntu-autopilot-tests, make your changes, then push to your new branch18:28
balloonsand merge proposal once ready18:28
Letozafballoons, witch pad18:29
balloonsLetozaf, http://pad.ubuntu.com/CFXkuLR7Lb18:29
Letozafballoons, oh! thanks :)18:29
Vasudevanballoons, bzr whoami is throwing error18:30
balloonsVasudevan, what's it say?18:30
balloonsLetozaf, no worries :-) hehe18:30
Vasudevanjust uploaded public key18:30
Vasudevanbzr: ERROR: Unable to determine your name.18:31
balloonsVasudevan, bzr launchpad-login vasudevank218:34
balloonsthen bzr whoami18:34
Vasudevanyes that went through18:34
Vasudevanwhen I do whoami, it shows error18:35
elfywhoami fails for me as well balloons - in fact it gives an error18:35
elfytells you to set it up18:35
elfybzr whoami "Your Name <name@example.com>"18:35
balloonsyou ssh key is not uploaded: vasudevank218:35
balloonshttps://launchpad.net/~vasudevank218:35
balloonsohh wait.. I lied, I see it :-)18:35
balloonsso what happens when you do bzr launchpad-login?18:36
balloonselfy or Vasudevan ^^18:36
Vasudevanno error18:36
Vasudevanno other msgs18:37
elfylogs in fine balloons18:37
balloonsdoes this help? http://askubuntu.com/questions/152239/how-do-i-fix-bzr-error-unable-to-determine-your-name18:37
elfyI assume anyway18:37
balloonsnamely, bzr whoami "Jorge Castro <jorge@ubuntu.com>"18:38
elfyballoons: but it's obviously ok as it let me get the testcases again18:38
balloonselfy, the authentication is commit back :-)(18:38
balloonsyou don't have to login to grab stuff18:38
elfywell it failed the other day18:38
balloonsahh18:39
balloonsno fun.. try the namely, bzr whoami "Jorge Castro <jorge@ubuntu.com" command and see if that works :-)18:39
balloonsbut don't pretend to be jorge18:39
balloonshaha18:39
elfythat works18:39
balloonsawesome.. so I guess update that wiki page to get it right18:40
elfyI'll do it18:40
balloonsty elfy :-)18:40
balloonsVasudevan,  everything working for you now also?18:44
balloonsLetozaf, how's gedit treating you? :-)18:44
elfyballoons: all done18:45
Letozafballoons, :( mmm 4 failures ...18:46
* Letozaf is trying to solve them18:46
balloonselfy, perfect.. your all set now for contributing some tests :-)18:47
elfywell that was the general idea - I'll be playing with some useful testcase over the weekend - I sort of have the syntax sorted in my head :p18:48
Vasudevanballoons, bzr branch lp:ubuntu-autopilot-tests1.3     update nautilus  and bzr push lp:ubuntu-autopilot-tests1.3 ?18:48
balloonsVasudevan, yes so  bzr branch lp:ubuntu-autopilot-tests18:49
elfyballoons: you know the sort of thing - "Does sudo apt-get install xubuntu-desktop" work ... :p18:49
balloonsyou'll get all the tests. Then do a bzr push to make your own branch for working on things18:49
balloonsbzr push  bzr branch lp:~LPNAME/ubuntu-autopilot-tests/YOURBRANCHNAME18:50
elfyso I could do the same for testcases I assume18:50
balloonsso for nautilus, something like bzr push lp:~nskaggs/ubuntu-autopilot-tests/nautilus_autopilot_1.318:50
balloonsthen hack away and do bzr commit locally as much as you'd like18:50
balloonswhen your all done you do a bzr push, and that pushes your code back to launchpad18:50
balloonsit'll show up on this page: https://code.launchpad.net/ubuntu-autopilot-tests18:51
balloonsalong with everyone else's stuff and you can then propose a merge back18:51
Letozafballoons, I was trying to find the commit log of autopilot-gtk I wanted to see if the fix for the problem I was having yesterday has been merged18:54
balloonsLetozaf, ahh yes18:54
Letozafballoons, where is it :p18:54
balloonsactually I found a bug today in autopilot-gtk18:55
Letozafballoons, oh! so you mean introspection is not working ?18:55
balloonsLetozaf, can you link the bug18:55
balloonsno it was something really tiny18:55
balloonsan obscure function in autopilotprocessinwdow didn't work18:56
Letozafballoons, which bug18:56
balloonshttp://bazaar.launchpad.net/~autopilot/autopilot/trunk/view/head:/debian/changelog18:57
balloonsLetozaf, I haven't filed the one I found. No introspection is working.. But some apps it doesn't work on as always, that's all18:57
balloonsLetozaf, I meant the bug you found that was causing you issues18:57
Letozafballoons, oh! but thomi yesterday was saying that there's  already a patch to fix it, I mean the problem I was having18:59
balloonsahh.. so we don't know the bug persay18:59
balloonsthat's fine18:59
Letozafballoons,yes18:59
Letozafballoons, :(18:59
Letozafballoons, thomi also said that it should have been merged the fix I mean by now18:59
balloonsahh.. then feel confident and move forward :-)18:59
balloonsthis totem case is quite a mess, heh19:00
Letozafballoons, I think it could not be completed, do not remember why :(19:02
Letozafballoons, a lot of problems19:02
balloonsno worries.. we'll fix them up19:03
elfyballoons: cool - I found the list of todo testcases - loads of xubuntu ones to do then :)19:03
balloonselfy, indeed19:04
elfy:)19:06
thomimorning19:08
balloonsmorning thomi19:10
balloonsso heh.. hope you've had your tea if you drink it19:10
thomiI notice an awful lot of autopilot chatter here - any questions for me?19:11
balloonsI'm wondering if you could confirm a potential bug I found in autopilot-gtk. The autopilot.process.Window.geometry property fails with an error19:12
Vasudevanballoons, done - bzr push lp:~vasudevank2/ubuntu-autopilot-tests/nautilus_autopilot_1.319:13
balloonsjust try calling it.. I can probably whip something up for it19:13
balloonsVasudevan, excellent.. does it work now with ap1.3?19:13
balloonsthomi that bug chatter above was for you, but I'm guessing you'll want the code example, which might be a bit19:14
Letozafthomi, you remember yesteday's error: self.assertThat(btn, NotEquals(None)) giving  MismatchError: None == None it's still there, is the fix  you were talking about merged ?19:15
VasudevanI changed to use launch_test_application  and attempts to create a folder- it just launches and stays put;19:15
balloonsVasudevan, ahh ok, so the conversion is done, but the test still needs work19:16
balloonsso keep going at it ;-)19:16
thomiLetozaf: no, not yet19:17
Letozafthomi, ah! ok19:17
thomiLetozaf: I'll hassle alesage to get it merged19:17
Letozafthomi, thanks :)19:17
Vasudevanballoons - yes, I am getting the errors that I reported yesterday after conversion19:18
balloonsVasudevan, ok, if your unable to figure out how to fix them, let us know19:18
balloonswe can branch your code and run it too to help if needed19:18
VasudevanI will try to see if it runs on the latest image instead of quantal if it makes a difference19:19
thomiahh, I just remembered that alesage is actually on holiday19:19
thomiso I'll add that to my TODO list19:19
balloons<319:19
Letozafthomi, ok I19:21
balloonsthomi, so I have a question. I think the self.assertProperty feature can let me know things about my app's window, including things like window count and child windows right? How can I know when a child window has spawned, say the 'open' dialog, etc?19:27
thomiballoons: you don't need assertProperty for that - just do the select_single to find the open dialog box object, and then do soemthing like:19:27
balloonsin general, working with children windows was quite difficult before19:28
thomiself.assertThat(open_dlg.visible, Eventually(Equals(True)))19:28
balloonsthomi, yea, the sadness is there often isn't a visible object for it.. or I'm crazy :-)19:28
balloonsI'll try that right now.. thank19:28
Vasudevanballoons, this is the error  since yesterday for nautilus  and gedit also - http://paste.ubuntu.com/5694738/19:30
Letozafballoons, I'm trying terminal test now, but I get this http://paste.ubuntu.com/5694745/ on test_save_a_file19:32
balloonsVasudevan, well one issue here is that your running on quantal right? you really should develop this on raring or saucy19:32
Letozafballoons, that ""Unable to find Autopilot interface." thought I read something somewhere about it...19:32
balloonscan you use a vm if you don't want to upgrade?19:32
Vasudevanballoons, ok then I will try that option19:32
balloonsVasudevan, it would be best to eliminate any issues with quantal19:33
balloonssave some heartache19:33
Vasudevanyes - i can use a vm -  have just one laptop19:33
balloonsgotcha. yep, vm is perfect19:33
balloonsthen you don't even have to worry about the test running wild ;-)19:33
balloonsok so Letozaf yours is weird.. it loads the interface, then complains it can't find it?19:34
Letozafballoons,  :(19:34
Vasudevanballoons, can you point me to the location of the latest img for 13.10 cycle? i will bookmark it19:34
Letozafballoons, look like19:34
Letozafballoons, sorry looks like19:34
balloonsVasudevan, http://cdimage.ubuntu.com/daily-live/current/19:34
Vasudevanok, thanks19:35
balloonsyw19:35
asacgema: nice ... i see a test passed on grouper smoke device ... does it mean there is breakthrough soon :)?19:36
balloonsLetozaf, so how are you doing?19:46
Letozafballoons, for gedit I will wait for the fix to be merged, for terminal still stuck on the error I pasted19:47
balloonsohh right.. let's file a bug for that error19:47
balloonsand keep moving :-)19:47
Letozafballoons, the bug are you going to or do I have to report it ?19:48
balloonsLetozaf, if you would, that'd be great19:49
Letozafballoons, ok19:49
balloonsjust put your paste output in there19:49
balloonstag it with autopilot1.319:49
balloonsso we can track all the blocking bugs19:49
Letozafballoons, ok thanks19:49
balloonsty! :-)19:49
Letozafballoons, yw19:49
balloonsI'm trying thomi's suggestion for finding the child window, but it's not working.. I'm trying to search, but it's timing out I think. Eitheir way it's not finding the window19:50
balloonsthomi, if I had to be hacky, how could I track window counts? got a better alternate approach?19:51
thomiballoons: just in a call, one moment19:51
elfyballoons: do you know what's happening about the schedule being redone to suit what we're going to be doing for saucy - I'm sure I heard someone in vuds saying that19:54
balloonselfy, no.. I didn't see any changes as of yet19:55
balloonsbut I too heard they were going to clean it up.. I was in that session19:55
elfyk - didn't know if you had inside track - I'm subscribed to the wiki - makes it hard to plan if you're actually going to be doing the opt-in things :)19:55
Letozafballoons, Bug #118353619:56
ubot5bug 1183536 in Autopilot " Autopilot 1.3 raise RuntimeError("Unable to find Autopilot interface.")" [Undecided,New] https://launchpad.net/bugs/118353619:56
thomiballoons: this is for a gtk app?19:58
balloonsthomi, of course :)19:58
thomiballoons: bah :(19:58
thomiballoons: you'll need the branch that fixes ap-gtk19:58
balloonsthere's a fix for the issue.. as in I should be able to see the window?19:59
thomiballoons: My guess is that you're hitting the bug in ap-gtk where the selection fails19:59
thomiso you ask for a window that has XYZ properties, and autopilot-gtk refuses to give you anything20:00
thomihowever, that bug is fixed, and it's first up on my list to do to land it (after getting a coffee)20:00
balloonsthomi, well, it's hard to know exactly for sure. I do a selection and it fails. But I also can't find what I'm selecting in the list anywhere. fginther showed off a little _walk function to traverse the property tree.. It doesn't find it either, but it has issues with going to deep into the tree before blowing up :-)20:00
thomiballoons: can you grab the branch with the fix and build it & install?20:01
balloonsok, well I'll just finish the test assuming it will work and commit it to the branch for now20:01
thomiballoons: and then re-try?20:01
balloonsthomi, I'm about tapped out for today.. I can wait if it's coming down the pipe :-)20:02
thomiok20:02
balloonsyou don't need to feel any pressure before getting your coffee in :-)20:02
thomiin that case...20:03
* thomi -> coffee20:03
balloonsLetozaf, so I'm going to commit this and have a look at what's still out there20:03
Letozafballoons, I am trying screenshot now, let's see what happens20:04
Letozafballoons, 3 failures20:08
Letozafballoons, in screenshot I get this error : AttributeError: Class 'Root' has no attribute 'set_focus'.20:13
Letozafballoons, but with autopilot1.2 it worked, could it be the same problem we are waiting the fix for ?20:14
balloonsLetozaf, you can remove the focus stuff20:15
balloonsit was for non-introspection20:15
balloonsyour setup can just have         super(GtkToolbarTests, self).setUp()20:15
balloons        self.app = self.launch_test_application('totem')20:15
balloonsthose couple lines :-)20:15
Letozafballoons, I already did it, but then without the focus stuff I get a OSError: [Errno 2] No such file or directory: '/tmp/shot2.png'20:15
balloonspush it up to your branch20:16
balloonsi'll pull it and look20:16
Letozafballoons, ok20:16
balloonsit's probably a timing issue20:16
balloonsit was so hacky.. we need to be able to detect child windows20:16
Letozafballoons, lp:~carla-sella/ubuntu-autopilot-tests/screenshot-ap1320:21
balloonsLetozaf, I think I've got to tap out20:30
balloons:-)20:30
balloonsit's late for you also20:30
balloonswe'll keep at this tomorrow and next week20:30
balloonsIt's a long weekend here in the US20:30
Letozafballoons, ok, but what was the problem ?20:31
balloonsahh.. let me confirm, one moment20:31
balloonsahh.. yea, timing20:32
Letozafballoons, oh fine!20:33
balloonsshould be trivial to fix once we can detect child windows20:33
balloonsit's basically all done, which is nice20:33
Letozafballoons, good :)20:33
balloonsyou can drop this line at the top now too: ProcessManager.register_known_application("Screenshot", "gnome-screenshot.desktop", "gnome-screenshot")20:34
balloonsit's no longer needed20:34
balloonsalright with that, I'm going for good20:34
balloonsenjoy your night Letozaf20:34
Letozafballoons, ok thanks  have a nice long weekend :)20:34
Vasudevanbye balloons, will try these on the latest build and let you know...20:43
=== francisco is now known as Guest84395
=== salem_ is now known as _salem
kotuxHello, I didn't get to attend today's Hackfest.  What has been accomplished today and what needs work?23:42
Noskcajkotux, use the irc logs. i'll try and find them23:54
Noskcajhttp://irclogs.ubuntu.com/2013/05/23/%23ubuntu-quality.html23:56

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