[11:46] mhall119, are you around? [12:03] davidcalle: I am now [12:03] let's get you set up [12:03] mhall119, in fact I'd like to talk about a particular bug. [12:03] ok [12:05] https://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] Launchpad bug 642132 in summit (and 2 other projects) "openid nickname changes aren't handled (affects: 11) (dups: 6) (heat: 76)" [Undecided,In progress] [12:06] davidcalle: oh that one is easy now [12:06] we 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.py [12:07] Great! [12:07] in fact, it looks like the variables are already in the code, let me see what's in production [12:08] ok, looks like we just need to deploy the latest summit code [12:09] Well, in this case... Which bugs on Summit need a hand? [12:12] our most important ones now are bug #865378 and bug #855810 [12:12] Launchpad bug 865378 in summit "Support pagination (affects: 1) (heat: 6)" [Critical,Confirmed] https://launchpad.net/bugs/865378 [12:12] Launchpad bug 855810 in summit "Error if meeting scheduled in two slots (affects: 2) (dups: 1) (heat: 11)" [Critical,Triaged] https://launchpad.net/bugs/855810 [12:14] Ok, I'd like to give a try at 855810 [12:14] I caused that one, so I can help :-) [12:16] I 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 exception [12:21] *trying to understand the code* [12:27] yeah, it's not the easiest bit of code, hence me causing the bug in the first place :-) [12:29] :-) [12:30] I'm not really experienced with Django, I'm trying to figure out how every bits relate with the real world website ;-) [12:32] so this particular code is running to create the html for one of the little boxes on the track schedule [12:32] those boxes on the track schedule contain the room name, and this particular code is trying to create that bit [12:32] it's crashing when a session is scheduled in two places [12:33] so one option would be to spot that problem and not put the room on there, as there may be two rooms [12:33] another 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 work [12:34] Ok, good clarification. [12:35] so, at the top of that method you can see it getting things out of the cache [12:35] the cache is only based on the meeting id [12:36] so it would be the same cache for both times if the meeting was scheduled twice [12:37] so if the rooms were different it would be wrong on one of those times [12:37] so I think that the simplest fix is the best one for now [12:38] which is to just catch MultipleObjectsReturned and ignore it, like it does for ObjectDoesNotExist [12:39] I was trying to find the name of the relevant exception. :-) [12:40] did you see the duplicate bug? https://bugs.launchpad.net/summit/+bug/860741 [12:40] Launchpad bug 860741 in summit "http://summit.ubuntu.com/uds-o/track/foundations/ traceback (dup-of: 855810)" [Undecided,New] [12:40] Launchpad bug 855810 in summit "Error if meeting scheduled in two slots (affects: 2) (dups: 1) (heat: 11)" [Critical,Triaged] [12:40] AlanBell: ping [12:41] james_w, no, I didn't [12:41] davidcalle, oh, sorry, should have pointed that out earlier, it has the traceback which may have helped [12:43] james_w: when you have a chance: https://code.launchpad.net/~mhall119/summit/schedule-specific-rooms/+merge/79681 [12:50] hi mhall119 [12:53] AlanBell: hey, I'm sorry to say I had to disapprove your MP for summit [12:53] you had the right idea, but ended up doing way more work that was needed [12:53] ok [12:54] I took some of what you had and worked it into a separate MP though [12:54] ended up being much smaller, and should be easier to maintain [12:54] great [12:54] I just didn't want you to think that I rejected yours out of some NIH syndrome or something [12:54] thats fine [12:55] cause I really appreciate having you as a contributor [12:55] I could see there was "rooms" handling code in the track area, I kind of started from the show "one room" type of schedule [12:55] so yeah, not surprised there was a better way to do it [12:56] what is the URL structure you went for? [12:58] oh, I see :) [13:07] james_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:12] james_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] mhall119: But we know you have NIH :P [13:13] I do, actually, and I have to make concious efforts not to let it adversely affect me [13:13] I used to be much, much worse with NIH [13:42] davidcalle, great, thanks [13:42] it would be great to have a test for it, but I don't know how much work it would be in this case [13:43] mhall119, I thought that's what it was doing, but are you asking if it is the right thing to do? [13:49] james_w: I'm asking if it's the right thing to do [13:49] mhall119, I think it is due to the caching [13:51] james_w: still, most likely both agenda items will be for the same room, so not displaying the room seems wrong [13:51] well, they may be different rooms [13:51] instead of .get, can we do [0] and catch an IndexError? [13:51] it could check [13:51] that way we can at least display the first room [13:51] but that's more work, so I suggested this [13:52] my suggestion is the same amount of work [13:53] just 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 schedule [13:53] but will put the wrong room on the schedule some times [13:53] it's not multi-hour [13:54] it's one session with two agendas [13:54] so they may be on different days in different rooms [13:54] oh, not sequential? [13:54] consecutive I mean [13:54] yeah, it's not slots > 1 [13:54] ok [13:54] I misunderstood then [13:54] if it was I would totally agree [13:54] in that case, david's solution probably is best [13:55] btw, I added a test case to my MP [13:56] cool [13:57] just on a call, I'll review them afterwards [14:04] ok [15:19] mhall119, cjohnston nigelb do we have a BP for this UDS ? [15:19] yep [15:19] want me to link you? [15:19] yep [15:20] https://blueprints.launchpad.net/ubuntu/+spec/community-p-summit [15:20] https://blueprints.launchpad.net/ubuntu/+spec/community-p-ltp [15:21] that's all we have for LTP [15:21] [chrisjohnston] Rename from LoCo Directory to LoCo Team Portal: TODO [15:22] oh don't wworry [15:22] we'll end up with pppleeenty [15:30] mhall119,