/srv/irclogs.ubuntu.com/2011/09/27/#launchpad-yellow.txt

benjigary_poster: a church friend is taking Katie to the one doctor appointment so I just added a half vacation day for Thursday afternoon to take her to the other12:20
gary_posterbenji, somehow missed that IRC msg, but I see it now, thanks.  I'll go approve12:27
benjithanks12:27
gary_posterapproved12:28
gary_posterbac benji danilos gmb, call in 212:28
backo12:28
gmbok12:28
danilosgary_poster, actually I am on, headset doesn't work12:30
danilosgary_poster, yeah, you are on the speakers :)12:31
daniloshanging up so I fix that :)12:31
gary_posterdanilos keeps rejecting my Skype overtures12:32
danilossorry12:33
danilosmy microphone still doesn't work12:33
danilosgary_poster, haha :)12:34
danilosgary_poster, incidentlog (linked from it)?12:34
danilosgary_poster, I'll check it up, ok12:34
danilosdanilos, I have plenty of things to say! :)12:37
danilosgary_poster, ^12:37
danilosgary_poster, nah, just kidding, thanks :)12:38
danilosok, microphone fixed, I had to install libpulse0:i386 now that skype is installed in an entirely different way12:50
=== benji___ is now known as benji
benjioops, I logged into the Canonical server twice13:09
* gmb -> late lunch / errands13:13
gary_posterearly early lunch (== taking care of baby while wife is out)14:59
bacgary_poster: got a sec for a skype?19:06
gary_postersure bac19:06
gary_posterlogged on now bac19:06
benjiHow does ec2 land communicate with PQM?  I had an ec2 run that ended without me getting any notification.  It at least started and ran for the expected amount of time.19:26
bacgary_poster: https://pastebin.canonical.com/53482/19:34
gary_posterbenji, it sends an email19:34
bacbenji: like all PQM submissions it is via email19:34
gary_posterbac, looking19:34
gary_posterbac, try19:35
gary_poster!print rec19:35
benjihmm, I recently changed my bzr whoami setting (because ec2 land stopped working because my GPG key has my benji@benjiyork.com address not my @canonical.com address); I wonder if that is the problem.19:35
gary_posteroh, but that gives you more than you want bac19:35
gary_posterbenji, that sounds suspucious, certainly19:35
benji("p rec" is easier to type)19:35
benji(and "pp rec" is pretty-printed)19:36
gary_posterthe pretty print won't help here; it is a string19:36
gary_posterso in fact !print is nicer19:37
gary_poster(p will give you \n s in it and stuff)19:37
benjisounds like you need ppp ;)19:37
gary_poster:-)19:37
benjioh you're right, I always forget that "p" is really the repr, that's stupid19:37
gary_posterexcept when it's not :-)19:37
bacgary_poster:  hey, cool, the __repr__ is much nicer than the parts19:38
gary_posteryeah19:38
baclet me paste that19:38
bacand you don't need the !  :)19:38
gary_posterheh, I am paranoid in pdb19:38
benjiwell, if "p" did print, then if you wanted the repr you could just do "!rec"19:38
gary_postertrue, benji19:39
bachttps://pastebin.canonical.com/53484/19:39
benjiI could just make an alias to override "p".  I guess an economist would say that I therefore don't really care.19:41
gary_posterOK, so that's as we expected, to some degree, bac: the first thing that happens is the insert, then something else happens.  I would personally just be stupid and put a pdb right before the flush now.  Another approach would be to instrument the storm stuff and then put a conditional exactly when what we care about happens.  I'll describe that, since it might be more practical19:41
gary_posterso the easiest thing to do to add instrumentation in these tracebacks is to make a variable that has the name __traceback_info__, with the values that you care about, bac19:43
bacgary_poster: i've stepped into the flush at the point where we're concerned but didn't see anything suspicious, just the one newly created bugtask in the _dirty list not the one for generic_task19:43
gary_posterso in flush I might stash obj_info19:43
bacok19:44
gary_posterbac, right, what we want to know is when the _dirty is mutated, and then by whom19:44
bacok19:44
bacso, just create a local var called __traceback_info__?19:45
gary_posterbac, then in _flush_one we could scribble expr in there I guess...thinking...19:45
gary_posteryeah, bac, it will be str'ed19:46
gary_posterbac, here's my crazy plan, I think:19:47
gary_posteryou do that, then we will have the expression that is sent initially through _flush_one19:48
gary_posterthen in _flush_one, right before _connection.execute, you set a pdb if that expression is there.  That way we don't have to press a mind-numbing collection of "continue"s in pdb19:49
gary_posterthen we look at _dirty.19:49
gary_posterthen after each line we look at dirty, being particularly suspicious of _enable_change_notification and _add_to_alive19:49
gary_posteruntil we see when _dirty has been mutated19:50
gary_posterthen we know what to step into19:50
gary_posterthen we re-run, and we actually step into it.  Or similar19:50
gary_posterbac, end of crazy plan.19:50
bacok, so in flush_one i've put in obj_info19:50
bacinto the traceback19:50
gary_posteralso expr, bac19:50
gary_posterof19:51
gary_posteroh19:51
gary_posterthat won't work19:51
bactrying...see what happens19:52
gary_posterbecause it is an instance19:52
gary_posterbac, so maybe "changes"? ok19:52
bacgary_poster: btw, for those following along at home, the endoscopy didn't work so the vet is doing real surgery.  :(19:52
gary_posterbac :-(19:53
gary_posterbac, what is the object?19:53
bacbenji: over in #lp-dev sackett is complaining of pqm woes.  maybe y'all should compare notes.19:58
benjibac: thanks, I hadn't noticed19:58
gary_posterbac, about to get on call with flacoste20:07
gary_posterwill check in with you after20:07
gary_posterbac, I'm off call20:47
bacgary_poster: got distracted with some CHR stuff from abentley20:49
gary_posternp bac, I have my own mysteries (Trying to work with the new pgbouncer fixture)20:51

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