/srv/irclogs.ubuntu.com/2011/10/18/#ubuntu-website.txt

davidcallemhall119, are you around?11:46
mhall119davidcalle: I am now12:03
mhall119let's get you set up12:03
davidcallemhall119, in fact I'd like to talk about a particular bug.12:03
mhall119ok12:03
davidcallehttps://bugs.launchpad.net/summit/+bug/642132 This one, I'm concerned about it and I'd like to know if I can fix or help fixing it. (Nevertheless, I'd be more than happy to work on other bugs :) )12:05
ubot4Launchpad bug 642132 in summit (and 2 other projects) "openid nickname changes aren't handled (affects: 11) (dups: 6) (heat: 76)" [Undecided,In progress]12:05
mhall119davidcalle: oh that one is easy now12:06
mhall119we had to get an upgraded django-openid-auth package installed on the box, but it's there now, so we just need to add a couple variables to our settings.py12:06
davidcalleGreat!12:07
mhall119in fact, it looks like the variables are already in the code, let me see what's in production12:07
mhall119ok, looks like we just need to deploy the latest summit code12:08
davidcalleWell, in this case... Which bugs on Summit need a hand?12:09
mhall119our most important ones now are bug #865378 and bug #85581012:12
ubot4Launchpad bug 865378 in summit "Support pagination (affects: 1) (heat: 6)" [Critical,Confirmed] https://launchpad.net/bugs/86537812:12
ubot4Launchpad bug 855810 in summit "Error if meeting scheduled in two slots (affects: 2) (dups: 1) (heat: 11)" [Critical,Triaged] https://launchpad.net/bugs/85581012:12
davidcalleOk, I'd like to give a try at 85581012:14
james_wI caused that one, so I can help :-)12:14
james_wI think it just needs to catch that exception in the except block after the line of code in the traceback, but I'd want to look at the code around there and see if it should do something other than ignore the exception12:16
davidcalle*trying to understand the code*12:21
james_wyeah, it's not the easiest bit of code, hence me causing the bug in the first place :-)12:27
davidcalle:-)12:29
davidcalleI'm not really experienced with Django, I'm trying to figure out how every bits relate with the real world website ;-)12:30
james_wso this particular code is running to create the html for one of the little boxes on the track schedule12:32
james_wthose boxes on the track schedule contain the room name, and this particular code is trying to create that bit12:32
james_wit's crashing when a session is scheduled in two places12:32
james_wso one option would be to spot that problem and not put the room on there, as there may be two rooms12:33
james_wanother would be to pick the room for that particular slot and use that one, but I'd have to check the caching first to see if that would work12:33
davidcalleOk, good clarification.12:34
james_wso, at the top of that method you can see it getting things out of the cache12:35
james_wthe cache is only based on the meeting id12:35
james_wso it would be the same cache for both times if the meeting was scheduled twice12:36
james_wso if the rooms were different it would be wrong on one of those times12:37
james_wso I think that the simplest fix is the best one for now12:37
james_wwhich is to just catch MultipleObjectsReturned and ignore it, like it does for ObjectDoesNotExist12:38
davidcalleI was trying to find the name of the relevant exception. :-)12:39
james_wdid you see the duplicate bug? https://bugs.launchpad.net/summit/+bug/86074112:40
ubot4Launchpad bug 860741 in summit "http://summit.ubuntu.com/uds-o/track/foundations/ traceback (dup-of: 855810)" [Undecided,New]12:40
ubot4Launchpad bug 855810 in summit "Error if meeting scheduled in two slots (affects: 2) (dups: 1) (heat: 11)" [Critical,Triaged]12:40
mhall119AlanBell: ping12:40
davidcallejames_w, no, I didn't12:41
james_wdavidcalle, oh, sorry, should have pointed that out earlier, it has the traceback which may have helped12:41
mhall119james_w: when you have a chance: https://code.launchpad.net/~mhall119/summit/schedule-specific-rooms/+merge/7968112:43
AlanBellhi mhall11912:50
mhall119AlanBell: hey, I'm sorry to say I had to disapprove your MP for summit12:53
mhall119you had the right idea, but ended up doing way more work that was needed12:53
AlanBellok12:53
mhall119I took some of what you had and worked it into a separate MP though12:54
mhall119ended up being much smaller, and should be easier to maintain12:54
AlanBellgreat12:54
mhall119I just didn't want you to think that I rejected yours out of some NIH syndrome or something12:54
AlanBellthats fine12:54
mhall119cause I really appreciate having you as a contributor12:55
AlanBellI could see there was "rooms" handling code in the track area, I kind of started from the show "one room" type of schedule12:55
AlanBellso yeah, not surprised there was a better way to do it12:55
AlanBellwhat is the URL structure you went for?12:56
AlanBelloh, I see :)12:58
davidcallejames_w, https://code.launchpad.net/~davidc3/summit/855810/+merge/79683 It's really a quick fix, thanks to you, but I will get started on other bugs asap. :)13:07
mhall119james_w: in david's MP above, do we want to skip showing the room name in the meeting div if there are more than one?13:12
nigelbmhall119: But we know you have NIH :P13:12
mhall119I do, actually, and I have to make concious efforts not to let it adversely affect me13:13
mhall119I used to be much, much worse with NIH13:13
james_wdavidcalle, great, thanks13:42
james_wit would be great to have a test for it, but I don't know how much work it would be in this case13:42
james_wmhall119, I thought that's what it was doing, but are you asking if it is the right thing to do?13:43
mhall119james_w: I'm asking if it's the right thing to do13:49
james_wmhall119, I think it is due to the caching13:49
mhall119james_w: still, most likely both agenda items will be for the same room, so not displaying the room seems wrong13:51
james_wwell, they may be different rooms13:51
mhall119instead of .get, can we do [0] and catch an IndexError?13:51
james_wit could check13:51
mhall119that way we can at least display the first room13:51
james_wbut that's more work, so I suggested this13:51
mhall119my suggestion is the same amount of work13:52
mhall119just a suggestion, I'm not sure how often people are going to care about the room name for a multi-hour meeting on the track-view schedule13:53
james_wbut will put the wrong room on the schedule some times13:53
james_wit's not multi-hour13:53
james_wit's one session with two agendas13:54
james_wso they may be on different days in different rooms13:54
mhall119oh, not sequential?13:54
mhall119consecutive I mean13:54
james_wyeah, it's not slots > 113:54
mhall119ok13:54
mhall119I misunderstood then13:54
james_wif it was I would totally agree13:54
mhall119in that case, david's solution probably is best13:54
mhall119btw, I added a test case to my MP13:55
james_wcool13:56
james_wjust on a call, I'll review them afterwards13:57
mhall119ok14:04
dakermhall119, cjohnston nigelb do we have a BP for this UDS ?15:19
nigelbyep15:19
nigelbwant me to link you?15:19
dakeryep15:19
nigelbhttps://blueprints.launchpad.net/ubuntu/+spec/community-p-summit15:20
nigelbhttps://blueprints.launchpad.net/ubuntu/+spec/community-p-ltp15:20
dakerthat's all we have for LTP15:21
daker[chrisjohnston] Rename from LoCo Directory to LoCo Team Portal: TODO15:21
nigelboh don't wworry15:22
nigelbwe'll end up with pppleeenty15:22
dakermhall119,15:30

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