/srv/irclogs.ubuntu.com/2012/06/05/#launchpad-dev.txt

wgrantwallyworld_: My branch APA branch has landed.00:12
james_wlifeless, get well soon00:17
wallyworld_wgrant:  thanks, will take a look00:24
wallyworld_wgrant: i just pointed chromium at https://launchpad.net/launchpad/+filebug and it works fine00:50
wallyworld_18.0.1025.16800:51
wgrantwallyworld_: Ahh, indeed.00:54
wgrantthe problem in fact affects both.00:54
wgrantwallyworld_: You have to get to the second step using non-AJAX00:55
wallyworld_wgrant: what project were you filing a bug against?00:55
* wallyworld_ tries that00:55
wgrantThat is, enter a summary and click Continue on the first step before the JS changes it to an AJAX Next.00:55
wgrantYou have to be very quick00:55
wallyworld_hmmmm00:55
wgrantThat then POSTs to +filebug to return the second step without AJAX00:56
wgrantWhich presumably lacks some of the JS or something.00:56
wgrant"choices is undefined"00:56
wallyworld_corner case :-)00:56
wgrantYeah.00:57
wallyworld_so i guess i should try disabling the button untill all ajax is loaded or something00:57
wgrantNo.00:57
wgrantThe JS on the second stage should just not crash :)00:57
wgrantAlthough it would be nice to solve the slowness on the first stage too.00:57
wallyworld_i'll see what can be done00:58
wallyworld_the trouble is doing the post before the ajax is loaded sort of violates the expected behaviour00:58
wallyworld_ie it was never designed to handle that use case00:59
StevenKBleh, why does branch deletion always toss me to the "Please try again" page01:00
wallyworld_timeout?01:00
wgrantStevenK: The timeout is too low to delete all 80k branchrevisions01:00
StevenKDROP TABLE branchrevision;01:01
wgrantwallyworld_: The rest of the JS on the second step works fine...01:01
wallyworld_i need to look into it - the whole bug form setup is "complicated"01:02
rick_h_wallyworld_: wgrant which bug is this? (curious)01:02
wallyworld_bug 100854301:03
_mup_Bug #1008543: ChoiceSources on +filebug are empty in Chromium <disclosure> <javascript> <regression> <ui> <Launchpad itself:In Progress by wallyworld> < https://launchpad.net/bugs/1008543 >01:03
rick_h_oh sucky, hadn't seen that one01:03
wgrantIt's actually nothing to do with Chromium. It just happened that I tested it slightly differently in Chromium and Firefox.01:04
wgrantWas apparently slightly slower in Firefox.01:04
rick_h_gotcha, well that's a good thing at least, consistant01:04
wallyworld_yep01:04
rick_h_is this combo loader related? did it work without it?01:05
wgrantUnrelated01:05
wgrantThis is code that was new last week01:05
rick_h_k, cool01:05
wallyworld_rick_h_: we need to support devs running combo loader with un-minified js ie add filter: 'raw', to the config just for devs01:05
rick_h_wallyworld_: yea, agree. I've been doing it manually, but would be nice to have it in config01:06
rick_h_no real reason not to run ith with always raw for devs01:06
wallyworld_rick_h_: we do need devs to run minified if required01:06
wallyworld_for testing etc01:06
rick_h_yea, but really QA would blow up if minifying messed anything up01:06
wallyworld_but we can add a property to the view which used a feature flag01:06
wallyworld_liek we do for yui version01:07
StevenKI think we should just set raw for devmode01:09
wgrantdevmode is evil01:10
wgrantuse feature flag01:10
lifelessjames_w: thanks01:13
StevenKHmmm. Can't reproduce bug 919252 on dev :-(04:10
_mup_Bug #919252: blueprints: can't reset Assignee etc to 'None' via popup <disclosure> <person-picker> <regression> <specifications> <Launchpad itself:Triaged> < https://launchpad.net/bugs/919252 >04:10
wgrantStevenK: Privs?04:21
StevenKwgrant: I'm doing as owner, but I have no idea of the Linaro set up.04:22
StevenKwgrant: And he says he can do it via +people04:29
wgrantStevenK: It's possible that it's been accidentally fixed, I supposed. Have you tried both Firefox and Chromium?04:30
StevenKI don't have Chromium to try04:30
StevenKIt works in Firefox at least04:30
wgrantsudo apt-get install chromium-browser04:36
StevenKwgrant: *sadface*04:36
wgrantYou can't expect to work on a webapp without it.04:36
StevenKwgrant: What about IE, Opera and Konquerer? :-)04:38
wgrantCovering both WebKit and Gecko successfully makes it a lot more likely that Trident, Presto and KHTML will work.04:39
wgrantIt's still nice to test in the other three04:39
wgrantBut testing in two is far far better than testing in one.04:39
wgrantParticularly since they're the dominant browsers04:39
StevenKwgrant: I thought Trident was only 9? Wasn't the engine in 8 something different?04:40
wgrantStevenK: Nope, since IE4.04:41
wgrantExcept for Mac OS versions04:41
StevenKChromium has no Help->About04:48
StevenKI guess Google considers indentification too hard04:49
StevenKwgrant: Works for me on dev with Chromium too04:49
wgrantStevenK: Huh, it doesn't have a classical menubar at all.04:50
wgrantThey must have added it for globalmenus.04:50
wgrantClick the in-window menu icon, then About Chromium.04:50
StevenKwgrant: I'm suspecting it's already fixed, but I don't have acess as a driver to stuff on prod04:55
StevenKwallyworld_: How is information_type ChoiceSource going?04:56
wallyworld_StevenK: it's done, i have to finished the tests. but the tests are breaking due to animation issues so i need to sort that out05:38
wallyworld_StevenK: the code (minus tests) if you are interested, https://code.launchpad.net/~wallyworld/launchpad/infotype-widget-1007984/+merge/10866505:40
adeuringgood morning07:49
wallyworld_StevenK: i've finished updating the tests08:15
wallyworld_https://code.launchpad.net/~wallyworld/launchpad/infotype-widget-1007984/+merge/10866508:15
StevenKwallyworld_: Looks good.08:19
wallyworld_coolio. seems to work nicely08:19
StevenKwallyworld_: Approved.08:22
StevenKstub: https://code.launchpad.net/~stevenk/launchpad/spph-packageupload-index/+merge/108515 would love a review.08:23
=== almaisan-away is now known as al-maisan
stubStevenK: Your partial index WHERE clause is backwards08:25
StevenKOh, IS NOT NULL08:25
StevenKBleh08:25
=== gmb changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: gmb | Firefighting: - | Critical bugs: 3.47*10^2
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
lifelessstub: I'm not here today, sick - I may be a few days getting over this09:25
lifelessstub: the storm and sockets thing; I think my main concern is group abnormal stuff into magical storm handling codepaths09:26
stublifeless: I think I have food poisoning, or some sort of stomach bug.09:26
lifelessstub: like IntegrityError we know the db is live; SocketError - thats kindof a WTF moment.09:26
lifelessstub: ugh.09:26
lifelessstub: my sympathies; I have horrid stomach cramps at the moment - side effect of the virus09:27
lifelessstub: anyhoo, just wanted to put that out there - I'm not totally hostile to storm capturing the error, if those risks are assessed.09:27
lifelessstub: probably we need two distinct bugs though:09:27
lifeless - one for handling the error09:27
lifeless - one for -why- is it occuring09:27
stublifeless: The goal of the Storm code is to reconnect when the db dies or is uncontactable or whatever. By design, this means it will hide failures if we neglect to log them.09:28
lifeless[and the folk that are stressing, (OEM), will only care about the second one]09:28
stubI think we log them though.09:28
stublifeless: yup09:28
lifelessstub: so, if you need sick leave, JFDI, drop uhm elliot francis and I a mail (elliot cause I'm sick ATM, francis cause of this librarian issue so he knows its on hold while you recover)09:29
lifelessI'm going to crawl back off into my little hole and think healing thoughts.09:30
StevenKlifeless: Or stomach amuptation?09:30
stublifeless: IIRC what happens is that Storm catches all the possible crazy i-can't-talk-to-the-database exceptions and reraises them as DatabaseDisconectionErrors, flagging the connection for reconnection. We log the DatabaseDisconnectionErrors. Trick is to make sure we are logging what we should be logging. I think this is handled by storm manipulating the psycopg2 base classes so the disconnection error we catch is actually a psycopg2 exception.09:30
lifelessStevenK: did I mention the razor blade throat with laryngitis ?09:30
StevenKlifeless: :-(09:31
stublifeless: you sound worse than me. I'll probably take sick leave once I've investigated this landscape replication issue.09:31
lifelessstub: I leave it in your capable hands; my main concern is about the 2-bug separation, not one bug w/2 tasks09:31
stubyup09:31
lifelessstub: thanks!09:31
lifelessLynne and Cynthia had this, seems to be a 5-day thing09:31
stuberm... u1 replication issue09:31
lifelessday 2 of it for me (yes, sick on a pub holiday... win)09:32
StevenKstub: That index has landed as r15360 on devel.09:33
wgrantStevenK: That index looks backwards10:44
wgrantIt's packageupload IS NOT NULL, when we want to search for ones where it IS NULL.10:44
stubdid he go an land the backwards version?11:02
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
StevenKwgrant: stub said it was backwards :-(11:43
wgrantStevenK: stub probably mistook it for the PackageUpload.changesfile != None11:49
StevenKAnd ENOSTUB11:55
StevenKLet me revert11:55
wgrantStevenK: Can't revert11:59
wgrantStevenK: Wasn't it applied live?11:59
wgrant(I don't know if it was, but it probably was)12:00
StevenKAnd we have no UK webops to check12:00
wgrantjjo is around now12:00
deryckMorning, everyone.13:09
wgrantrick_h_: Thanks.13:44
wgrantrick_h_: A scan of 22000ish rows is much quicker than a scan of 22000ish rows then a join through 5 multi-million row tables :)13:45
rick_h_wgrant: yea, just got beat into my head that LIKE was evil too much over the years13:46
sinzuiSweet. I just fixed a post-3-ui-cleanup bug. It only took 2.5 years13:47
rick_h_sad that regex was slow, but oh well13:47
rick_h_sinzui: ummm woooo!13:47
wgrantrick_h_: The regex is still pretty fast, but 3x slower so meh.13:47
wgrantrick_h_: (do note though that postgres 9.1 can use trigram indices to satisfy LIKE '%foo%' efficiently)13:48
wgrantIt's just not worth it here.13:48
rick_h_yea, something tells me dropping an 8 table join is probably a good plan regardless of the new plan lol13:48
=== al-maisan is now known as almaisan-away
=== rick_h_ changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: gmb, rick_h | Firefighting: - | Critical bugs: 3.47*10^2
jcsackettsinzui: i'm looking at bug 1007208. do we want to change the character limits for all pickers, or just the person picker?15:25
_mup_Bug #1007208: Searching for 'ev' in the 'add a member' picker fails <disclosure> <person-picker> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1007208 >15:25
sinzuijcsackett, excellent question15:27
sinzuijcsackett, The crux of the issue is that Lp Ids can be 3 characters. Lp has a nasty habit of creating Lp-ids from user email addresses, which are often 2-characters.15:28
sinzuijcsackett, Thus person pickers/searches must support 2-characters.15:29
jcsackettsinzui: right, i totally agree with the ">1" constraint for person pickers. i assume the bug picker doesn't do any checking regarding length, b/c that would be silly. that leaves...branch pickers?15:30
* jcsackett slaps head.15:30
sinzuijcsackett, I think we can say projects and distros are less of a problem because users name them,15:30
jcsackettsinzui: yeah. and as i just realized, branch pickers aren't an issue b/c of branch naming patterns.15:30
jcsackettso this probably is just a person picker issue.15:30
sinzuijcsackett, branch pickers are buggered by design. We might make them workable in a month when we optimise the slow queries to not blindly search all Lp15:31
* sinzui is looking at projects15:31
sinzuijcsackett, we 204 2-character project names, and no complaints. Lets no touch projects15:33
jcsackettsinzui: sounds good to me. i'll leave them alone.15:34
cjwatsonsinzui: of course the case at hand was one where the user deliberately changed his username to a two-character one, rather than it being automatically created from an e-mail address :-)15:39
sinzuicjwatson, I think that is fine. Email addresses and IRC nicks can be two characters, and Lp allows them. It was ridiculous to require users to enter 3 characters to search.15:42
=== beuno is now known as beuno-lunch
=== gmb changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: -, rick_h | Firefighting: - | Critical bugs: 3.47*10^2
=== beuno-lunch is now known as beuno
bdmurrayI've noticed that the list of subscribers is in reverse alphabetical order in the subscribers portlet and I've a fix for this17:01
bdmurrayhowever it seems like this might have been intentional17:02
bdmurray             // With multiple subscribers being added to the same section,17:02
bdmurray            // the last one is listed first.17:02
bdmurrayso before carrying on I wanted to see if it is intentional and if so find out why17:03
bdmurrayoh well there is a bug about it - 912137 so it must be wrong17:05
timrcWhen I review commits in Launchpad I sometimes see 'Timothy R. Chavez <timothy.chavez@canonical.com?' and so no hyperlink is produced for my name... is there something I'm doing wrong?18:36
beunotimrc,18:36
beuno<timothy.chavez@canonical.com?18:36
beunowrong closing18:36
beuno>18:37
beunoneed to fix bzr whoami18:37
timrcright, but where do I specify that... I'm using bzr launchpad-login timrchavez18:37
timrchm ok18:37
beunotimrc, can't change it retroactively, btw18:38
timrcyeah, bummer18:38
maxbtimrc: 'bzr whoami'18:38
timrcyou sort of can with the last commit by uncommitting though18:38
beunoyeah18:38
timrcthanks for helping me with a bzr prob in the #launchpad-dev channel18:38
beunoit's 30 cents extra in here!18:39
timrc;)18:44
=== matsubara is now known as matsubara-dinner
sinzuiwallyworld_, looks like mumble cannot connect properly22:04
sinzuiwallyworld_, wgrant. I am having networking issues with mumble22:06
wallyworld_sinzui: should we try skype?22:06
sinzuiI am killing UbuntuOne22:07
sinzuiwallyworld_, your voice is 3 octaves lower. Did you balls drop?22:09
wgrantsinzui: Sounds like you just need a little bit more upstream bandwidth.22:09
wallyworld_lol22:09
sinzuiMy wife is having trouble too. I think our provider switched us to 1st gear22:10
sinzuiStevenK, I think as a driver you can mess with this https://blueprints.launchpad.net/gdp/+spec/gdplaunchpad22:26
wgrantHm22:58
wgrantWhy is icon-sprites.png in the tree now...22:59
StevenKI just saw that too23:00
wgrantsinzui changed the filename and ignore rule, and I guess someone blindly added the unknown file.23:00
* wgrant fixes.23:00
wgrantExcept that buildbot-poller apparently hates me.23:06
StevenKwgrant: Has your fixed landed now?23:16
wgrantStevenK: No. i suspect that buildbot-poller will remain confused until devel finishes.23:16
StevenKBleh23:17
StevenKwgrant: devel just finished.23:24
StevenKwgrant: Can haz fix landed?23:36
=== rick_h_ changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: 3.47*10^2

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