[00:18] <TrickyJ> Ronnie: ??
[00:19] <Ronnie> mhall119, cjohnston, paultag any idea why null=True can be found here: attendee_profile = models.ForeignKey(UserProfile, help_text=_('the name of the attendee'), null=True)
[00:39] <Ronnie> 99% of the data is imported correctly. the only problem (besides the User), is the subclassing of BaseEvent. Passing variables to TeamEvent and GlobalEvent does not work correct. The 'own' variables are stored correctly, but the BaseEvent params are empty
[00:49] <czajkowski> mhall119: ping 
[00:59] <Ronnie> hmm, i see subclassing is a onetoone field, i guess i can solve that one
[01:10] <Ddorda> ‎czajkowski: here?
[01:11] <czajkowski> not really 
[01:11] <Ddorda> ‎czajkowski: so ttyl
[01:11] <czajkowski> if it's about the mail, can you keep correspondance on mail please . 
[01:11] <Ddorda> ‎yes.
[01:12] <Ddorda> ‎thanks
[02:03] <mhall119> czajkowski: pong
[02:04] <czajkowski> mhall119: tis ok used noggin 
[02:04] <czajkowski> wasa LD issue 
[02:04] <mhall119> :)
[02:04] <czajkowski> said I may as well make use of the time and start re approvals
[02:05] <Ronnie> mhall119: your needed in #django if you have the time
[02:05] <mhall119> Ronnie: on my way
[02:35]  * mhall119 sends czajkowski a virtual Blake to keep her company at Heathrow
[02:37] <Ronnie> mhall119: it totally worked.
[02:37] <Ronnie> ik have now a local copy of loco.ubuntu.com
[02:37] <Ronnie> it takes some time to process the whole script, but it runs without errors (except the User to UserProfile)
[02:38] <mhall119> Ronnie: yay!
[02:38] <Ronnie> mhall119: if you have time tomorrow, could you test my branche, to see if it also works in 1.1.x
[02:38] <mhall119> sure thing
[02:38] <Ronnie> dholbach should be happy
[02:39] <mhall119> I might work an emergency update in to get UserProfile.User in the JSON feed for you
[02:39] <mhall119> unfortunately we've got a lot of stuff in trunk that's not ready to go out, so we can't do a standard deployment
[02:40] <mhall119> Ronnie: do me a favor and file a Critical bug for getting the user field of UserProfile in the JSON feed
[02:40] <Ronnie> i will
[02:40] <mhall119> go ahead and assign it to me too
[02:40] <mhall119> and thanks for all the work you've put been putting in
[02:43] <Ronnie> one of my targets after getting ubuntu membership, was getting more involved internationally. I have to admit, i really like it
[02:44] <mhall119> where are you?
[02:45] <Ronnie> from where... The netherlands
[02:45] <Ronnie> mhall119: i cant set the priority, can you do that
[02:45] <mhall119> yeah
[02:46] <mhall119> I'll make that fix tomorrow, but it'll probably be sometime next week before we can get it deployed
[02:46] <Ronnie> https://bugs.launchpad.net/loco-directory/+bug/692098
[02:46] <ubot4> Launchpad bug 692098 in loco-directory "JSON service does not send the user field for UserProfile (affects: 1) (heat: 6)" [Undecided,New]
[02:46] <mhall119> since LD is hosted on Canonical's servers, we have to put in a request with their IS team to do it
[02:46] <Ronnie> thats ok
[02:47] <Ronnie> good to know anyway 
[02:48] <Ronnie> so, now my mind is ready to go to sleep. No more spooky spinning thoughts
[02:49] <mhall119> yeah, it's pretty late over there
[02:50] <Ronnie> see you tomorrow then
[02:50] <mhall119> g'night
[06:20] <head_victim> When I created http://loco.ubuntu.com/events/team/587/detail/ event it was linked to http://loco.ubuntu.com/teams/ubuntu-au/ that team. Now it's not showing as being for any specific team. I can't see a way to relink it. Is there something I've done incorrectly?
[06:24] <elky> head_victim, file an actual bug on launchpad for it.
[06:24] <head_victim> elky: thanks will do
[06:25] <elky> I can't even poke around to check since i'm crippled by the launchpadname2 bug
[06:27] <elky> head_victim, yeah, maybe adding my clone as admin might be worthwhile
[06:27] <elky> but, it doesn't exist on launchpad, so it might 'splode things
[08:11] <YoBoY> good morning
[13:06] <mhall119> please don't splode loco-directory
[13:07] <mhall119> head_victim: did ubuntu-au change it's name in Launchpad?
[13:07] <head_victim> mhall119: not that I'm aware of, it changed owners is all that I know happened
[13:08] <mhall119> hmmm
[13:08] <mhall119> how long was the event associated with your team?
[13:09] <head_victim> Week or so?
[13:09] <head_victim> Maybe 2 - 3
[13:11] <mhall119> weird, there's no functionality for removing a team from an event in LD
[13:12] <mhall119> I'm not even sure what code might harbor a bug that would do it
[13:12] <mhall119> but file a bug against loco-directory, and we'll see what we can track down
[13:13] <mhall119> and maybe get someone to fix it for you in the db
[13:13] <head_victim> Thanks for that.
[13:14] <mhall119> head_victim: were there any other events for au ever listed in LD?
[13:14] <head_victim> mhall119: I don't think so. I think that was the first one
[13:15] <mhall119> czajkowski: you still stuck?
[17:57] <cjohnston> howdy
[18:38] <leoquant> how was diving cjohnston ?
[18:39] <cjohnston> cold
[18:39] <cjohnston> 56 degrees
[18:39] <leoquant> ah ツ
[18:46] <cjohnston> tethering sucks!
[18:53] <Ronnie> hey all
[18:54] <leoquant> hai Ronnie 
[18:59] <cjohnston> Ronnie: the team members/other members... for some reason they arent sorting for me
[18:59] <cjohnston> plus I added a comment to the review
[19:00] <Ronnie> cjohnston: ill have a look
[19:00] <Ronnie> i can now test with live data :D
[19:00] <cjohnston> other than if it doesnt work, I don't know why it isnt ordering the users correctly
[19:01] <cjohnston> with the json stuff Ronnie ?
[19:01] <Ronnie> yes
[19:01] <cjohnston> I need to learn how to do that
[19:01] <Ronnie> finished the code yesterday
[19:01] <cjohnston> cool
[19:01] <Ronnie> its easy
[19:01] <Ronnie> (altohugh the users and UserProfile are not linked correctly)
[19:02] <cjohnston> that was the new bug correct?
[19:02] <Ronnie> yes
[19:02] <Ronnie> mhall119: will make the fix asap, and hopefully next week it will be included on the server
[19:03] <cjohnston> cool
[19:03] <Ronnie> for JSON: grab the code from this page: https://code.launchpad.net/~ronnie.vd.c/loco-directory/611304
[19:03] <Ronnie> and run: ./manage.py import-life-data
[19:03] <Ronnie> i dont know if migrate, init-ld and update are still neccecairy
[19:04] <Ronnie> the syncing takes a lot of time
[19:04] <cjohnston> i bet
[19:04] <Ronnie> it does a lot of database requests
[19:04] <cjohnston> and im teathered
[19:04] <cjohnston> prolly not a good idaa
[19:08] <Ronnie> init-ld is needed to receive the code from ubuntu-website
[19:08] <cjohnston> yes
[19:16] <mhall119> you can get the ubuntu-website code manually
[19:16] <mhall119> init-ld is just a helper in that respect
[19:17] <Ronnie> mhall119: true, maybe its better to include that one in the future as a separate command
[19:18] <Ronnie> mhall119: maybe its also a good idea, to get only the relevant data from the server datetime.now() - 2 months for the events
[19:24] <mhall119> yeah, I think that would be safe
[19:26] <mhall119> cjohnston: I'm going to push the change to the UserProfile JSON feed to production, unless youhave any concerns
[19:26] <mhall119> it's literally one line: http://bazaar.launchpad.net/~mhall119/loco-directory/fixes-692098/revision/345
[19:30] <Ronnie> cjohnston: first: ^  then: on which page, the team_members/other_members are not sorted?
[19:31] <Ronnie> cjohnston: http://ubuntuone.com/p/UUx/
[19:38] <mhall119> Ronnie: okay, update is made, it's in IS's hands now
[19:39] <Ronnie> then ill make an update to the script, so the fake linking disappears
[19:42] <mhall119> oh nice, rt replies with a ticket # now
[19:49] <cjohnston> Ronnie: for owner.contacts
[19:49] <cjohnston> and add meeting
[19:50] <cjohnston> mhall119: that shouldd be fine
[19:51] <Ronnie> cjohnston: meeting, indeed. ill fix that in a sec. on what pages are the owner.contacts displayed?
[19:56] <cjohnston> owner/contracts
[19:56] <cjohnston> edit tea 
[19:56] <cjohnston> team
[19:57] <cjohnston> mhall119: can we make all the json stuff work with this update?
[19:57] <mhall119> cjohnston: what other json work is needed?
[19:58] <cjohnston> i thought Ronnie had a json patch
[19:58] <mhall119> cjohnston: I think his is all on the consuming end
[19:58] <cjohnston> ok
[19:58] <Ronnie> mine is indeed on the consuming end
[19:59] <Ronnie> ill upload the new versions when the server is updated
[20:00] <cjohnston> cool
[20:10] <cjohnston> Ronnie: one sec.. got a scvreenshot for ya
[20:11] <Ronnie> oke, i already fixed it for adding new meetings, but not for updating meetingd
[20:11] <cjohnston> http://img717.imageshack.us/img717/3333/screenshotfloridalocote.png
[20:12] <cjohnston> Ronnie: mhall119 ^
[20:13] <Ronnie> mhall119: are you able to reproduce the results of cjohnston
[20:15] <cjohnston> The way I did it was created a new instance, syncdb mirate init-ld update then merge in and runserver]
[20:17] <Ronnie> mhall119, cjohnston: any idea why: user__groups__name__in=self.instance.teams.all() does not work, but user__groups__name__in=[self.instance.teams.all()[0]] does?
[20:18] <cjohnston> beyond my skill level
[20:20] <Ronnie> ill now use: teams = [team for team in self.instance.teams.all()]
[20:20] <cjohnston> gotta call
[20:22] <mhall119> cjohnston: it could be that you just don't have team membership for anybody in your new instance
[20:22] <mhall119> Ronnie: .all() returns an iterator, not a list or tuple
[20:23] <Ronnie> mhall119: but i expacted that  __in also needed an iterator (not exactly and list or tuple)
[20:23] <mhall119> you could also do user__groups__name__in=[t for t in self.instance.teams.all()]
[20:23] <Ronnie> mhall119: thats indeed my solution now
[20:23] <mhall119> Ronnie: I don't think it'll take an iterator
[20:27] <Ronnie> cjohnston: mhall119, could you test: https://code.launchpad.net/~ronnie.vd.c/loco-directory/627492
[20:27] <Ronnie> meetings now work
[20:44] <Ronnie> the event location map is now updated too, and works for global events. althoug the placing and styling needs some work
[20:44] <Ronnie> is there someone with knowlegde of the HTML/CSS ?
[21:19] <cjohnston> Ronnie: still not sorted
[21:19] <cjohnston> can you try setting up a new install from trunk and then merge your fixes
[21:20] <Ronnie> oke
[21:31] <Ronnie> cjohnston: im now trying: http://pastebin.com/9rmUxFhv
[21:33] <cjohnston> I didnt import the life data
[21:33] <cjohnston> is that the problem?
[21:34] <Ronnie> i havent tried 'a clean one'. now running into an error. the server is not updated yet. so retrieving live data does not work yet
[21:35] <cjohnston> http://pastebin.com/JPDzhkWK
[21:35] <cjohnston> thats how i did it
[21:35] <cjohnston> because its more like the live version
[21:36] <cjohnston> set it up to run and THEN merge in the patch
[21:44] <Ronnie> oke, trying that one now
[22:02] <Ronnie> cjohnston: indeed, when i follow your method, the sorting fails
[22:05] <cjohnston> Ronnie: afaik thats the way that it should be tested as thats the way we do it
[22:09] <Ronnie> cjohnston: i do not agree, because the data on the local side is different from the server. On the local side, the users have no groups. therefore the code cannot work. On the server the users HAS groups, and therefore can be linked to different teams
[22:17] <Ronnie> cjohnston: if you manually add users to some groups, the script works. So, i guess there is nothing wrong with the code, but with the initial script for the local part
[22:18] <cjohnston> mhall119: ping
[22:18] <cjohnston> what do you mean has groups vs doesnt have groups
[22:18] <cjohnston> a local copy of ld knows what team you belpong to
[22:18] <mhall119> cjohnston: pong
[22:18] <Ronnie> cjohnston: why does users have no group assigned then?
[22:19] <mhall119> okay, when setting LD up locally, init-ld will create users from team admins in LP
[22:19] <Ronnie> the import-life-data (shouldn't that be live instead of life? ) creates a mirror of the server (as far as security and privacy allows)
[22:19] <mhall119> but it won't assign them to a team/group until they actually log into LD
[22:19] <mhall119> yes, s/life/live/
[22:19] <cjohnston> mhall119: how should this be tested
[22:20] <mhall119> cjohnston: log in using openid, that should assign your user at least to a group/team
[22:22] <Ronnie> mhall119: when i login with openid, no UserProfile is created. but the User is indeed linked to the group
[22:22] <mhall119> hmmm, I thought we were creating profiles at login....
[22:25] <Ronnie> mhall119: i think it creates the profile when the profile is called the first time
[22:26] <mhall119> hmmm...
[22:27] <mhall119> that was dholbach's area, I'm not as familiar with it as I would like
[22:33] <Ronnie> ill mark it as a bug then. high priority?
[22:33] <Ronnie> mhall119: ^
[22:33] <mhall119> I don't know on priority, there might be a reason they're not being created on login
[22:37] <Ronnie> mhall119: true, lets wait for an answer from dholbach first then
[22:38] <cjohnston> when i set it up, it knows what team im on
[22:38] <cjohnston> so it should know what team everyone is on
[22:39] <cjohnston> unless because the other users havent logged in,it doesnt know cause it hasnt already downloaded it
[22:39] <Ronnie> cjohnston: does is know also when you not have logged in?
[22:40] <cjohnston> i dunno
[22:40] <Ronnie> cjohnston: can you see yourzelf as a member of your own team, when editing your team details?
[22:40] <mhall119> it only gets membership details for a user when they log in
[22:41] <cjohnston> Ronnie: no
[22:41] <cjohnston> noone shows up
[22:42] <Ronnie> cjohnston: when you lookup your User, in the admin interface, is the group your in activated?
[23:25] <TrickyJ[a]> Ronnie hi
[23:26] <TrickyJ[a]> hi
[23:26] <Ronnie> hey
[23:27] <TrickyJ> :)