[02:05] yay @ 3KB/s from LP [02:05] (not LP's fault - the weather is messing up my internets) [02:08] The cold should be improving conductivity! [02:36] lifeless: Morning [02:36] lifeless: It was just one page [02:36] wgrant: Everyone must be home and using the internet in the cold ;) [02:38] http://www.stuff.co.nz/national/5434460/NZ-set-for-perfect-snowstorm [02:39] Also, it was a db heavy page, so now I think it was probably okay. [02:39] Sounds right. You should listen to lifeless talk about his Internets at 5pm [02:39] *hates* [02:40] haha [02:40] oh. Today's a Monday and its a holiday! <3 [02:43] grah [02:43] so.umask [02:43] ... [02:43] and then restores it [02:43] no finally. [02:43] no cleanup. [02:43] -> how to mess up an entire test run if one test fails. [03:13] poolie: could you spare a few minutes to teddy bear a design with me ? [03:31] nigelb: better pics - http://www.stuff.co.nz/national/5443420/Major-weather-disruption-around-NZ [03:32] lifeless: it looks beautiful [03:33] of course, I'm saying this while bathed in sunlight ;) [03:38] nigelb: better pics - http://www.stuff.co.nz/national/5443420/Major-weather-disruption-around-NZ [04:38] nice [04:45] time to move the python-oops code to python-oops_datedir_repo [04:49] StevenK: any chance I can get a couple of reviews from you? [04:49] https://code.launchpad.net/~lifeless/python-oops/extraction/+merge/71507 and https://code.launchpad.net/~lifeless/launchpad/useoops/+merge/71506 [04:49] StevenK: mainly deletes again [04:53] lifeless: Having desktop issues [04:54] steven@liquified:~% ps axw | grep -c "" [04:54] 153 [04:54] StevenK: ugh [04:54] StevenK: \o/ [04:54] ^ That isn't helping [04:54] StevenK: sure its not a lp test run parent ? [04:54] No, they're all gnome stuff [04:56] heh [04:56] https://launchpad.net/python-launchpad-filesystem [05:08] # XXX AaronBentley 2009-11-26 bug=488950: There should be separate storage for oops messages. [05:08] lifeless: Haven't you dealt with that? [05:10] StevenK: no [05:10] StevenK: by the end of the arc I will have [05:10] but changing that means fixing the oops-tools bug about actually using the common extracted code. [05:16] lifeless: Both approved [05:16] thank you! [05:17] * StevenK tries to swap back the state he had before the reviews, fails [05:17] :( [05:17] sorry! [05:21] File "/home/steven/launchpad/lp-branches/link-branch-to-private-bug/lib/lp/code/model/branch.py", line 181, in setPrivate [05:21] raise BranchCannotBePrivate() [05:21] :-( [05:21] probably nee da privacy policy [05:21] or non-junk or non-distro branch [05:21] I've been trying to work that out [05:22] The code isn't being very helpful [05:26] lifeless: So I have a product branch, and it still raises the exception. But I don't want the branch to be private by default -- I'm trying to go for what we do with LP itself. [05:32] are you making it private as an admin ? [05:32] No, I'm not. [05:32] I'm wondering if I should [05:32] I suspect you need to., [05:32] AFAIK we have no 'user can opt in' story that is polished :) [05:33] This is in model code, so I probably need to removeSecurityProxy() [05:33] Which makes me sad. [05:49] * StevenK grumbles [05:50] IBugBranchSet.getBranchesWithVisibleBugs iterates over a collection of branches it is passed, and doesn't deal with unauthorized errors [06:14] lifeless: Can haz review? [06:22] if you give me a url [06:23] StevenK: I see it [06:23] uhm [06:23] lifeless: Um? [06:25] uhm [06:26] reviewed; twice :) [06:26] I have to go cook v. soon but I can discuss later, or tomorrow [06:27] lifeless: Public branches can become private -- we use this in LP occasionally [06:27] admin only functionality [06:27] Right [06:28] with this change as it stands, I can make anyone's branch private [06:28] I will discuss it with Curtis tomorrow [06:28] and without a privacy policy, they can't even undo that IIRC [06:31] I've commented in the bug [06:43] you're going to love the next review :P [06:44] Find someone else? Like Henning? :-) [06:44] sure :) [06:44] I've deleted the guts of python-oops, moved it to python-oops-datedir-repo, and added a new new core :) [06:45] datedir-repo? [06:45] Why? [06:45] because thats what the code really is all about [06:45] the structure we need is getting clearer the more I pull things apart [06:46] the lp oops system currently uses an oops repository based around directory named by the date [06:49] anyhow - for whomever feels like it - https://code.launchpad.net/~lifeless/python-oops/extraction/+merge/71510 +248 - 847 [06:51] lifeless: not sure if it isn't core. Can you imagine an installation that doesn't use the directory storage? I thought it would be required as a backup for when more advanced data stores fail. [06:53] lifeless: I'm confused in the first lines of the readme - factory = Config(). Is it a misnamed method or a misnamed variable? [06:55] I'm used to factories having __call__ methods rather than create, but I suspect that is just personal style. I guess create is clearer as the factory needs to be configured before use. [06:57] Not really a factory is it with .publish - more an oops_handler [06:58] lifeless: The report is created by the oops_handler. Any reason to prefer oops_handler.publish(report) over report.publish() ? [07:03] stub: reports are just dicts [07:03] stub: see the README in the lp:python-oops [07:03] stub: thats deliberate for interop [07:03] stub: yes, I can imagine an install that doesn't use the directory storage [07:04] stub: e.g. local mq on the box, let that take care of downtime handling [07:04] stub: or even queue in process: by the time you can restart the process, you've gotten network back :) [07:05] I was wondering if the core library would use it as a fallback for exceptions happening in the pluggable storage. [07:05] stub: I think its best not to, so that the core really is lean - e.g. for inclusion on the Ubuntu CD [07:06] stub: where they'd want to use the apport *style* of disk store (one crash per program per user stored at max) [07:06] So exception handler would be logging.log.exception('Unable to store OOPS') [07:07] stub: perhaps; I think there is room for discussion around that. I can well imagine getting bug reports either way. [07:07] stub: for now, my focus is on a reasonable structure for the project(s), and acheiving enough extraction that gpgverify can import and use the library to do oops reporting [07:07] unblocking the SOA project [07:08] stub: if that makes sense [07:09] stub: another way to do fallbacks would be a publisher clients can use that: looks for an id, if not present then log via logging.error that something is wrong [07:09] lifeless, hi, what's the status of our collided changes (re 728220): I could confirm OOPSes produced tonight have the data properly sanitized, so I just marked the bug qa-ok [07:09] stub: I don't think there is a single right policy for all users [07:09] Sure. I do think the OOPS system should never hard fail, so will need some sort of global exception handler and ability to emit meeps when your publication messes up or your dict isn't serializable. [07:09] danilos: I resolved it all [07:10] lifeless, excellent, thanks [07:10] stub: agree on never hard failing; want to think more about what/how to do for that - at the moment we do hard fail if things blow up, so its not a regression in any sense [07:10] danilos: I moved it into the *make* rather than the *write* [07:11] lifeless: We currently put that burden on the call sites in Launchpad. [07:11] stub: overnight scan-branches blew up, its oops writer failed (directory permissions), so it propogated an exception to the root :) [07:11] lifeless, I assume make happens before the write, which is even better [07:11] (appservers get it for free with publication, and scripts don't bother and would just explode on disk full) [07:11] stub: yeah [07:12] stub: so there is room for us to think about an interface which will let scripts to better and not burden appservers. [07:12] danilos: yes, exactly. [07:13] danilos: you can poke at my merge - rev 13684 - if you're interested. [07:14] Yup. try: [code calling non-core] except Exception: log.exception('OOPception') would be fine, assuming all the logging system callbacks are also bulletproof :) [07:17] lifeless, thanks [07:24] stub: perhaps, though for an appserver that would double-log [07:25] stub: so I think this needs a bit more consideraiton [07:30] When did we start naming_modules_with_underscore? [07:34] stub: well, its not lp core, so its more pep8 than anything else [07:34] which says 'when it aids clarity' [07:35] good morning [07:56] stub: so was that by way of review or just discussion ? [08:10] lifeless: r=stub with comments [08:11] stub: thanks! [08:25] lifeless: O hai -- you remember the denorm branch you looked at on Friday? That should be fine to just lp-land, right? [08:29] StevenK: hahahahahahahahahaahahah [08:36] stub: O hai. So you think we should add indexes for BPPH.BPN and SPPH.SPN before we do the population? [08:39] lifeless: that was brilliant reply. [08:39] Need to have a quotes db. [08:39] one of these days I'll host it myself. [08:39] nigelb: SILENCE [08:54] henninge, hi, will you be reviewing today? if so, I've got a branch up at https://code.launchpad.net/~danilo/launchpad/bug-690568/+merge/71394 ;) === henninge changed the topic of #launchpad-dev to: Das Thema für #launchpad-dev ist: https://dev.launchpad.net/ | On call reviewer: henninge | Critical bugs: 238 - 0:[#######=]:256 [08:55] danilos: I will. ;-) [08:55] danilos: can you fix the lint, please? [08:56] henninge, sure, I didn't want it to pollute the diff [08:56] danilos: that's something we'll have to live with if we ever want to get any transitions done. [08:56] henninge, I usually do it post-review though [08:57] oh, that is a good idea, too. [08:57] danilos: cool [09:03] henninge: O hai, are you free? [09:04] StevenK: not right now but feel free to queue ;-) [09:04] henninge: https://code.launchpad.net/~stevenk/launchpad/use-shutdown-ec2/+merge/71522 when you have a tick. Nice small one. [09:07] StevenK: If you don't have an index in place, the population will go really slow (it will take ages to calculate WHERE spn IS NULL) [09:08] stub: Right. I'm doing development of this in a pipe, I will shift a pipe into the middle for indinces [09:12] danilos: r=me [09:12] StevenK: Looking now [09:12] henninge, thanks [09:12] henninge: Thanks! [09:15] StevenK: did you change from shutdown -h to shutdown -P on purpose? [09:15] sounds better to me , just wondering if there may have been a reason not to use -P before. [09:15] henninge: Since the other shutdown call used -P [09:16] StevenK: Ah! (that's not in the diff obviously) [09:17] StevenK: you mention a bug report but there is no bug linked [09:18] henninge: No, but the bug is mentioned in the code I removed [09:18] duh [09:22] StevenK: I assume you have already tried this out? [09:22] I have not [09:23] henninge: It was going to be tested with the landing [09:23] ah, of course ;-) [09:23] StevenK: r=me [09:23] henninge: Thanks! [09:48] gmb: aaaaa [09:48] gmb: Not sure that's a good one to pick. [09:49] wgrant: Any reason other than "That bug will eat your face and you will die?" [09:49] given it's a) difficult, b) DB changes, c) we [09:49] .. might delete nominations later this year [09:49] d) difficult [09:49] e) face eating [09:49] f) kitten will die? [09:50] nom nom nom [09:50] There are pretty unfortunate complexities around SourcePackage tasks that this would eliminate. [09:50] But... [09:50] Ubuntu and lifeless want a rework of how series tasks work. [09:50] Ah. Hmm. [09:51] So I'm not sure it's worth putting a huge amount of time into fixing my second oldest Launchpad bug. [09:51] wgrant: I have up trying to read Zope 3. Much eeasier to read LP code sadly. [09:51] wgrant: Is there any kind of concrete schedule for said reworking? I'm more than happy to punt this if so, but I want it off the Critical list because I keep seeing it and fooling myself into thinking I can fix it. [09:51] At least not until we know what's happening. [09:51] *gave [09:51] gmb: You could just fix the OOPS. [09:52] wgrant: Ah, good idea. [09:52] It only affects a few bugs from before 2007. [09:56] Do changes to security.cfg need to be submitted to db-devel? [09:58] henninge: no [09:58] lifeless: thanks [09:58] dev.launchpad.net/PolicyAndProcess/DatabaseSchemaChangeProcess 9r something like that [09:59] henninge: New permissions are applied before every nodowntime rollout, but revocations are only performed during downtime. [09:59] Regardless, should be landed on devel. [09:59] ok [10:00] gmb: which bug? [10:04] lifeless: https://bugs.launchpad.net/launchpad/+bug/110195 [10:04] <_mup_> Bug #110195: Nominating a bug for a distro release affects all package tasks for that distro < https://launchpad.net/bugs/110195 > [10:07] gmb: I would fix it by making the thing that fails fail cleanly, vs oopsing [10:07] gmb: that will cover the oops bit, because its not something we need to investigate each time it happens [10:08] grr. posting to +check-links with extra information creates 500 error :| [10:10] gmb: you could fix it fully if you want, but as wgrant says, we probably stand to gain a lot by massively simplifying things - no non-series tasks, and nomination a task status [10:13] lifeless: Yes, I agree; I'll make the OOPS not an OOPS and leave it at that for now. [10:16] guys, if I have a bug number, how do I lookup the validity of the bug? [10:16] err, inside LP that is. [10:18] Is there something similar to lp.code.interfaces.branchlookup.IBranchLookup? [10:18] I wonder if I bit more than I can chew. [10:19] IBugSet.getByNumbers() [10:19] or just .get() [10:20] bigjools: where does it live? [10:20] henninge: time to review? https://code.launchpad.net/~jtv/launchpad/pre-824499/+merge/71536 [10:20] lp/bugs/ ? :) [10:20] you need to install bzr grep [10:20] * nigelb installs [10:21] hm, don't see anything like that. [10:21] bzr-grep I think is the package [10:22] ah, maverick+ [10:22] I'm on lucid. [10:22] tsk :) [10:22] lp's deployed on lucid! So its a technically valid excuse :P [10:23] look in lib/lp/bugs/interfaces/bug.py [10:23] there is a pattern to our files y'know :) [10:23] heh, yeah. I should have guessed :) [10:23] there's a PPA with bzr-grep in it somewhere [10:24] it's a cracking plugin [10:24] bzr branch lp:bzr-grep ~/.bazaar/plugins/grep [10:25] I wonder if we can give nigelb the PyCharm licence key [10:25] maybe not, he doesn't have commit access [10:25] To LP? [10:25] yeah [10:25] I thought that's only for Canonical employees? [10:25] if you commit to other OSS projects you could get your own licence [10:26] indeed [10:26] I've given up on PyCharm for now. [10:26] why? [10:26] wgrant: Oh? [10:26] I like vim tbh. [10:26] I have the vim plugin for PyCharm [10:27] it's almost like using vim except you get something from the 21st century [10:27] heh [10:27] but seriously, it's kinda nice having a decent IDE [10:29] how does the Interface thing work? [10:29] standard OOP? [10:30] e_context [10:30] Like, where do I see the function defitions for fuctions in Ibug [10:31] s/interfaces/model/ [10:31] Oh. [10:31] well he can't call stuff that's not in the interface [10:31] the interface is the best place to look [10:31] it also has docstrings [10:32] nigelb: look in the file I pasted earlier and search down for IBugSet [10:32] class IBugSet [10:32] Yeah, I was looking at that. [10:33] jtv: looking [10:34] jtv: why does "rsyncBackupDists" need a distribution parameter? I see no change in the method body. [10:34] henninge: it becomes necessary for accessing configs later, in the follow-up branch. [10:34] ok [10:35] (self.configs becomes indexed by distro) [10:36] jtv: ah yes, I see there are more lilke that! [10:36] bigjools: (maybe a stupid question), does IbugSet.get() correctly take care of hiding private bugs from the person requesting? [10:37] (the docstrings only tell baout bug not found. Not about bug found, but you can't see it situation) [10:37] nigelb: no idea, I've never done any bugs work [10:37] * bigjools would hope that the security adapter does that [10:37] *whee* grep time :) [10:37] check in the security.py [10:38] Nothing about IBugSet in there [10:39] So we don't want to land code changes on db-devel, yet there are some db changes that require code updates. So the best way of handling this is wranging two branches? One launchpad/stable branch with the code changes, and merge this to a launchpad/db-devel branch with the schema change, and run tests for both branches and land separately? [10:39] (yes, pipes should make this workable) [10:39] stub: DB changes aren't allowed to require code updates. [10:39] stub: I think we _have_ to make the code and db changes work independently. [10:39] stub: Or if they do, it must already be landed on devel and deployed. [10:39] I'm adding a NOT NULL constraint. That requires code to make sure it is never NULL. [10:39] Not sure how renaming columns works. [10:40] It doesn't. [10:40] wgrant: Yes. I'm thinking about how to best wrangle this. [10:40] Well, you could do it with triggers. [10:40] Same as renaming tables. [10:40] stub: What needs wranglement? [10:40] I need to land code changes so I can land db changes and keep the test suite passing. [10:41] I'm adding a NOT NULL constraint. Some tests fail. I need to fix these tests on launchpad/devel. [10:41] The code needs to cope with both old and new schemas. [10:41] The code lands on devel. Once it's merged to db-devel, you can land the schema change. [10:41] Yes. [10:41] The code change is then deployed. [10:41] fastdowntime happens later. [10:41] Then it's all done. [10:41] I'm just wondering if the method of wrangling the branches is most efficient. [10:42] I need to do coordinated landing of changes to launchpad/devel and launchpad/db-devel. [10:42] jtv: that's an almost mechanical change ... ;-) r=me [10:42] stub: Why can't you make the devel changes first? [10:42] I am! [10:42] I mean, at an arbitrary earlier point. [10:42] Yes, I sketched out a method of coordinating this. [10:43] henninge: yes, I wanted to keep that separate from the less-mechanical changes. Thanks! [10:43] My code changes are defined as 'what code changes are needed to allow this database patch to land' [10:44] stub: so you need to sequence it [10:44] stub: a) land code that makes sure its never NULL [10:44] let that get deployed. [10:44] then land the schema constraint [10:44] Yes. As I said before, I'm wondering on the best way of wrangling the branches. [10:44] then deploy that, and merge the db side of it to devel after the deploy [10:45] I'm thinking a pipe branch, first pipe from launchpad/stable containing code changes. [10:45] Second pipe from launchpad/db-devel containing the db-changes [10:45] yes, that should work fine [10:45] Run tests for both [10:45] I'd probably just do separate branhces [10:45] but thats me :P [10:46] lifeless: Speaking of you, when are we likely to lose you? [10:46] Due to the impending lifeless-ng. [10:46] wgrant: 38w1d [10:47] Eep. [10:47] The important things seem to be code branch from stable (as this will be merged into the db changes branch, so we don't want devel leaking in there), and to run the tests for code changes (don't break trunk) and code changes + db patch (the changes actually let me land the patch) [10:47] wgrant: normal births occur from 37w0d to 42w0d [10:47] I know that much :) [10:47] stub: landing separately will naturally run the changes separately :) [10:47] yes [10:48] wgrant: I don't know what they teach at aussie schools ;P [10:48] Hah. [10:48] lifeless-ng? [10:48] in this case, knowing what code changes are necessary requires running the test suite with the dbpatch [10:48] bugid is er what type of variable? [10:49] stub: I would be lazy; make the db branch, submit to ec2, if it lands \o/ if it doesn't, the error list will tell you what you need to change :) [10:50] lifeless: So skew in LaunchpadDatabaseRevision might actually be a good thing, as it gives us a little transition state during the period when patches are deployed on some databases and not others. Or it might just be a footgun. [10:51] stub: depends on what you mean by skew [10:51] stub: with transactions we have skew between slaves [10:51] stub: but never between the version on a slave, and the schema on the slave. [10:52] stub: what I meant by skew was a schema that doesn't match LDR [and not just an index existing] [10:53] ! http://mp3fs.sourceforge.net/ [10:53] Need to think about it anyway. [10:54] I have an oops from my local instance, how I see the full OOPS? [10:54] (its an XHR call, so I can't actually see the page) [10:54] That FUSE idea is an interesting solution. [10:56] nigelb: /var/tmp/lperr/*/* [10:56] lifeless: thanks! [10:57] I may have run into a security problem. Gotta try and confirm. [10:57] nigelb: what are you hacking up ? [10:58] lifeless: making the linkage of bugs similar to branches, greyed out if the bug doesn't exist [10:59] nigelb: uhm [10:59] nigelb: do you mean linkification ? [10:59] yeah [10:59] bug 4595 actually I think [10:59] so, a few tips [10:59] <_mup_> Bug #4595: Don't auto-linkify non-existent bug reports < https://launchpad.net/bugs/4595 > [10:59] hah, whoever claimed easy is probably lying [11:00] I agree [11:00] I touched javascript and some python, not easy, but fun :) [11:00] I've got it down to harvesting, posting the bug numbers via xhr call, returning invalid bug numbers. [11:01] are you doing it via a webservice call post lost ? [11:01] I'm doing it via an xhr call to +check-links [11:03] I almost got it I think :) [11:03] (except for a possible security concern) [11:04] \o/ It works [11:06] Bah. Need separate branches or db-devel ends up in the code changes. Duh. [11:08] lifeless: It works \o/ Sadly, the I run into the security issue I feared. [11:08] henninge: here's the follow-up to my earlier branch, if you still have time: https://code.launchpad.net/~jtv/launchpad/bug-824499/+merge/71544 [11:18] jtv: time? who owns time? [11:19] henninge: Not saying you have to own it. You might be holding someone else's, for instance. [11:34] jtv: I won't be able to start for another hour or so, I am sorry. [11:34] * henninge is off to lunch === henninge is now known as henninge-lunch [11:38] henninge-lunch: OK — I may be gone when you get back. [11:46] who has worked on bugs that I can take help of? [11:53] nigelb: most folk [11:55] lifeless: oh. [11:55] I just need some help trying to make sure I show only bugs that are visible to the current user, not just valid. [11:56] IBugSet.get() only checks if I have e permission. [11:56] so, I would use search [11:56] not BugSet.get [11:57] because you don't want to check every bug one sql line at a time [11:57] thats pretty much a guaranteed timeout right there [11:57] you can see how to do a narrow search by id if you poke around the bugbranch link code [11:57] wow, that +localpackagediff page is awesome [11:58] BugSet.getByNumbers() is what I recommended earlier [11:58] jelmer: :D [11:58] lifeless: ouch, branches is done that way. [11:58] or so I think. [11:59] Also, bug branch link code? [12:00] I don't know what that is to look for it [12:00] bigjools: that will perform horribly [12:01] nigelb: lib/lp/code/model/branchcollection.py line 408 has some related code [12:01] that might be enough to get you rolling [12:02] *looks* [12:05] bigjools: (the lookup would be fast, but every private bug would trigger separate just-in-time subscription lookups) [12:05] I was only asked about lookup [12:05] bigjools: I know [12:05] * bigjools heads to lunch for real [12:07] adeuring: grahhh regex?! [12:07] adeuring: just use iso8601 [12:07] lifeless: can you explain a bit? [12:08] bin/py -m pydoc 'iso8601.parse_date' [12:08] adeuring: rather than using a regex, use pre-existing code. [12:08] adeuring: if someone messes with a memo, they can get a UDF and we don't have to care [12:09] lifeless: a, thanks. I did not know about this module [12:09] its verra handy :) [12:09] yeah [12:10] I recently added it to our deps, as part of the oops extraction I deleted a very similar regex. [12:12] I thought I could run the Initialize DistroSeries jobs with "./cronscripts/process-job-source.py -vv initializedistroseries" but that fails with "No section key named module." Was a change in process-job-source configuration not applied to this config, or am I running the wrong thing? === benji changed the topic of #launchpad-dev to: Das Thema für #launchpad-dev ist: https://dev.launchpad.net/ | On call reviewer: henninge, benji | Critical bugs: 238 - 0:[#######=]:256 [12:13] lifeless: I'm confused. I don't understand how this works. [12:15] you crate a bugtasksearch params for the user, no status mask, and rather thank saying linked_branches=... you say bug=any(*ids) [12:15] then searchIds which will give you the actual visible ids [12:15] and you're done [12:16] where *ids is my list of ids? [12:16] yes [12:16] ok, more clear. [12:16] One more question :) [12:16] How do I get current user? [12:17] depends [12:17] :P [12:18] oh oh [12:18] if this is a web api, through partial function application [12:18] have a look at the interfaces/* files and look for user parameters with binding decorators [12:19] lazr.restful.declarations.REQUEST_USER? [12:20] something like [12:20] its 0020 [12:20] so I am going to halt() [12:20] wait, what? [12:21] I didn't understand that :( [12:27] nigelb: here's an example: lib/lp/registry/interfaces/person.py, line 1724 [12:27] benji: Ah. I kept seeing that in my grep, didn't realize that's exactly what I wwas looking for. [12:27] Thanks! [12:28] no problem [12:34] lifeless: fancy a review of a new version of my MP? === henninge-lunch is now known as henninge [12:54] henninge: could you have a look at this mp: https://code.launchpad.net/~adeuring/launchpad/bug-739052-5/+merge/71548 ? [12:55] adeuring: wow, that's long [12:55] adeuring: and it has text conflicts [12:55] ouch.. should be 300 or 400 lines. let me check... [12:55] adeuring: 1047 [12:56] benji: Hi! Are you working on a review from the queue? [12:56] henninge: not at the moment, I haven't quite spun up my reviews yet [12:57] benji: ok, cool [13:03] Morning, all. [13:11] morning deryck [13:16] henninge: could have a look again: https://code.launchpad.net/~adeuring/launchpad/bug-739052-5/+merge/71548 (201 lines) === mpt_ is now known as mpt [13:31] abentley, can you hear us? [13:31] deryck: no [13:31] abentley, ok, we don't hear you either. [13:32] abentley, we could do skype if skype works for you. [13:32] deryck: let's try that. [13:32] abentley, ok, adeuring is switching machines and I'll call everyone. [13:34] deryck: restarting. [13:34] deryck: actually, I'll use skype on my phone... [13:34] abentley, ok, that works. [13:34] abentley, I have your number in my contacts it seems. [13:36] adeuring, you ready now? [13:36] deryck: skype is starting... [13:36] deryck: I have skype on my phone. [13:36] deryck: I am online on kype [13:36] abentley, ah, ok. gotchas. [13:38] deryck: try again please. [13:38] abentley, ringing.... [13:39] deryck: I keep hitting the answer button, but it doesn't answer even though it shows it knows I've hit the button. [13:39] hmmm [13:39] and now we lost adeuring. [13:39] yeah... connection dropped... no idea why [13:39] abentley, shall I call your land line? [13:40] abentley, or whatever number I have listed as "real phone" :) [13:40] deryck: no, phone is haywire. [13:40] abentley, ah, ok. [13:40] after exiting Skype, it's still ringing. [13:41] deryck: rebooting. [13:43] deryck: back [13:43] abentley, ok, dialing you in.... [13:46] Hi, could someone help with BugTaskSearchParams? [13:46] Can I give it a list of bugs? [13:46] Or rather, how do I give it a list of bugs. [13:57] nigelb: I've never used BugTaskSearchParams, but lib/lp/bugs/browser/bug.py, line 558 looks exemplary [13:59] benji: Interesting. That's what I first tried and ran into trouble. [13:59] Let me try it again so that I can capture the error message [14:09] benji: yup, getting hit with "TypeError: any() takes exactly one argument (2 given)" [14:10] nigelb: it sounds like you're using the builtin "any", not the one imported from canonical.launchpad.searchbuilder === henninge changed the topic of #launchpad-dev to: Das Thema für #launchpad-dev ist: https://dev.launchpad.net/ | On call reviewer: benji | Critical bugs: 238 - 0:[#######=]:256 [14:10] benji: Ahhh. Yes. Thanks :) [14:11] (I didn't know there was one to import :p) [14:11] adeuring: r=me [14:11] henninge: thanks! [14:28] Is there a way I can use pdb for debugging launchpad stuff? [14:31] nigelb: re. pdb: yes; the easiest thing is to put "import pdb;pdb.set_trace() what is the context? [14:31] oops [14:31] nigelb: re. pdb: yes; the easiest thing is to put "import pdb;pdb.set_trace()" in your code. What is the context? [14:32] benji: I tried that. Didn't work. its a webservice call. [14:32] nigelb: define "Didn't work." [14:32] well, I didn't get dropped to a ppb shell [14:32] *pdb [14:32] and the xhr request was stuck waiting for a response [14:34] nigelb: did the server process have its stdio connected to a terminal? [14:35] benji: I just use make run [14:35] which I'm not sure leaves stdio [14:35] nigelb: I'm not certain it matters, but try bin/run instead [14:37] benji: No, not in a pdb shell this time either. [14:37] Is there a better way to debug stuff that call XHR? [14:38] that's odd; I don't think I've ever seen that symptom [14:38] re. better way: generally having a test that excersizes the misbehaving code would be easier (both for pdb-based debugging and otherwise) [14:39] hmm, yes. that should definitely leave me in a shell, yes! [14:55] nigelb, fwiw I usually use winpdb when debugging any python web services so I don't have to worry about having the server connected to a terminal [14:56] statik: oh? let me read up on that [14:58] nigelb, the first code snippet on this page http://winpdb.org/docs/embedded-debugging/ is what you would need. [14:58] statik: thank you! I've been at this almost all-day :) [14:58] then you connect from the gui debugger [14:59] np, hope it helps. [14:59] deryck: pre-imp call? [15:00] abentley, sure. Just got off a call. Can I have 10 minutes to get coffee, rest my voice? :) [15:00] deryck: sure. [15:00] abentley, I'll ping shortly. [15:19] abentley, I'm ready now. mumble or skype? [15:20] mumble [15:21] Project devel build #975: FAILURE in 27 min: https://lpci.wedontsleep.org/job/devel/975/ [15:22] deryck: https://bugs.launchpad.net/launchpad/+bug/820039 [15:22] <_mup_> Bug #820039: process-mail.py fails with a LookupError: unknown encoding: macintosh error < https://launchpad.net/bugs/820039 > [15:29] statik: winpdb is simply awesome :) [15:34] nigelb: or pycharm "just works" for all this debugging :) [15:35] bigjools: hah, stop tempting me ;) [15:36] nigelb: it has a free 1 month trial [15:36] oh sorry that's not stopping tempting you [15:36] hehe [15:36] nigelb: my productivity went up tenfold when I started using pycharm [15:36] oh sorry that's not stopping tempting you [15:37] Is there a possibility that I can get commit access to LP without being employed by Canonical? [15:37] nigelb: none at all, sorry [15:37] for various $LEGAL_REASONS [15:37] Darn. I guess I should just wait to see if you guys will hire me :) [15:37] heh [15:38] we hired the last prolific contributor [15:38] henninge: before I head out… any questions about the review? [15:38] yeah, but beating *that* contributor is probably going to take about 10 years [15:39] jtv: oh, I assumed you had already gone. [15:39] Tsk. :) [15:39] jtv: I am writing the review right now. All fine. [15:39] Great, thanks [15:39] just a few suggestions [15:39] Even better. [15:47] jtv: sent [15:47] thanks! [15:47] jtv: do you know how MatchesStructure works? [15:47] Yes, but attempts to find it back failed for some reason. [15:47] "find it back" ? [15:48] oh [15:48] jtv: it's in testtools.matchers [15:48] I thought I'd looked there. [15:49] jtv: it is missing from __all__ ... [15:49] That'd do it. [15:49] I don't see it in help(testtools.matchers). [15:50] Meanwhile, the MP hasn't updated yet. Strange. [15:50] jtv, henninge: fixed in forthcoming release [15:50] Great, thanks. [15:50] jml: yes, just checked that ;-) [15:50] Also, http://testtools.readthedocs.org/en/latest/for-test-authors.html is quite complete [15:51] jml: I am eager for that release, MatchesStructure.byEquality is really missing ... ;) [15:51] henninge: nothing to stop LP from using a snapshot of trunk [15:51] I guess ... [15:51] * henninge takes a note to look into that tomorrow [15:52] basically, as soon as https://bugs.launchpad.net/testtools/+bug/804127 is fixed and the other critical bug fix lands, I'm going to do a release [15:52] <_mup_> Bug #804127: assertThat(..., verbose=True) sometimes generates unprintable AssertionErrors < https://launchpad.net/bugs/804127 > [15:52] bac: if you're still up for it, I resubmitted my MP at https://code.launchpad.net/~jtv/launchpad/bug-659769/+merge/71505 [15:53] jtv: i didn't get that far into it. might be best to ask the ocr [15:53] OK [15:53] jtv: did you figure out how it got messed up? [15:53] oh dear. I'm through through a whole bunch of Storm. [15:53] There was a rollback in devel somewhere inbetween. [15:53] jtv: ah [15:54] henninge: not a trace of your review, in email or MP. Are you sure it went in? [15:55] hm [15:55] argh [15:55] "bad signature" [15:55] I'll paste [15:55] Grr [15:56] jtv: pasted [15:56] loading… [15:57] Got it! [15:57] Thanks. [15:59] jtv: good night! [15:59] nn [16:07] bigjools: heh, I respectfully surrender before Launchpad. I think after 9 hours I'm going crazy debugging ;) [16:10] MatchesStructure.byEquality, MatchesStructure.from_example. The great thing about conventions is that there are so many to choose from! [16:13] jtv: please file a bug. we're pretty darn responsive [16:13] Looks like it's already been fixed. [16:14] Ironically, it was the documentation that led me down the wrong path there. [16:14] nigelb: heh, good luck tomorrow [16:14] bigjools: I just realized wallyworld_ offered to mentor me for this. I can now bug him :P [16:14] jml: MatchesStructure.fromExample does work. [16:15] Fixed. [16:15] Cool. [16:15] nigelb: do it [16:16] bigjools: I'm writing out an email ;) [16:18] loggerhead having slight issues? Throwing up errors once or twice === deryck is now known as deryck[lunch] === beuno is now known as beuno-lunch === deryck[lunch] is now known as deryck === beuno-lunch is now known as beuno [18:13] jcsackett, do you have time to mumble? I need help http://pastebin.ubuntu.com/666686/ [18:39] sinzui: i can mumble now. [19:25] benji: could you please review https://code.launchpad.net/~abentley/launchpad/macintosh-encoding/+merge/71599 ? [19:26] abentley: sure, I can right now [19:29] abentley: looks good, I thought of one teeny thing you might want to do in addition [19:29] benji: sure. [19:36] Project db-devel build #811: FAILURE in 6 hr 9 min: https://lpci.wedontsleep.org/job/db-devel/811/ === matsubara is now known as matsubara-afk [20:15] morning [20:16] lifeless! Morning! [20:28] lifeless, do you have time what happens when a bug is made private http://pastebin.ubuntu.com/666686/ [20:30] time what. .. ? [20:31] lifeless: s/do/if/ s/time/time:/ [20:31] lifeless, do you have time to discuss what happens when a bug is made private http://pastebin.ubuntu.com/666686/ [20:31] sinzui: certainly! voice or irc ? [20:31] * elmo guess wrong ;) [20:31] skype? [20:32] oh, wrong bug in paste too http://pastebin.ubuntu.com/666767/ [20:32] signing in now [20:32] elmo: nice try though :) === benji changed the topic of #launchpad-dev to: Das Thema für #launchpad-dev ist: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 238 - 0:[#######=]:256 [21:18] sinzui: bug 405277 [21:18] <_mup_> Bug #405277: Private teams are not able to join other teams (public or private) < https://launchpad.net/bugs/405277 > [21:38] httplib2.SSLHandshakeError: [Errno 1] _ssl.c:499: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [21:38] EEK? [21:39] http://paste.openstack.org/show/2175/ <--- this works on my laptop - but not on another server [21:41] lifeless: ^^ ? [21:41] lifeless: (also, good morning!) [22:01] mtaylor: hi [22:02] mtaylor: oneiric ? [22:04] lifeless: natty on the server (where it doesn't work) maverick on my laptop [22:05] got ca certs installed ? [22:05] uhm. [22:06] lifeless: shouldn't that just be something that's there? [22:06] mtaylor: p'rhaps [22:06] ii ca-certificates 20090814+nmu2 Common CA certificates [22:08] lifeless: what jeblair said [22:09] ok, thats current in natty [22:09] do you have the curl ssl update ? [22:10] (libcurl3, python-pycurl) [22:10] and are you behind a ssl mitming firewall ? [22:10] lifeless: it shouldn't be [22:10] python-pycurl needs installed [22:10] (don't) [22:11] that excludes another bug [22:11] uhm [22:11] 'its not LP' :P [22:11] oh. crud. should uninstall? [22:11] :) [22:11] maverick -> natty was a bump launchpadlib API change [22:11] its possible thats the cause [22:11] bumpy === lifeless changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 238 - 0:[#######=]:256 [22:12] lifeless: well, I mean - I've used launchpadlib on this box before [22:19] mtaylor: sure [22:20] mtaylor: I've no particular insight; there are only two servers you can be talking to (the dual apache SSL unwrappers) [22:20] mtaylor: if either of those was causing browsers to fail validation we'd be innundated [22:20] mtaylor: so I strongly suspect something local to that box/network. [22:33] lifeless: ok [23:14] jelmer: bug 826082 - do you want to roll your function combination back, or fix it up ? [23:14] <_mup_> Bug #826082: BadUrl from safe_open opening a branch < https://launchpad.net/bugs/826082 > [23:32] lifeless: O hai. Can I get your opinion on https://code.launchpad.net/~stevenk/launchpad/testfix-ftpmaster/+merge/71619 ? I'm not really across testtools matching things. [23:33] what about it ? [23:33] the testtools spelling changed between initial landing and release [23:34] Ah, right [23:35] lifeless: Thanks for the analysis. I'll fix it up. [23:40] jelmer: cool, thanks. [23:40] jelmer: and it was all jam :)