/srv/irclogs.ubuntu.com/2012/06/30/#ubuntu-website.txt

=== daker-cloud is now known as daker_
daker_yo cjohnston15:55
cjohnstonhey daker_16:51
cjohnstondaker_: ping17:33
daker_cjohnston: yo17:33
cjohnstondaker_: I pushed a couple of changes for LTP17:34
cjohnstonI'm working on some others that will make a couple of things easier that we use in Summit17:34
cjohnstonI was doing this while trying to get a working LTP back up to do reviews for you17:34
daker_i'll look at them :)17:34
daker_thanks17:34
cjohnstondaker_: antoher thing that I am working on, best I can tell it works with ltp, is the ability to just update-openids -u chrisjohnston17:35
cjohnstoninstead of having to wait for all17:35
daker_oh yes that's cool17:36
cjohnstonthe one css one that I reviewed last night just needs to be put in the new file and I'm pretty sure itll be good17:37
daker_ok17:37
cjohnstondaker_: how do you do the lint testing and such?17:42
cjohnstonid like to set it up for summit too17:42
daker_cjohnston: https://bazaar.launchpad.net/~ltp-devs/loco-team-portal/0.2/revision/52817:43
cjohnstonk17:44
daker_but for me i use Pylinter plugin for Sublime text 217:46
cjohnstondaker_: I've got myself setup, and am going to do reviews... if you can update things as I go (don't know if you have time) then I'll re-review stuff17:57
daker_i am with you17:57
cjohnstoncool17:57
cjohnstonjust reviewed one.. I think its probably just merge conflicts17:58
daker_what should i do exaclty ?18:00
daker_merge with the trunk then fix the conflicts ?18:01
cjohnstonif you can18:01
cjohnstonif not you may have to manually change the code again..18:02
cjohnstondaker_: do you know that there are three failing tests?18:04
cjohnston(in trunk)18:04
daker_the guest test ?18:05
cjohnstoni dont remember.. possibly18:05
cjohnstonI ran them yesterday18:05
cjohnstonI need to learn how to do testing so that I can get the tests in summit working, and write tests as i build my new site18:06
cjohnstonERROR: testAdminIsATeamChecks (teams.tests.ACLChecksTestCase)18:07
cjohnstonTest if check for a more complicated LoCo Team setup works18:07
cjohnstonERROR: test_update_user_details_long_names (django_openid_auth.tests.test_auth.OpenIDBackendTests)18:07
cjohnstonFAIL: test_anonymous_user (teams.tests.EditTeamTestCase)18:07
cjohnstonERROR: test_current_site_in_context_after_login (django.contrib.auth.tests.views.LoginTest)18:08
daker_no those are the openid_auth tests18:08
daker_or not18:08
cjohnstondaker_: I'm just checking...18:16
cjohnston"datetime.datetime.now()" doesn't require the import time?18:16
cjohnstonand def create_feed(user, url): doesnt require User?18:18
daker_where ? articles app ?18:21
cjohnstoni believe so18:27
cjohnstonyes18:27
daker_cjohnston: now https://code.launchpad.net/~daker/loco-team-portal/fix.978901/+merge/10201918:31
cjohnstonok18:32
cjohnstondaker_: https://code.launchpad.net/~daker/loco-team-portal/fix.978901/+merge/10201918:37
daker_which file ?18:38
cjohnstonline 167 of the mp...18:39
cjohnstonI don't remember which file it is18:39
cjohnstonhttps://code.launchpad.net/~daker/loco-team-portal/fix.identica/+merge/105567  <--- if you give feedback I'll re-review18:39
cjohnstonloco_directory/templates/events/team_event_detail.html18:39
daker_done18:43
cjohnstonhttps://code.launchpad.net/~daker/loco-team-portal/fix.978901/+merge/10201918:51
daker_hmm?18:54
cjohnstonadded a second comment to it18:54
daker_ok18:54
cjohnstonjust a couple things to clean up the look of the form18:54
daker_change what to :18:54
daker_Change to:18:54
daker_<div class="row">18:54
daker_    <section class="span-8">18:54
daker_?18:54
cjohnston<article class="main-content">18:55
daker_ah ok18:56
cjohnstonill be back in a couple hours.. back to the beach.. kids are up from naps19:00
daker_ok19:01
daker_have fun19:02
cjohnstondaker_: I'm back20:50
daker_try now https://code.launchpad.net/~daker/loco-team-portal/fix.960695.meetings-app/+merge/108492 cjohnston20:56
daker_brb20:56
cjohnstondaker_: mhall119_ is ltp still on cranberry?20:59
cjohnstondaker_: http://ubuntuone.com/1PM23ezrCNB2pqSMb6VM1z   does the horizontal line between my 'test' comment and the line with the date look like its a solid line vs all the others being dotted?21:08
daker_40421:10
cjohnstonhttp://ubuntuone.com/1PM23ezrCNB2pqSMb6VM1z  ?21:11
daker_yes21:11
daker_40421:11
cjohnstonhrm21:12
cjohnstonits working for me21:12
cjohnstoni just tried again21:12
cjohnstonhttp://imgur.com/4HMPm21:13
cjohnstondaker_: ^21:13
daker_https://one.ubuntu.com/1PM23ezrCNB2pqSMb6VM1z 40421:13
daker_https21:13
daker_cjohnston: what are you testing ?21:14
daker_ah events21:14
cjohnstonthats with https://code.launchpad.net/~daker/loco-team-portal/fix.978901/+merge/102019  I think I see a problem, but I want someone else to confirm21:14
cjohnstonits the event comments21:14
cjohnstondaker_: if you answered, I missed it.. https://code.launchpad.net/~daker/loco-team-portal/fix.960695.articles-app/+merge/108428  for the articles, it doesn't require User and the datetime doesnt require time?21:21
cjohnstonjust want to make 100% sure21:21
daker_ it doesn't require User21:23
daker_datetime ? where ?21:23
cjohnstonprint "[%s] Updating: %s" % (datetime.datetime.now(), feed.title)21:24
cjohnstonI guess it requires datetime not time21:24
daker_yes and we already import it21:25
cjohnstonI see that now.. approved :-)21:27
daker_ok21:29
cjohnstondaker_: check your email21:38
daker_thanks21:40
cjohnstonits getting really annoying21:40
daker_:)21:42
cjohnstondaker_: it also looks like you need commit messages in LP21:42
daker_?21:42
daker_ah yes yes21:42
cjohnstondaker_: https://code.launchpad.net/~chrisjohnston/loco-team-portal/update-openids-update/+merge/112914  <-- when you test this, ./manage.py update-openids -u chrisjohnston   <-- the one user meathod21:43
cjohnstonmethod21:43
cjohnstonplease ensure though that the old way works.. I have been having internet connection troubles and cant keep a solid connection long enough to go through all of it21:44
daker_maybe you have to add an except21:44
daker_if this user = User.objects.get(username=username) fails ?21:44
cjohnstondoing the one user works.. its when I try to update all of the openids that I lose internet21:45
cjohnstonits a conenction problem and not a script problem, I'm certain, but I would like it properly eested21:45
cjohnstontested21:46
cjohnstonI'll be home in 5 minutes, I hope to get back on in an hour or so and work more21:46
daker_cjohnston:21:47
daker_http://paste.ubuntu.com/1068434/21:47
cjohnstonbut its updating the openid21:48
cjohnstondoesnt matter if the user already exists21:49
daker_no if the user doesn't exist the get function will raise a traceback21:52
daker_The DoesNotExist exception is raised whenever the lookup with get() fails21:53
daker_and the command will not execute the21:54
daker_launchpad.set_user_openid(user, force=True)21:54
cjohnstongotcha21:55
cjohnstoni was thinking you were trying to do something backwards21:55
daker_:)21:56
daker_and i am lost21:56
cjohnstonI dont think you are21:57
cjohnstonare you saying replace lines 24-29 of the MP with your paste?21:59
daker_yes22:01
daker_i rejected this https://code.launchpad.net/~daker/loco-team-portal/fix.960695.events-app/+merge/10846222:02
daker_will work on another one22:02
daker_i hate conflicts22:02
cjohnstonok22:03
daker_cjohnston: https://code.launchpad.net/~daker/loco-team-portal/fix.960695.common-app/+merge/10843922:09
=== daker_ is now known as daker
dakercjohnston: https://code.launchpad.net/~daker/loco-team-portal/fix.960695.events-app2/+merge/11291622:47
cjohnstonok daker..22:52
cjohnstonI'm home.. had dinner.. back on my desktop22:53
cjohnstonlets see what we can work out22:53
cjohnstondaker: doing the "try" thing doesnt work when you don't specify a user (i.e. doing all22:58
cjohnston)22:58
dakerno i think there is something wrong22:59
cjohnstonhttp://paste.ubuntu.com/1068536/23:01
dakercjohnston: http://paste.ubuntu.com/1068538/ ?23:02
dakercjohnston: the sys.exit('Seems that this user does not exist') should inside the except23:04
cjohnstonthat looks better23:04
cjohnstonseems to be running23:04
dakercjohnston: like this http://paste.ubuntu.com/1068561/23:19
dakerlook at yours https://bazaar.launchpad.net/~chrisjohnston/loco-team-portal/update-openids-update/view/head:/loco_directory/common/management/commands/update-openids.py23:20
cjohnstonya.. i havent pushed it again23:20
dakerok23:20
cjohnstonim back on good internet so im testing updating all23:20
dakerok time for bed :)23:21
cjohnstonI feel the same way after a day at the beach23:21
cjohnstonsleep well23:21
daker:)23:21

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