/srv/irclogs.ubuntu.com/2015/02/02/#ubuntu-autopilot.txt

=== charles_ is now known as charles
doug5balloons, do you know when veebers is around more or less?18:18
balloonsdoug5, yes here in another hour he'll be about18:42
doug5ok cool18:42
balloonsdoug5, he wanted to talk to you about your mp18:43
doug5we have to fix the doc18:45
doug5veebers, hello!19:46
veebershey doug5 hows it going?19:47
doug5veebers, not bad, thx...you?19:47
veebersdoug5: a little tired but otherwise good :-)19:48
doug5veebers, I have updated the mp, but I'm unsure what to do with the docstrings19:53
veebersdoug5: oh cool, I'm just in a meeting at the moment. I'll take a look after that and get back to you :-)19:54
doug5veebers, sure, np :)19:54
thomibarry: got a second?21:58
barrythomi: i got a third and fourth too21:58
thomigreat - you might need them :D21:58
* barry hides21:59
thomibarry: I made a quick and dirty package for selenium here: https://launchpad.net/~canonical-platform-qa/+archive/ubuntu/selenium/+packages21:59
thomiand the problem I'm having is that the distropatch doesn't apply21:59
thomiit's listed in d/patches/series21:59
thomiand the patch itself seems find21:59
thomi*fine21:59
thomibut in the binary package, the patch doesn't get applied21:59
thomiany ideas?21:59
barrythomi: in the package source, you can `quilt push -a` and `quilt pop -a` without error or warning?  sometimes (i forget in which instances) if a patch has fuzz, quilt will not be happy22:00
thomihmm22:00
thomino, I can't22:01
thomiok, so the patch needs changing. how do I do that?22:01
barrythomi: here's how i do it:22:01
barry`quilt push -a` until it stops with an error22:02
barry`quilt push -f` to "force" the broken patch to apply22:02
barryfix the patch (e.g. <edit> <edit> <edit>)22:02
barry`quilt refresh`22:02
barry`quilt pop`22:02
thomiwhich file am I editing?22:02
barry`quilt push` should now have no errors, if it does, rinse/repeat22:02
barrythomi: the files in the quilt patch that fail to cleanly apply22:03
barryquilt should tell you which ones that is22:03
barryand since patch(1) is used,you'll have .rej files for those22:03
thomihmm, I see a .rej file, but I'm not sure how to fix it22:03
barrythomi: that i can't help you with since it's specific to the patch.  it's like resolving a conflict in a $vcs22:03
thomiI assume it's because the offsets in the .patch file are wrong22:04
barrycould be22:04
barrygenerally go through each hunk and manually apply them to the file22:04
thomihow do I know what the correct offsets should be?22:04
thomiahh ok22:04
thomithen how do I get those changes out of the source tree and back into a patch?22:04
barryyou don't have to.  once the source tree is happy, `quilt refresh` will fix the top quilt patch on the stack22:05
thomi... how does it know how to do that? magic!22:05
barryyep22:05
barry`man quilt` talks about this i think22:05
thomibarry: awesome, thanks22:09
barrythomi: good luck!22:09
thomithanks. last thing I need to do now is get it building python2 & 3 packages, which shouldn't be too hard22:10
barrythomi: esp. if it's setup.py based.  pybuild ftw!22:11
thomiyup22:11
rpadovaniballoons, I don't want to be herald of bad news, but your fix for calculator app didn't work :S22:25
rpadovanihttps://code.launchpad.net/~rpadovani/ubuntu-calculator-app/bigNumber150122/+merge/24818322:25
rpadovaniballoons, TBH I'm not sure the bug is in autopilot tests, but maybe (and I underline maybe because I'm pretty confused) in the packaging / files inclusion. Sometimes seems the external file isn't loaded22:26
balloonsrpadovani, :-(22:27
balloonsrpadovani, it definitely helped fix the tests locally for me.. as for bignumber, :-( I thought for sure i was running big number though22:28
rpadovaniballoons, it works also for me, this is the strange, and this is why I'm thinking about package issues22:29
rpadovaniballoons, look to this22:29
rpadovanihttp://91.189.93.70:8080/job/generic-mediumtests-vivid/921/testReport/junit/ubuntu_calculator_app.tests.test_main/MainTestCase/test_operators_precedence/22:29
rpadovaniTypeError: Cannot call method 'format' of undefined22:29
rpadovaniseems mathks isn't loaded22:30
rpadovanibuttons don't count here22:30
balloonsrpadovani, ohh that's not the same issue.. the app neve rlaunched22:34
balloonsrpadovani, I re-ran, maybe it was a fluke22:35
* rpadovani cross fingers22:36
thomibarry: are you able to take a peek at lp:~thomir/+junk/selenium-packaging and advise? It seems like pybuild doesn't honor the data_files kwarg in setup.py?22:37
thomithe build fails with 'error: can't copy 'py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so': doesn't exist or not a regular file', but that file exists in the source tree, and is referenced in setup.py's data_files section22:37
thomiso I think it should work?22:37
rpadovaniballoons, this time 4 fails instead of 5, but 3 out of 4 are different tests :D23:16
rpadovanihttps://code.launchpad.net/~rpadovani/ubuntu-calculator-app/bigNumber150122/+merge/24818323:16
rpadovaniballoons, actually, it want to was a :S, not a :D23:16
rpadovaniI'm quite confused23:16

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