[00:26] wgrant: no, they aren't. [00:26] he was going to. [00:26] * wgrant blames email. === Ursinha-afk is now known as Ursinha === matsubara is now known as matsubara-afk [01:54] wgrant, StevenK: ping [01:54] flacoste: when you get up [01:54] https://chinstrap.canonical.com/~stub/splitit/4vs5/diff_shipit-20090810T_212109_vs_204654/ [01:54] do either of you know where build queue entries are kept? [01:55] BuildQueue, you mean? [01:55] flacoste: the request response time degrades terribly as load goes on in that benchmark - we'd want it to stay flat [01:56] wgrant: perhaps [01:56] flacoste: according to that , we'd be able to run at 30-40 concurrent users max on that config [01:56] thumper: What are you looking to do, exactly? [01:56] wgrant: I'm chasing down some weird old buildfarmjobs [01:56] wgrant: there are some entries there that aren't being dispatched [01:56] wgrant: and I'm wondering why [01:56] thumper: These aren't the same ones that don't have a specific_job? [01:57] wgrant: there are 15 old recipe buildfarmjob rows, 12 of those don't have a sourcepackagerecipebuild, 3 do [01:57] I'm wondering what happened to those 3 [01:58] thumper: SourcePackageRecipeBuildJob links SPRBs to Jobs. BuildQueue.job then references that Job. [01:58] So there are three rows that you need to look for for each of those three builds. [01:59] so to go from the buildfarmjob to the buildqueue you need to go through 5 tables? [01:59] that sounds freaking insane [01:59] The links that I just referenced are all scheduled for demolition. [02:00] BuildFarmJob is going to replace all of them. [02:00] wgrant: so BuildFarmJob is the new goodness? [02:00] thumper: That's right. [02:01] wgrant: and sourcepackagerecipebuild is staying? [02:01] Now Translations is on it, I just need to find a free weekend and delete the rest. [02:01] Right. [02:01] SourcePackageRecipeBuild*Job* is dying. [02:01] ok [02:02] but builds are being dispatched through the buildjob right now? [02:03] Yes. [02:03] but not for much longer? [02:03] Correct. Soon only BuildFarmJob, PackageBuild and SourcePackageRecipeBuild will be involved. [02:03] ok [02:03] The BuildQueue and SourcePackageRecipeBuildJob tables will vanish, and everyone will be a lot less confused. [02:03] and no links to the Job table at all? [02:03] Once we have everything sitting well-abstracted on top of it, BuildFarmJob will probably migrate to storing most of its data in a Job. [02:03] cool [02:03] But that's not a significant change, so hasn't been thought about too much yet. [02:03] thanks for the help [02:04] I decided that having BFJ store things in a Job from a start would be even more confusing: it would mean having two Jobs for every build farm task during the migration period. [02:06] so... [02:06] these other three rows have no sourcepackagerecipebuildjob links [02:06] You're not checking on staging, are you? [02:06] hence not being built? [02:07] I am right now [02:07] but I can fling the query at spm [02:07] The staging restore dequeues builds. I don't know if it deletes SPRBJs too. [02:07] But it definitely deletes the BuildQueues. [02:12] so generally speaking i feel i should add fixtures rather than add to the LaunchpadObjectFactory [02:12] is that true? [02:12] poolie: who said what about the factory? [02:14] poolie: can you give me an example? [02:14] sorry, my recollection of it is vague [02:14] i thought that abentley said it was quasi-deprecated? [02:14] or not a good pattern? [02:14] Sampledata is deprecated. [02:14] the example is if i want a thing to establish feature rules for testing [02:14] The factory is very much not. [02:15] wgrant: in the end, the BuildQueue rows are missing for the respective jobs [02:15] thumper: Do they have SPRBJs? [02:15] wgrant: yes [02:15] wgrant: and Jobs [02:16] thumper: There's nothing special about the three? [02:16] wgrant: not that I can fathom without actually looking :) [02:16] wgrant: they are from july [02:16] It could just be a botched deletion, I suppose. [02:17] yeah, I suppose [02:17] If it hasn't happened in three months... [02:58] are daily recipe build jobs being created? [03:32] https://bugs.edge.launchpad.net/launchpad/+bug/649500 is amusing [03:33] I think I saw a bug about that a while ago. [03:33] The issue has certainly been present forever. [03:34] can i have just features/browser.py, or should it be a submodule? [03:34] ah i see there are some precedents for a plain file [03:34] Bug #640435 [03:34] <_mup_> Bug #640435: branch name conflicts with zope.ManageContent [03:34] * mwhudson wtfs at poolie's bug [03:35] i guess it's inherited from some builtin zope thing [03:35] is it a cms or a framework? who can tell [03:36] ah yeah [03:36] Well, the ZTK was meant to fix that duality. [03:36] I think it has. [03:37] j'accuse zope.app.publisher [03:38] yep [03:38] Er. [03:39] Why do we use that? [03:39] \o/ [03:39] * rockstar conquers buildout [03:39] specifically BrowserSkinsVocabulary [03:39] I would have thought all our needs would be in zope.publisher. [03:39] it doesn't seem to add anything we do want [03:40] lib/canonical/launchpad/doc/zcmldirectives.txt:# , [03:40] WTF? [03:40] I get the feeling that I don't want to look at that file. [03:40] well hehy, if we can fix a bug by dropping a dependency [03:41] We still import a whole lot of stuff from it. [03:41] But I'm fairly sure it was all moved to other packages ages ago. [03:42] Oh look, zope.app.publisher imports them from zope.browserpage. [03:42] wgrant: certainly looks like it [03:42] Hm. [03:42] But we still need it for XML-RPC :( [03:45] it's probably not very hard to write a zcml directive that unregisters the offending view [03:46] I'd personally prefer to see if we can stop needing IMethodPublisher, since that's our remaining dependency on zope.app.publisher. There must be a replacement... [03:47] it [03:47] seems pretty tiny [03:47] It really is. [03:48] Hm. Looks like z.a.p might provide the xmlrpc:view ZCML directive. [03:48] So it may be harder to excise. [03:48] Why is that in there, I wonder... [03:50] Ah, the ZTK steering committee appears to have just not yet decided where to put it. [03:50] Grar. [03:52] Hmm. [03:52] What happens if we just remove the zope.app.publisher ZCML inclusion? [03:52] And import just the zope.app.publisher.xmlrpc [03:52] * wgrant tries. [03:54] That seems to have worked. [03:56] i wonder if there's some way of finding all the places where we import from deprecated locations [03:56] Given the recent ZTK reshuffles, that's probably most of our imports... [03:57] All the xmlrpc tests are happy with my fix, and the webapp seems to work. [03:58] I'm not sure how, though. [03:58] Something else must be pulling in the zope.browserpage and co. [04:18] lifeless: got any ideas about https://bugs.edge.launchpad.net/launchpad-code/+bug/537116 ? I don't know where to start looking. [04:18] <_mup_> Bug #537116: bzr branch from launchpad disconnected after exactly one hour === thumper changed the topic of #launchpad-dev to: Launchpad Development Channel | Performance Tuesday ! | Week 3 of 10.10 | PQM is open for business | firefighting: - | https:/​/​dev.launchpad.net/​ | Get the code: https:/​/​dev.launchpad.net/​Getting [04:24] thumper: his firewall perhaps ? [04:24] * lifeless shoots first, asks questions later [04:24] we could try and reproduce [04:25] I suspect something at his end though, because e.g. pulls of LP can be an hour and work [04:42] there's no timeout on our end? [04:43] it's plausible it's his firewall [04:43] a bit strange if it kills an actually active socket though [04:44] spm: do we have anything that would kill a bzr serve process / ssh connection after 1 hour ? [04:44] I can think of several possibilities, but don't *know* which is likely. [04:45] i'd be asking for a snoop that shows the termination. that may be a clue. [04:45] we have code in launchpad that's supposed to kill _idle_ connections after an houe [04:45] *hour [04:45] as far as whether it's killed by a reset or socket close [04:46] mwhudson: where is that code? [04:46] poolie: not sure now since jml shuffled this area [04:46] * mwhudson pokes [04:46] if it was an econnreset it would be more likely to be a router intervention, i think [04:46] but it's just an early eof, which could be anything [04:47] perhaps is slightly more likely to be app code than networking [04:47] poolie: lp.services.sshserver.service [04:47] poolie: line 150-ish [04:49] oh right [04:49] well he's definitely being cut off by the idle_timeout [04:49] but what's happening is that the branching runs for an hour [04:49] poolie: line 150-ish <== was that from memory? or did you look it up? ;-) [04:49] then the connection goes idle [04:49] then an hour after that he's disconnected [04:49] spm: i looked it up :-) [04:50] :-) [04:50] poolie: there is also a bug in conch's ssh key renegotiation [04:50] that usually kicks in after a gigabyte of traffic [04:50] he doesn't seem to be close to that though [04:52] aside from anything else we should upgrade the origin branch [04:56] well, it would be an incredible coincidence for that to happen after an hour [04:57] but perhaps there's a time-based renegotiation too? [04:57] do you have a bug number for that? [04:58] it wouldn't be some reverse speed of light problem maybe? http://www.ibiblio.org/harris/500milemail.html [04:59] poolie: yes, but i can't find it [05:03] poolie: I'm contacting the project owner [05:03] web2py owner that is [05:07] spm if we have users more than one light-hour away, uh.. [05:07] i'll be impressed [05:07] you never know...... [05:08] about 1e9 km [05:09] tcp over spaceship would be painful [05:09] talk about slow start [05:10] lifeless: you've not seen that rfc? it's an update on 1149 [05:10] carrier pigeon? [05:10] http://twitter.com/#!/colmmacuait/status/25352220323 [05:11] nice [05:11] lifeless: indeed [05:11] bwhahaha [05:11] so in a bit of poking around i can't see anything in conch to do with automatically renegotiating keys, based on either traffic or time [05:11] it may well be there but i don't see it [05:11] poolie: it's client side [05:12] spm: heh, that was a good one about 500 miles [05:13] nigelb: *very* old favourite. The Story Of Mel, is another [05:13] spm: Story of Mel? [05:13] http://www.pbm.com/~lindahl/mel.html [05:14] mwhudson: and not implemented by conch as a client? [05:14] poolie: probably not [05:14] mwhudson: but ok, i can see how openssh might ask for a new key after a few gb and then that could cause trouble with the server === Ursinha is now known as Ursinha-afk [05:14] but that's almost certainly not what we're seeing here [05:14] this is infuriating, i spent quite a while looking at this and writing it up and now i can't find it [05:14] poolie: right [05:14] mwhudson: i'm trying to branch from there [05:15] poolie: i think openssh's default is 1 gig [05:15] you can change it [05:15] my connection is faster so it may just complete [05:15] says "depending on the cypher 1-4GB" [05:16] spm I watched "Colossus: The Forbin Project" last night [05:16] had to bite my tongue a lot [05:16] "ffs it never works first time" [05:18] poolie: I've never heard of that one! I shall have to chase! [05:18] visually beautiful === almaisan-away is now known as al-maisan === Ursinha-afk is now known as Ursinha [07:38] lifeless: https://bugs.launchpad.net/bugs/637507 if you haven't seen it. I don't understand the low level stuff or the risks, but sounds like something we might want to do across the board. [07:38] <_mup_> Bug #637507: Uploads with extra data in the .tar.gz rejected unnecessarily [07:38] stub: hey [07:38] stub: see the cassandra mail? [07:39] stub: sigpipe handling; yes, it should really be reset by subprocess automatically. [07:39] lifeless: yes, and pfibiger pinged me this morning. [07:40] stub: a wrapper for it would be useful [07:40] lifeless: I have to think about the timing for the cassandra - my lease on a new house starts the same day. [07:41] meep [07:41] lifeless: knowing the location would be helpful - short haul might be ok [07:41] us I believe [07:41] lifeless: I was told 'up to mariana' [07:41] ah, interesting [07:42] u1 is us centric though, so probably dullas again [07:42] would taipei count as short haul ? [07:42] yes [07:42] I suggested Taipei. 'We should all get to Taipei' I recall from a keynote. [07:43] Only problem with Taipei is I would want to take a holiday there and I can't ;) [07:43] heh [08:24] Why is Dallas so popular? [08:31] cheap, reasonably central [08:31] (I guess, I have no knowledge) [08:33] wgrant: hey, do you happen to know the name of the signal raised in +filebug w/apport ? [08:33] lifeless: Signal? [08:42] event [08:42] thingy dookhicky [08:42] lifeless: To do what? [08:42] I don't know of a special event. [08:53] good morning [08:57] Hi there. I've started getting 'Errors in work item definitions' from 'Launchpad work item tracker ' [08:57] emails. How can I stop them? [08:57] michaelh1: thats not an lp service, for all that its using the launchpad.net domain [08:58] last i heard Martin Pitt was running it [08:58] bigjools: hi; CPing your thing ? [08:58] [thats code for 'had a good weekend?'] [08:58] Right, I'll track pitti down... [09:00] moin [09:03] wgrant: this is what I was meaning [09:03] http://pastebin.com/SHStVhUv [09:04] though, that may not be enough [09:04] I think I need to get a profile [09:04] (can apport be pointed at staging?) [09:05] do i need an __all__ even in tests? [09:06] poolie: Only if they export something [09:07] thanks [09:10] Mornin' [09:10] hi there [09:14] lifeless: APPORT_STAGING=1 ubuntu-bug linux [09:14] IIRC [09:16] the main reason we need __all__ is the import fascist requires that imports be in it [09:16] this is a bit silly [09:16] because you can do module._thing [09:16] you mean it doesn't really guard against using private interfaces? [09:17] right [09:17] it doesn't seem to have any functional benefit [09:18] I think it's a handy check. [09:18] If it works. [09:18] But I don't think it does. [09:18] it hasn't whinged at me much lately. [09:18] Not being very fascist at all. [09:18] I question the value now that security is on the model [09:19] s/ now/ particularly now/ [09:19] It makes some attempts at preserving layering. [09:20] assuming people actually respond by changing the layering, not just updating the paperwork [09:21] wgrant: with the assumption that the layering is useful; the primary differences between view and model code are: [09:21] - some model code is db backed [09:21] - model code wasn't allowed to cache for a while [09:21] - model classes get interfaces (high overhead) and security (useful where it matters) [09:22] re bug 646563, is it really true that login(something); getUserBrowser() doesn't give you a browser as that user? [09:22] <_mup_> Bug #646563: want a way to make a TestBrowser logged in as a particular user [09:22] the first item is a performance problem, the second isn't relevant anymore and the third adds a good 15+ percent to the code base, but *mostly* is just boilerplate. [09:22] let's not forget that the import fascist also prevents us from using storm sorting in view code [09:22] jml: yes, an import 'benefit', that one. [09:23] jml: if you wanted to remove it, I'd be fine with that. [09:23] lifeless: landscape has an importguardian that's, well, better [09:23] jml: I remain fundamentally unconvinced that this is appropriate for python, at all. [09:23] lifeless: last time I tried this, I went to split that out into lazr.importguardian, but got blocked on new lazr packages being very hard to make [09:23] poolie: yes, its true. [09:24] jml: why shouldn't we just remove it? [09:24] What does the guardian do? [09:24] lifeless: don't know, basically [09:25] wgrant: I can't remember the details beyond "like the fascist, but nicer; let's you import for sorting" [09:25] Why were they both created in the first place? [09:25] ahh, now _that_ is a historical question [09:25] so the answer is clearly "for historical reasons" [09:25] Heh. [09:25] i have code to add getUserBrowserAsTeamMember in https://code.edge.launchpad.net/~mbp/launchpad/flags-gui/+merge/36415 [09:26] i might just move that to BrowserTestCase as part of this same mp? [09:26] poolie: Is that really worth its own method? [09:26] I suspect it was to stop programmers from doing bad things like circumventing the interface/security code [09:26] wgrant: how would you write a test that needs a logged in user? [09:26] (as opposed to getUserBrowser(getTeamMember(blah))) [09:26] frankly, that sort of thing, unless there is a really big win, just annoys me [09:27] poolie: [09:27] wgrant: that doesn't seem to work [09:27] lifeless: well, yes :) [09:27] user = self.factory.makePerson(password='test') [09:27] browser = self.getUserBrowser(user=user) [09:27] right, then add them to those teams [09:27] it's only 5 lines but assuming it doesn't exist already, it seems reusable [09:27] I think its a bit of a kludge [09:28] how about this [09:28] getUserBrowser(user=user) resets the users password if its wrong [09:28] or [09:28] how about we make the default password in makePerson be 'test' [09:28] uhm [09:28] I'm not against a convenience helper gluing stuff together [09:28] anyway, I must ablute. back later. [09:28] mm, or i could add a teams=None parameter to getUserBrowser [09:28] I think I'm mainly reacting to the fact that one is needed here. [09:29] poolie: I don't understand why team membership and browser instance creation are coupled. [09:29] they seem like vastly different concerns. [09:29] if you did this: [09:29] getUserBrowser creates a new person [09:29] - change makePerson to use 'test' as the default password [09:30] then you can do the following: [09:31] then gUB will 'just work' [09:31] and if you want a team relationship you can make that and pass in a user (and again it will just work) [09:32] i'm reluctant to change something called by so many tests as makePerson [09:33] and yet that is what makes it valuable to change [09:33] losa ping; I'd like to request profiling on staging please [09:34] lifeless: is it urgent - working on something just at the moment [09:35] mthaddon: I can't claim urgent, but its 2130 for me, if I can get this before I head to sleep I may be able to confirm/deny a theory for the +filebug timeouts. [09:35] and kick it over to deryck for further examination [09:36] can you file an RT and I'll get to it a little bit later on (if you can include the info that's needed to hand over to deryck)? [09:36] another option would be to stash the unhashed password on the object [09:36] mthaddon: no, the info is me analysing kcachegrind [09:36] mthaddon: which is what the profile would give me; if you get a timeslice ping me [09:37] mthaddon: if you don't ping, thats fine, I'll do with someone tomorrow morning. [09:37] lifeless: k, will do - how long of a timeslice would you need? [09:37] lifeless: Do we not have a URL trigger for that yet? [09:37] mthaddon: you edit one config file and restart the appserver; I go play until I have the data; then you revert the config file and restart, and trigger your rsync that copies the profile files to sodium. [09:38] wgrant: we do, but because its not secured it requires a config change to enable it. [09:38] lifeless: ... ah. Useful. [09:38] wgrant: next step is a featureflag to enable it, and a group scoped to 'launchpad' [09:40] sorry, a scope, which looks up the ~launchpad group. [09:41] mthaddon: http://pastebin.com/yTp0TL1D is the change; I'm sure this is in LOSA docs already [10:08] lifeless: diff applied and staging restarted [10:11] thank you [10:13] mthaddon: thanks; revert it anytime you like; and please kick off the rsync of the profiles (AFAIK its not cronned; maybe it is but just very infrequent) [10:13] mthaddon: no rush [10:23] lifeless: realize it's dead late but if you sometime want to do a meta-review on https://code.edge.launchpad.net/~mbp/launchpad/flags-gui/+merge/36415 [10:23] that could be good [10:23] especially as to whether the ui is adequate to start with [10:25] we could do that thursday [10:33] poolie: it sounds fine to me [10:33] mthaddon: when things are not on fire, perhaps you would like to comment on the devops-usability of that mp [10:33] s//of the feature proposed in that mp [10:33] thansk [10:33] i'm a bit impatient to get it done [10:33] poolie: its better than sql, so I'd just land it [10:33] yeah :) [10:33] i appreciate the reviews though [10:48] bigjools: so, are you going to CP 11566 and 11579 (IIRC) today? [10:48] lifeless: jelmer is preparing a CP, yes [10:49] not sure of the revnos [10:51] great [10:51] we noted that one of the bugs is not qa'd [10:51] which? [10:51] bug 128259 [10:51] <_mup_> Bug #128259: Buildmaster should not call "uploader" script for processing incoming binaries [10:52] * bigjools f ixes that [10:55] pylint blows [10:56] yes [10:57] * bigjools considers fixing the lint make target [10:57] if I cared a little bit more, I'd write a Python formatting checker/fixer that was as fast as pyflakes [10:57] it really hates our new import style [10:57] and then nuke pylint with great nuking [10:58] we should just get rid of pylint [10:58] it's worse than useless [10:58] no arguments here. [10:59] the reason I want a formatting checker/fixer is I'm sick of thinking about formatting. [10:59] but that doesn't block removing pylint [10:59] * bigjools blinks [11:00] urgh, a shell script [11:36] I'm closing my mail & IRC clients for a bit to get some work done. Call my phone if you need me. === al-maisan is now known as almaisan-away [12:03] Morning, all. === didrocks1 is now known as didrocks [12:29] bigjools: The publisher will no longer die if there's an unconfigured series, will it? [12:29] wgrant: no idea [12:30] Yeah, it looks like it was fixed a couple of months ago. [12:31] (#ubuntu-devel just mentioned that they couldn't target specs to natty yet) [12:40] wgrant: That was one of the booby trap issues I fixed last release IIRC [12:40] bug 55288 [12:40] <_mup_> Bug #55288: publisher gets very unhappy about unknown distroreleases [12:41] \o/ [12:41] That's the one. [12:42] Also, I hate ISPs. [12:42] My international routing has just collapsed for the fourth time this evening. [12:42] 70% packet loss FTW. === mrevell is now known as mrevell-lunch === matsubara-afk is now known as matsubara === almaisan-away is now known as al-maisan === mrevell-lunch is now known as mrevell [14:01] gmb: https://code.edge.launchpad.net/~shttps://code.edge.launchpad.net/~stub/launchpad/trivial/+merge/36853 [14:04] stub: I'll take a look now, thanks. [14:04] stub: s/rouge/rogue in your commit message :) [14:06] blah. twiddled in the web. [14:10] stub: r=me [14:33] Hi deryck, could you please run this query on staging: https://pastebin.canonical.com/37772/ (or an EXPLAIN ANALYZE)? [14:33] Hi adeuring. Sure. [14:37] adeuring, so you want the explain analyze mostly? Or just need the query run? [14:38] deryck: I think the EXPLAIN ANALYZE is more interesting :) [14:38] ok [14:39] I am so utterly frustrated with the slow test suite [14:40] adeuring, http://pastebin.ubuntu.com/502120/ [14:40] deryck: thanks! [14:40] bigjools, I feel you. Combined with fails in ec2 and buildbot and it takes *for* *freakin* *ever* to land anything. [14:40] so, fast enough :) [14:41] adeuring, well, for now. [14:41] deryck: stop feeling me :) [14:41] heh [14:41] deryck: yeah, we have to do something. I will bring it up in tomorrow's call. [14:41] deryck: yes, but the old query needed 177 seconds or so [14:41] adeuring, ah, yes. So that's much better. [14:41] erm, 17 seconds... [14:42] bigjools, thanks for bringing it up. I agree. We can't keep putting it off. Something has to be done. [14:42] quick someone, do Something! [14:43] deryck: I have an idea but we can discuss tomorrow [14:43] excellent. [14:48] mrevell: https://bugs.launchpad.net/bugs/649764 [14:48] <_mup_> Bug #649764: Getting started documentation is not very searchable === vednis is now known as mars [15:15] hi mars, did you ever get your clean install of maverick and did you see the authentication window when running windmill tests? [15:16] bac, I got my maverick install running, I have not tried the tests [15:16] mars: ok, i'm curious to see what you find when you run them. [15:17] is the Tomboy notes indicator applet messed up for anyone else? [15:17] it is showing a bunch of blank separator lines [15:32] maxb, can we call the new PPA "graveyard"? :) [15:32] heh [15:33] Is production still PostgreSQL 8.3 at this point? [15:34] I'll check [15:35] leonardr: hi there, I'm getting "TypeError: Could not serialize object to JSON", is there a practical way to debug that? [15:37] mthaddon, what version of Postgres are we running right now? I can't dig up the wiki page for it :( [15:38] maxb, I'm +1 on the PPA idea, but I do not have the rights to create it [15:41] No rush, we can wait for consensus and then get one of the (rather few) team admins to do it [15:44] cr3: is this when you invoke a named operation? if so, what does your python method return? [15:45] hmmm, when running the test suite locally, the windmill tests pop up a browser that seems to stall on some sort of auth dialog [15:45] leonardr: this is in my own code, not launchpad, and yes, this is when I invoke a named method called createTestRun which returns an object which implements ITestRun [15:46] bigjools, yes, a known problem on Maverick [15:46] mars: ah ok [15:46] bigjools, I can look at it now that I am actually running said distro :) [15:46] leonardr: aha, when calling simplejson.dumps(test_run, cls=ResourceJSONEncoder), I get: TypeError: can't compare offset-naive and offset-aware datetimes [15:46] it's amazing how much of our stuff breaks with each new Ubuntu release :( [15:46] leonardr: I seem to be getting somewhere :) [15:48] cr3: good, that's what i was going to suggest [15:48] 'couldn't serialize' is masking some other error [15:57] bac, bigjools, bug 649886 [15:57] <_mup_> Bug #649886: Windmill tests throw login window popups on Maverick [15:57] mars: cool thanks [15:57] thanks mars [15:57] close to bug 650,000 [15:57] <_mup_> Bug #650: broken package dependency's (i think :S still learning) [15:58] lifeless: when you're awake, I'm interested to understand why you're importing stuff from the soyuz module into the bugs module in one of your changes. It causes circular imports in the test runner unless it's invoked with -t [16:00] leonardr: oddly, running simplejson.dumps(test_run, cls=ResourceJSONEncoder) the first time returns a typeerror but running the second time works fine :( [16:01] cr3, let me see your test code? [16:01] check to see if the dump process modifies any of the attributes of your object [16:01] deryck: hi, got a sec? [16:02] bigjools, getting on call. [16:02] deryck: np, it can wait [16:08] leonardr: argh, found the problem: setting a DateTime(allow_none=True) column to datetime.now(pytz.UTC) isn't the same as setting it to UTC_NOW :( [16:10] cr3: different things get set in the database? [16:11] leonardr: not sure, let me have a look [16:16] leonardr: looks like the same thing is landing in the database, the only perceptible difference is that the datetime object contains a timezone when set explicitly in now() but not when retrieved from the database [16:16] cr3: is the object with the timezone being stored in memory and reused later? the problem is being caused by mixing them [16:16] or are you comparing the datetime object from the database to datetime.now? === matsubara is now known as matsubara-lunch [16:18] leonardr: I'm not sure where the datetimes are being compared, not in my code for sure. it seems to be either by storm or lazr [16:19] bigjools, hi. I can chat now if you still need. [16:19] deryck: I'm otp now :) [16:20] heh [16:20] ok, we'll try later then :-) [16:21] cr3: try stepping through simplejson.dumps() [16:31] ls [16:31] oops [16:37] sinzui: No OOPS ID? [16:39] jpds, I was attempting to list a dir in my terminal, xchat had focus [16:39] ;-) [16:42] leonardr: turns out the problem goes deep into the zope browser absoluteurl routine, which calls upton the __name__ attribute of my object which returns self.name which probably triggers something in storm, like cash refresh or somesuch [16:44] leonardr: in that particular context, just calling self.name causes the typeerror (I'm using storm from trunk) [16:55] deryck: ok I'm free now if you are [16:56] heh [16:56] bigjools, I'm about to jump on my standup [16:56] lol [16:56] bigjools, I can do bottom of the hour, but then I have another call at the top of the next hour. [16:57] deryck: perhaps I can do it real quick on mumble right now? it won't take long [16:57] sure. [17:00] deryck: bin/test -vv test_deathrow [17:02] apport: "Your system encountered a serious kernel problem." :( === al-maisan is now known as almaisan-away [17:07] * bigjools is totally loving lp-open [17:07] bzr lp-open that is [17:07] \o/ [17:08] although sometimes I hanker for an IDE [17:09] nice, I didn't know about that command [17:09] bigjools, here is what I am using: http://www.openkomodo.com/ [17:10] interesting [17:11] can I keep my vim editor embedded? :) [17:11] hmm, it has a full vim emulation mode - embedding, I don't know about that [17:11] argh my eyes, TCL [17:11] well if it reads my current vim config...? === jcsackett is now known as jcsackett|afk [17:26] grrr fscking testfix mode === matsubara-lunch is now known as matsubara [17:31] I'm off. See you all tomorrow. [17:31] nn jml [17:34] sinzui: do you know why the error_dir is always set to none for new sections in schema-lazr.conf? It seems like that means every new section will require a change to the production config to set the error_dir. Otherwise, exceptions will be lost when it raises an exception that error_dir was not set. === beuno is now known as beuno-lunch [17:37] leonardr, ping [17:38] EdwinGrubbs, the ErrorLogger uses the default from its section, then updates the information is present in the section it is running all [17:39] EdwinGrubbs, also, lifeless refactored error reporting to use a separate logging service that manages the dir, so it is often inconsequential. [17:40] deryck,. hi [17:41] hi leonardr. I have an issue that I think involves the JavaScript API client, LP.client. [17:41] leonardr, can I explain to you and get your feedback on it? [17:41] I need help working out what's happening :-) [17:41] ok, sure, maybe mars can help if i can't [17:41] ok [17:41] ? [17:42] deryck, this the firebug return values thing? [17:42] mars, this is the comment posting issue I mentioned before. [17:42] yes [17:42] mars, leonardr, see bug 541993, especially my comment at comment #15. [17:42] <_mup_> Bug #541993: Adding comments to a bug shows [Object object] instead of comment [17:42] deryck, I didn't ask before, but do you see the behaviour on launchpad.dev? [17:42] yes === abentley is now known as abentley-lunch [17:47] deryck, ok, have to go to lunch due to circumstances here, but some thoughts: it could be comment.js is listening for the wrong XHR events, and you are encountering race conditions as a result [17:47] mars, ok, let's catch up more after your lunch. I have to do a call shortly too. [17:52] sinzui: ok, it looks like lp.services.job.runner.JobCronScript is doing something wrong by calling errorlog.globalErrorUtility.configure(self.config_name), since it blows up if error_dir is not specified in the config for the cronjob. [17:53] EdwinGrubbs, sounds like an undocumented requirement [17:58] sinzui: hmmm, it seems like the JobCronScript should just have an if-statement that only runs configure if error_dir is not None for its specific section. [18:00] EdwinGrubbs, I think that is a sound suggestion if there is not a reason error_dir can be the default. I suppose a lot of use case for jobs describe non-webapp processes [18:01] EdwinGrubbs, if the process is considered to be the webapp, then I agree the default error_dir should be used === beuno-lunch is now known as beuno [18:23] is there something in launchpad, perhaps under lazrjs, to render a table from a restful call? [18:24] cr3, in soyuz for the PPAs, I think. [18:25] mars: thanks for the lead, I'll look around there [18:26] cr3, lib/lp/soyuz/javascript/lp_dynamic_dom_updater.js /might/ have some useful code [18:28] cr3, line 86 has an example usage. Search for the symbols in our .pt template files for real-world usage [18:38] flacoste, are we talking today? [18:44] sinzui: we should! [18:44] sinzui: mumble? === benji is now known as benji-afk [18:45] rockstar, ping, I am looking at deryck's problem with the bug comment async-post code, and wondering if your yui 3.2.1 branch may fix the issue. Is that branch usable (or landed?) [18:45] mars, I'm working on it right now. [18:45] mars, I don't think a new yui is going to fix the issues though. [18:45] flacoste, mumble [18:45] Hi mars. When you said you thought we might be listening for the wrong XHR event. Is there a way to globally log every event fired? A flag to Y.Event or some such? [18:46] rockstar, ok, I am wondering if it is a race condition with XHR event handling - Y.io is one possible culprit [18:46] sinzui: from your comments on my +subscriptions branch I get the impression that after clicking Continue on the +subscribe page the user should be returned back to +subscriptions is that right? [18:46] deryck, there is, but it gets noisy. Set your log level to "debug" [18:46] deryck, yes, you can log everything. Fire up launchpad.dev, it will be easiest that way [18:46] Er, filter. [18:46] bdmurray, yes [18:47] mars, I really suspect the problem to be in the lp.client [18:47] sinzui: okay and that should be possible by setting next_url for the form? [18:47] rockstar, it could be there too, yes. I am looking at the code, and it is a bit hairy [18:47] bdmurray, yes, or by using the redirect mixin [18:47] mars, yeah, I recall BjornT futzing with it a bit at the last lazr-js sprint. [18:48] mars, I'm currently in the process of getting all the python logic out of lazr-js and into a new library. [18:48] bdmurray, I think the mixin also provides a cancel link [18:48] rockstar, awesome :) [18:48] sinzui: okay, thanks [18:48] deryck, ok, pointed question to diagnose this: what is the content-type header for the named operation, and it's HTTP status? [18:49] deryck, for the response [18:49] deryck, I am looking at line 186 of client.js, and how the callback argument changes type depending on the HTTP headers [18:50] mars, text/plain;charset=utf-8 with an X-Content-Type-Warning that it was guessed. And status is 201. [18:50] deryck, ok, and the following response? 201 is continue, so there should be a 200 right after it [18:50] rockstar, so how do I sent my log level to debug for YUI? [18:51] deryck, in the YUI_CONFIG, set your filter: "debug" [18:51] mars, 200 for application/json [18:51] deryck, that will get noisy as hell though. [18:51] that's what I want. :-) [18:51] deryck, it's like a monkey paw though. You'll get what you want, but at a cost you may not want to pay. [18:52] * mars gestures towards the firebug console filter field [18:53] mars, yeah, but the sheer amount of events that fire just on the startup of the page is HUGE. :) [18:55] deryck, you could always hack the page template to use the io-debug.js file directly. As long as it appears after event.js then it will work as expected [18:55] as long as it appears after io-base.js <= [18:57] ok, thanks. [18:59] argh, this code twists your brain. There are a lot of callbacks in here [19:00] it's like reading a twisted mix of functional, procedural, and prolog [19:00] yup [19:01] mars, rockstar -- so nothing extra from this diff: http://pastebin.ubuntu.com/502236/ What did I do wrong? [19:01] deryck, in the net tab, are you sure io-debug is in use? [19:02] second, client.js does not make use of the LPS config var [19:02] third, rockstar spoke of the YUI_CONFIG setting - that is new to me [19:02] well, new in that I have only heard passing mention of it [19:03] I'm definitely using io-debug.js. I see a get for: https://bugs.launchpad.dev/+icing/rev11594/yui/io/io-debug.js [19:03] But I think I need this filter in LP.client, as you note. [19:04] hmmm, still no luck. I'll wait on rockstar to see how I've misused this. [19:06] deryck, so I have a hack that may help narrow things down. Try running your test with this patch: http://pastebin.ubuntu.com/502239/ [19:09] mars, are line 8 and 9 really different? [19:09] deryck, whitespace [19:09] editor did that [19:09] ok [19:10] mars, what should I be looking for here? patch applied. Same behavior by posting a comment. [19:11] deryck, ok, that is a nod towards the problem being in the result processing and not the event order [19:11] ok [19:11] mars, I don't think it's event order. Unless it's something to do with the client patching on.success. [19:12] yep [19:12] but this rules that out [19:13] flacoste, RT#41631 [19:13] <_mup_> Bug #41631: deskbar didnt recognize short nautilus bookmarks [19:14] moin [19:19] morning lifeless [19:19] morning lifeless [19:21] deryck, does this patch work? http://pastebin.ubuntu.com/502247/ [19:23] mars, trying now.... [19:24] neat, YUI has touch gestures capability [19:24] mars, doesn't fix the "object Object" dom update. Does add more logging, obviously. [19:24] hehe [19:25] deryck, ok, was the log output useful? Or was it just a bunch of "object Object" junk? [19:25] mars, yeah, object object or object XMLHttpResponse stuff. [19:26] hi! buildbot question... prod_lp threw a "substantiate failed" recently and the whole thing was restarted, but it hasn't picked up the branch I had landed since then. Is it just a matter of waiting, or should I use the /force form? [19:26] deryck, ah, see, that is useful - you now know where it changed from the response to the wrapped value [19:27] achuni, if you landed it before the restart, then yes, someone needs to force the build [19:27] mars: yup, in fact I was concerned the land was what caused it to fail, but lifeless pointed out "substantiate failed" wasn't due to the code itself [19:28] nope, that is the network reminding us it is still there laughing at us [19:28] :) [19:28] mars, copied from firebug output: http://pastebin.ubuntu.com/502252/ [19:29] * achuni tries a bit of force then [19:34] deryck, so it is this line: representation = Y.JSON.parse(response.responseText); [19:35] mars: yay, substantiate success, building now. thanks! [19:35] achuni, np [19:36] deryck, what is the whole stack of code supposed to return? A JS Resource object? [19:37] any soyuz folk still here ? === jcsackett|afk is now known as jcsackett [19:38] mars, insert_comment_HTML expects a string as it's first argument, which should be the xhtml returned in the get response. [19:39] ok [19:40] deryck, uh, why is the content type application/json then? [19:41] mars, not sure. When I do this with my debugger statement in the middle method trick and wait a beat or two.... the final GET has a content type of application/xhtml+xml and there is no "representation" log line. [19:41] deryck, let me rephrase that: so the content type is application/json - are you getting back a JSON object holding XHTML as the response body, or XHTML as the response body? [19:41] mars, see above from me [19:42] weird [19:44] mars, maybe this will make it clearer: http://pastebin.ubuntu.com/502262/ [19:44] mars, the middle method sets the accept parameter to get xhtml, but this only works with the debugger line set. [19:44] well, it beats jumping around the file like I've been doing :) [19:46] deryck, and the Accept header in the request is correct? [19:46] deryck, with and without the debugger line [19:47] * deryck confirms or denies.... [19:49] mars, yes, accept header is right, with or without debugger statement. [19:49] k === abentley-lunch is now known as abentley [19:53] mars, I see no difference in the request headers (debugger or not). The response headers are different. With debugger there is a Keep-Alive and Connection header. [19:53] interesting [20:00] matsubara: tudo bem [20:00] lifeless, oi, tudo bem e contigo? [20:01] Hah, thats exhausted my pt - whats 'contigo'? [20:02] matsubara: you were working on feature flag controlled timeouts [20:02] matsubara: hows that going? do you need a hand? [20:03] lifeless, I'll get back to work on that this week. I put it on hold due to the sprint last week. [20:03] lifeless, "oi tudo bem e contigo?" means "hi, I'm fine, you?" [20:04] matsubara: no worries; I'll be in sydney tomorrow, so to be sure it gets in before we freeze, if its still pending tomorrow can you please push up your WIP and I'll tag-team with you on it [20:06] matsubara: thanks [language help :)] [20:07] lifeless, ok. I'll ping you tomorrow [20:08] matsubara: I'll be starting late because of the plane trip - about 9am sydney time - I wouldn't want to hold you back late @ work [20:08] deryck, that really sounds like a browser-based issue of some sort, either caching or... getting the wrong response for a request. [20:09] deryck, for the response with the incorrect information, is there a body? What happens if you enable the "Show XMLHTTPRequest" in the Console options tab? [20:10] mars, I have that enabled. It gets the JSON representation of the comment in the wrong response (i.e. without debugger statement); otherwise, it gets the xhtml representation. [20:10] deryck, try shutting that feature off [20:12] mars, that works now. [20:12] deryck, one of these then: http://code.google.com/p/fbug/issues/list?can=1&q=xhr+-lite+show+xmlhttprequests&sort=-id&colspec=ID+Type+Status+Owner+Test+Summary&cells=tiles [20:13] mars, but I have the same issue on my phone, in a chrome based browser. [20:14] deryck, ok, so just to confirm: the bug appears when that Firebug console option is enabled, and the bug disappears when it is not enable? [20:15] mars, indeed, that is correct. And it appears consistently against staging on my phone, and I have no developer options for the browser to toggle on and off. [20:15] mars, so I agree it seems Firebug is causing us to get the cached XHR. Chrome on the phone must do the same. [20:15] .oO( whaaaa! ) [20:16] You're too l33t for me.... is that crying, wailing, or sudden inspiration? [20:17] the first two [20:17] ok [20:17] I should have written 'whhaaaagggghhh!' [20:18] deryck, out of curiosity, what does your phone say about this page? http://www.mnot.net/javascript/xmlhttprequest/cache.html [20:18] * deryck reaches for phone [20:19] achuni: hi [20:19] achuni: what rev of devel did you land your shipit sourcedeps.conf change on ? [20:19] deryck, what browser phone? [20:19] deryck, grammar fail [20:19] * achuni checks [20:20] deryck, what version of the browser do you have on your phone? [20:20] lifeless: 11642 [20:20] achuni: cool, thanks. [20:20] np [20:20] achuni: you may not be aware but we're overhauling our code->live story a lot at the moment. [20:20] mars, cache control headers are all fail on the phone. [20:21] achuni: so I'm checking that my assumptions about our use cases are right. [20:21] mars, it just says "Web version 7" nothing more specific. It's chrome, obviously, since it's an android phone. [20:21] lifeless: ah where should we get the updates about that from? [20:22] deryck, that page I gave you tells you the browser user agent up at the top of the page [20:22] ah [20:22] achuni: the dev list [20:22] I have "Testing Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3" [20:22] on the desktop [20:23] mars, Version/4.0 Mobile Safari/530.17. [20:23] k [20:23] achuni: changes that are deployed are in the wiki naturally (e.g. /LEP/ReleaseFeaturesWhenTheyAreDone lists its progress, and the private wiki pages will be changing soon, but they are active not planning/discussion) [20:31] jml: could you package up your difftodo plugin? or get someone in #bzr to do that? [20:31] a ha. Now I get why this doesn't fail for the code team. [20:32] deryck, ? [20:33] mars, because they build a new URL when getting the fragment, so they're not susceptible to caching. [20:34] deryck, sorry, went to eat food. [20:34] yeah [20:34] deryck, did you figure out your issue? [20:34] boo-yah! I have a winner. [20:34] was wondering that [20:35] deryck, not that for your phone, "If the browser cache does not pay attention to these directives, it can't be controlled by authors." [20:35] *note [20:35] except if you rotate the URL [20:35] exactly. :-) [20:37] mars, rockstar -- and here's the fix: http://pastebin.ubuntu.com/502284/ [20:37] congrats. That was a difficult one [20:37] deryck, what. the. hell. [20:37] deryck, it's caching a 404? [20:37] lol [20:38] rockstar, firefox with firebug and mobile safari use the cached version of the resource. Have to fake them out. [20:38] 404's are cachable. [20:38] deryck, holy hell. [20:38] in a negative sense [20:38] it's not really a 404 :-) [20:38] squid does this all the time. [20:38] lifeless, yes, we see this negative affect in deryck's bug. [20:38] no, there's no 404 there. [20:38] it's the same resource. the query param is ignored. [20:38] deryck, what's at the the end of the resource then? [20:39] it's basically -- ?foobarjunk [20:39] deryck, if you just get it without the query param, what would you get? [20:39] rockstar, two bugs: first, Firebug was caching the 404 because the "Show XMLHTTPRequests" option was enabled in the Console tab - shutting it off fixed it in FF [20:39] rockstar, the cached version [20:39] deryck, and that cached version is what? [20:40] rockstar, second bug: iPhone does not obey any cache headers according to http://www.mnot.net/javascript/xmlhttprequest/cache.html, so deryck had to force it to stop caching using url rotation [20:40] deryck, weren't you seeing this bug in Chrome as well? [20:40] rockstar, it's mobile safari, not chrome. Samsung sluts. [20:40] :-) [20:41] deryck, yeah, but I'm pretty sure I've seen this bug since I started using Chromium exclusively. [20:41] mars, have you filed a bug with firebug? [20:41] rockstar, it has to be caching issues either way. I'm pretty confident of the fix after chatting with mars for so long. [20:42] deryck, oh, I don't doubt that this would fix it. The fact that it occurs at all is craziness. :) [20:42] rockstar, this is an argument in favor of code team way of appending +fragment to a resource url to fetch the fragment new. [20:42] rockstar, yeah, it's silly. [20:42] rockstar, ugh, no. I'm too burned after this to do so, and that tab is known to have issues. FB 1.6b1+ should fix it though [20:42] deryck, yeah, normally, we do ++fragment. The double plusses indicated visually that it's a fragment. [20:43] Gotta love mnot. The man is a god. [20:43] mars, okay, I'll file the bug. I was futzing with Firebug source the other night, so I may be able to provide some more details. [20:44] rockstar, ok. Apparently they also really like to look at bugs with test cases, but that means you'd have to write something with web.py (or cgi) to recreate the 404 [20:44] rockstar, or we could ask deryck to test in firebug 1.6b1 [20:44] <_mup_> Bug #1: Microsoft has a majority market share < [20:44] rockstar, they have a few that hint at the issue. but they seem to lack a single case of it, as mars notes. [20:44] b1? really mup? [20:45] mars, deryck, yeah, I think writing the test case will indicate exactly what the problem is. [20:45] 6b1 [20:45] bug 1.6b1 [20:45] <_mup_> Bug #1: Microsoft has a majority market share < [20:45] heh [20:45] firebug 6000.1 [20:45] <_mup_> Bug #6000: vice 1.16-4 FTBFS [20:45] deryck, mup is short for muppet, which, AIUI, is not a term of endearment, especially when coming from elmo. [20:46] sorry, I'm punching after this afternoon. [20:46] deryck, :) [20:46] Glad to have a fix I can use, though. [20:46] deryck, you'll be happy to know I'm currently massaging lazr.jstools into lazr-js. [20:47] nice! I am happy. [21:01] I'm out. Later on, everyone. [21:02] rockstar: but elmo is a muppet on Sesame Street! [21:03] abentley, don't tell HIM that. :) [21:03] Might as well tell the dude he's adopted. [21:04] \o/ /tmp directory leak in the test suite found :) [21:22] lifeless: is the token-based private librarian deployed? [21:23] thumper: hi, since my call with gary isn't happening, i'm available earlier [21:23] flacoste: no, losa in progress [21:23] flacoste: ok [21:24] flacoste: we're bringing it up on staging first, obviously. Once its qa'd and we've checked we don't (for instance) blow out the session db size, we'll configure it in prod. [21:24] flacoste: and after that flick the switch. [21:24] lifeless: ok [21:24] flacoste: there is, as far as we know, no code to write. [21:25] flacoste: and the code is in all branches; its totally deployment & config. [21:30] sinzui: here is a diff of what I had to do to get continue to redirect to +subscriptions - https://pastebin.canonical.com/37799/. Does that seem reasonable to you? [21:34] bac: branch-listing.pt may render faster if we used "sprite branch" instead to using an element 75 times [21:35] sinzui: good point [21:44] bdmurray, that looks good [21:44] sinzui: in line 33 there is a change to display the bug number as it would be weird to say "this bug" on +subscriptions that seems okay too? [21:45] bdmurray, yes [21:45] sinzui: great, I'll go see if there are other tests I need to fix up and push it [21:53] mars, does jslint REALLY require bzrlib? [21:54] mars, actually, I should say, "could we accomplish the same thing without bzrlib?" [21:58] hi folks, what's the lazr-js/build directory used for? I see it created in the jsbuild_lazr Makefile target, but not used afterwards [21:58] sinzui: so, memcache and efficiency === lifeless_ is now known as lifeless [21:58] there's a design tension in our use of the DB and out use of memcache. [21:58] we try to do a few very efficient queries to the DB to get data. [21:59] and then we do memcache interception of the iteration in the page template. [21:59] But the DB work is already done. [21:59] nevermind, found it: lib/canonical/launchpad/icing/lazr -> ../../../../lazr-js [21:59] So the only saving memcache offers is over the tal rendering. [22:00] I expected to save cost on renders a lot of bugs decorated with badges and users/teams links that also have icons [22:00] s/renders/rendering/ [22:01] sinzui: it beggars the imagination that an RPC to get 30 bytes of data could be faster than generating those bytes from the live objects we've already retrieved from the database. [22:01] sinzui: I mean, if its true we have serious efficiency issues in the rendering stage that we -have- to fix to have fast memcache-misses. [22:02] sinzui: grabbing a whole rendered table in one hit could well be faster than rendering. [22:02] sinzui: grabbing a single row would be highly questionable, grabbing a single cell implausible. [22:03] morning [22:05] win 66 [22:06] hi lifeless got a minute? [22:06] sure [22:06] lifeless, I see two cases of cache:private in registry still. the one I intended to get rid of caches a milestone in a table row when shown on a series or +milestones page. I intended to cache the entire listing for anon only. [22:06] sinzui: caching the entire listing is ok, but we cache anon *pages* in squid anyway. [22:06] sinzui: so I wonder what incremental benefit memcache will have there. [22:06] ha. [22:07] bac: whats up? [22:10] abentley, make-super-duper-clean-no-srsly is really effective when using buildout. [22:11] rockstar: this is "rm * -R; bzr revert"? [22:11] abentley, yes. [22:11] rockstar: hehe. [22:11] cr3, hi [22:15] rockstar: hi there [22:17] cr3, I see you are futzing with lazr-js. [22:19] cr3, I'm making some changes to pull the build-type code out into a separate package. Will that cause problems for you? [22:20] rockstar: probably, but I could follow the evolution in the launchpad build scripts [22:21] rockstar: thanks for the heads up though, at least I won't be too surprised when something suddenly fails to build :) [22:21] cr3, okay. Yeah, the launchpad build script stuff is the last place that's going to change. I'm currently massaging lazr.jstools back into lazr-js. === salgado is now known as salgado-afk [22:27] rockstar: while you have your hands in that code, might you happen to know why SRC_DIR seems to be set to src-py/lazrjs instead of src-js/lazrjs in build.py? [22:27] cr3, setuptools, I think. [22:28] cr3, this oddity is one of the reasons I'm abstracting these tools. [22:29] rockstar: setuptools indeed, setting the wrong directory for some reason... lets see how I can workaround that [22:29] cr3, you'll also notice __init__.py in src-js/lazrjs [22:29] cr3, why do you need to work around it? [22:30] rockstar: or make setuptools behave to have the proper path [22:31] cr3, everything is hairy right now, but it should all work. If it's not working, I'd be curious to know why not (and maybe a pastebin of the error) [22:32] rockstar: there's no error message really, I buildout lazr-js from trunk (called toolchain) which results in the path build/source-dependencies/lazr-js/trunk/src-py in the build/parts/scripts/site.py [22:32] rockstar: note that this is not in the launchpad codebase though, just using lazr stuff in another project [22:32] cr3, ah, use make. [22:32] cr3, ah, okay. [22:33] I'll give the beta lazr-js tarball a try instead of building from the trunk, one moment... [22:33] cr3, yeah, uh, I guess my work would make it easier for you, but I'm still massaging it all together. [22:33] cr3, there is only trunk. [22:33] cr3, ignore any other branches. [22:33] Otherwise, you will be misled. [22:33] At some point, I will clean that up. [22:34] rockstar: this is the branch I'm using: https://code.edge.launchpad.net/~launchpad-pqm/lazr-js/toolchain [22:36] cr3, yeah, that's right. [22:36] * cr3 builds with tarball and crosses fingers [22:38] argh, stab stab stab layers. [22:40] and woo [22:40] I've finally figured out why we get multiple librarians running [22:41] rockstar: tarball works fine, problem solved :) [22:41] cr3, yay! [22:41] rockstar: another advantage is that I can relax when your changes kick in since I now have a working snapshot of lazr-js [22:42] cr3, yup. You can easily upgrade lazr-js without having to worry about the python dependencies as well. [22:47] hi james_w, you still around? [22:47] hi bac [22:48] james_w: you've got quite a few approved branches that need landing. is there something blocking you? [22:49] thumper: ping [22:49] thumper: nvm [22:52] bac: nothing except my lack of time [22:53] james_w: i understand. you've done a lot of really good work that it would be nice to get landed. let me know if i can help. [22:54] bac: I count three, are there more than that somewhere? === matsubara is now known as matsubara-afk [22:55] james_w: yes, just those three [22:55] bac: ok, I'll merge them up and try and land one now [22:55] thanks james_w === Ursinha is now known as Ursinha-afk [23:10] mwhudson: hey [23:10] lifeless: hi [23:10] mwhudson: so I found more nasty nasty dirt landing this patch you reviewed monday [23:10] I'd like a casual eyeball over the incremental [23:11] lifeless: ok [23:11] lifeless: link? [23:11] http://bazaar.launchpad.net/~lifeless/launchpad/test/revision/11644 [23:11] is the only non-obvious commit [23:15] lifeless: unnique is a typo [23:17] lifeless: "so store a valid path temporarily" -- i think you mean invalid path? [23:17] valid - its a string [23:18] as opposed to correct [23:18] ah [23:19] clearly confusing, will rephrase [23:19] thanks [23:19] s/valid/plausible [23:33] mwhudson: that was all ? [23:33] lifeless: yes [23:33] thanks [23:33] you can see the hair I'm uncovering [23:34] yeah, it's awesome that you're doing this [23:34] I'm struggling to decide whether to fix layers [23:34] or just bring testresources in. [23:35] lifeless: i think i said to jml when you got the TA position that one of the reasons I was glad was that you were much less likely to get discouraged by this sort of thing than a typical human being :-) [23:35] I am the hulk in this respect. [23:35] fueled-by-anger [23:39] lifeless: jkakar & I have discussed rage-driven development [23:39] nice [23:40] i occasionally find code that i wrote and remember how extremely angry i was when i wrote it [23:41] so what I actually meant was that my motivation increases the more problematic stuff I run into. [23:41] not that I feel /angry/ as such. [23:43] right, that's a more useful effect === lifeless changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 3 of 10.10 | PQM is open for business | firefighting: - | https:/​/​dev.launchpad.net/​ | Get the code: https:/​/​dev.launchpad.net/​Getting [23:57] hello jml, mwhudson [23:58] hi everyone. I'm not really here. [23:59] suits you :-P