[12:03] so tomorrow morning [12:03] I will wake up early tomorrow [12:03] so that should work too [12:04] kiko, thank you very much! [12:04] good night! === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad [12:21] does malone offer other output formats beside html? [12:21] or is such a feature planned? [12:22] Seveas, mail? [12:23] Merge to rocketfuel@canonical.com/launchpad--devel--0: Fix up duration of build job in progress, correct trivial bug in builder-index page template. r=salgado (patch-2499: daniel.silverstone@canonical.com) [12:23] no, xml :) [12:23] something like bugzillas xml would help [12:23] I'm porting the supybot bug reporting plugin to malone, but currently the plan is to have a massive regex to filter out the info [12:24] is such a thing available/planned/not considered yet/may be considered? [12:25] somewhere between planned and not considered, i think :) [12:25] ok :) [12:26] we'll do XML and RSS feeds like everybody else, i'm sure. not a priority atm though. [12:26] then i'll hope the output format of malone does not change too heavily too often [12:26] thanks for the info bradb [12:26] bradb: xml-rpc interface will be for all functionality of malone, correct? [12:26] Seveas: the emails might still change pretty significantly. well, so might the web UI. [12:27] k, then I/#ubuntu-desktop will have to live with the fact that the plugin will break once in a while :) [12:27] ajmitch: too early to say, but my guess would be probably, more or less [12:29] Seveas: yeah, sorry, it's possible that it could hurt. after ubuntu main has been on it for 6 months or a year, things will become more predictable. right now, there's just a whole lot of guessing about how people might use the UI, so it's hard to say what will be adjusted still. [12:32] bradb, that's ok, it was no complaint. It's great to see launchpad getting shape, now if only the hackergotchis would work :) [12:32] Seveas: perms problem, you mean? [12:33] yeah [12:33] I can edit it for a team I created, but not my own [12:35] There are some other issues I collected, I'll file them in malone (if not there yet) tomoorow-ish [12:37] Seveas: if you're interested in the hackergotchi problem, you might want to subscribe to bug #2501 [12:56] bradb, what are null bugtasks, again? [12:57] bradb, matsubara has a fix, the test has just been a bit involved to run [12:57] kiko: a bugtask for which no actual bugtask exists (so that you can, e.g., view a bug in a context in which it's not yet been reported.) [12:58] bradb, a bug without a bugtask in the context being currently viewed. ah, ok. [12:58] i.e. it's a null object implementation of IBugTask [12:58] right [01:10] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=salgado] make upstream tasks be wiki-mode (patch-2500: brad.bollenbach@canonical.com) [01:11] salgado, https://launchpad.net/errors/showEntry.html?id=1127776181.690.431611962761 === salgado quickly clicks on the link [01:12] this was a person who followed a link from email [01:12] this was a person who found the +login page on shipit [01:13] no [01:13] look at the referrer [01:13] kiko, he found the +login page and then tried to register on there [01:15] how did he get there from the referer? [01:15] later dudes === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad [] [01:17] kiko, if you reach the +login page and try to register there, the email sent to you will have a link to https://shipit.ubuntu.com/token/, because the application_url on that page is https://shipit.ubuntu.com [01:17] (I mean, if you reach the +login page on https://shipit.ubuntu.com/) [01:18] if you follow the link to launchpad.net/+login and register there, everything will be fine [01:19] salgado, how did the guy find the +login link? it should be pretty easy, we're getting dozens of these in production. [01:20] I have no idea, but this is why we overwrote all that error pages for shipit [01:20] to make sure people won't get a link to the +login page if something goes wrong or they don't have permission [01:21] there must be a straightforward way.. [01:22] salgado, just fyi -- even googlebot is finding it. [01:22] dammit [01:22] actually, false. [01:22] we need to talk to SteveA and find a way to disable it in shipit [01:22] , name: u',' [01:22] NotFound: Object: , name: u'robots.txt' [01:22] interesting, eh? a single comma. [01:24] heh [01:25] salgado, here's an interesting one. [01:25] salgado, if you are logged in but don't log out, logging in again doesn't fail. [01:25] (even if you enter an invalid name and pass) [01:27] kiko, how do I get the login page if I'm already logged in? [01:28] salgado, use the back button? [01:32] kiko, well, I guess that's because the form-processing code identifies you're already logged in and do not process the form [01:32] ah, right, perhaps. [01:33] does anyone know when staging last refreshed? [01:34] no idea [01:35] a staging that is a week old is pretty useless [01:35] dammit [01:37] jamesh, ping? [01:41] jbailey: ping [01:43] lifeless: pong [01:44] BAH [01:44] jamesh: ping [01:44] jbailey: unping [01:44] :/ [01:44] lifeless: unpong [01:44] lol [01:44] jbailey: you need to change your name, I think [01:45] ajmitch: True. I hear "Andrew" is a good one. [01:45] Wouldn't that just make #chug confusing? [01:45] not at all [01:46] Oh good. [01:46] I'm glad you've settled that. =) [02:22] kiko/lifeless: yeah? === stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad === niemeyer [n=niemeyer@200.181.170.230] has joined #launchpad === Kinnison updates dogfood [03:08] jamesh, could you commit my patch attached to bug https://launchpad.net/malone/bugs/2540 -- ? [03:19] kiko: sure. [03:19] thanks! [03:19] kiko: once we can dump hoary, we can use the system gettext [03:20] which should make these sort of problems a non-issue [03:26] hmmm [03:26] night all === Kinnison beds [03:33] Merge to rocketfuel@canonical.com/launchpad--devel--0: Make sure slave passes /dev/null as stdin to the subprocess. Rev launchpad-buildd to v7. r=spiv (patch-2501: daniel.silverstone@canonical.com) [04:06] Merge to rocketfuel@canonical.com/launchpad--production--1.34: Cherry pick patch-2493 into production 1.34 (patch-7: rocketfuel@canonical.com, christian.reis@canonical.com) [04:54] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Improve script exception output and fix noisy log test (patch-2502: stuart.bishop@canonical.com) === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad [05:35] Merge to rocketfuel@canonical.com/launchpad--production--1.34: Cherry pick patch-2502 into production 1.34 (patch-8: stuart.bishop@canonical.com, rocketfuel@canonical.com) [05:36] jamesh: ping [06:26] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Add indexes to the ShipIt tables (patch-2503: stuart.bishop@canonical.com) [06:56] Merge to rocketfuel@canonical.com/pygettextpo--devel--0: [trivial] disable csharp bindings in included gettext-tools package. Fixes bug 2540 (patch-7: james.henstridge@canonical.com) === mdz [n=mdz@ca-studio-bsr1o-251.vnnyca.adelphia.net] has joined #launchpad === sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has joined #launchpad [07:26] Merge to rocketfuel@canonical.com/launchpad--production--1.34: Cherry pick patch-2503 into production 1.34 (patch-9: stuart.bishop@canonical.com, rocketfuel@canonical.com) === stub starts the weekly upgrade [07:45] drumroll... [08:03] spiv: Can you poke the librarian to see if it survived the database outage? === BjornT [n=bjorn@82-135-221-189.ip.takas.lt] has joined #launchpad === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad [08:05] stub: Ok. [08:07] stub: Seems ok. [08:07] Cool ;) [08:08] sabdfl: Have you seen the new bounty? https://launchpad.net/bounties/chquite [08:12] getting a system error now trying to view assigned bugs [08:12] url is https://launchpad.net/people/motu/+assignedbugs [08:14] ajmitch: ta. I can fix that [08:15] thanks [08:17] ajmitch: fixed [08:18] quick work :) === lifeless_ [n=robertc@dsl-93.19.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad [08:25] Hey, the 'tabs are a few pixels off' bug got fixed last night :) [08:25] nice [08:28] other ui oddities seem to have been introduced :) [08:37] malone uses a different from address for bug emails now? (submitters address) [08:38] hey where do i go to translate launchpad itself? [08:39] moyogo: I think this is not yet available, but discussions are going to take place on that - stay tuned, this should come up sometime close. (anybody correct me if I'm wrong) [08:53] sivang: there's version 7 in multiverse but it's broken [08:53] sivang: i guess i'll have to use evince... [08:53] moyogo: huh? version of launchpad ? [08:59] I don't think we've looked at setting up the i18n for Launchpad yet [08:59] some parts of the code have strings marked, and other parts don't [09:04] jamesh: ah, so there's i18n data in multiverse for launchapd ? === ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad [09:07] sivang: not to my knowledge. [09:09] jamesh: k, that's what I thought === Treenaks [n=martijn@messy.foodfight.org] has joined #launchpad [09:16] I'm getting mail ("Your mail to Launchpad-bugs awaits moderation") when filing bugs in malone [09:18] Treenaks: yes, seems the from address for malone bugs has changed :) [09:19] hah [09:19] ajmitch: it also breaks people with SPF on their From: domains [09:19] +for [09:19] Treenaks: SPF doesn't have anything to do with From: [09:19] bob2: MAIL FROM: then [09:19] presumably LP uses it's own envelop-sender [09:20] bob2: it changed, yes [09:20] bob2: new behaviour breaks RFC 2821 section 3.10 [09:22] that is messed up [09:22] bob2: already filed a bug === jbailey_ [n=jbailey@testhaus.cns.utoronto.ca] has joined #launchpad === stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad === jbailey [n=jbailey@testhaus.cns.utoronto.ca] has joined #launchpad [09:49] BjornT: ping [09:56] hi stub [09:56] You broke the bugs mailing list ;) [09:57] nope, bradb did :) [09:57] Or should I say, the changes to bugmail (set reply-to: rather than munging from:) breaks mailman - I've had to open the list. [09:58] But I think this is mailman's problem rather than Malones [09:58] (because I now have no way of saying 'let through emails from malone but hold everything else) [09:59] I might send a use case to Barry === carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad [09:59] morning [09:59] stub: can't mailman look at reply-to instead? or some other header? [10:00] BjornT: Nope ;) It would be a simple change through. But currently, it can't. [10:00] Or at least I can't find it === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [10:02] SteveA, I need a fast review to cherrypick into production before Stub leaves today. It's related to language packs [10:02] morning [10:02] hello carlos :) [10:02] zyga, morning [10:03] stub: in the mailman admin interface, go to "privacy options -> spam filters" [10:04] jamesh: I can't see how to use that though [10:04] stub: you should be able to configure mailman to accept messages that match an arbitrary header using header_filter_rules [10:04] jamesh: I need to say 'let through anything with this', but the spam filters say 'block anything with this' [10:04] morning [10:04] carlos: go for it [10:04] jamesh: oh! I see [10:05] stub: really? on the gnome installation, it has a box where you can enter a regexp, and a set of radio buttons (defer, hold, reject, discard, accept) [10:05] SteveA, carlos.perello@canonical.com--2004/launchpad--devel--0 [10:05] Yes - I didn't notice the radio buttons [10:06] jamesh: They are regexps? [10:06] stub: the text beside the textarea says "Spam Filter Regexp:" [10:08] carlos: was that the bug about missing translations? that sometimes the date isn't updated? [10:09] SteveA, right, translators update pofile outside Rosetta [10:09] stub: how do i create a new dbuser for process-mail.py to use? [10:09] and the revision date is not updated [10:09] so Rosetta ignores that [10:09] BjornT: Add the relevant section to security.cfg, then somewhere in schema.xml to make it configurable [10:09] so rosetta ignores the new translations because rosetta depends (currently) on the revision date in the po file [10:10] SteveA, right [10:10] SteveA, I just relaxed it a bit and if the revision date is the same we have in our database we accept it [10:11] i see [10:11] what happens if the revision date is a lot in the future? [10:11] does that stop new translations from occuring? [10:11] we changed our db schema a couple of months ago so reimporting a pofile with the same data will not produce that we lose data [10:11] SteveA, yes [10:12] stub: ok, thanks === sabdfl [n=mark@wbs-146-138-47.telkomadsl.co.za] has joined #launchpad [10:13] carlos: is that fixed in this patch i'm reviewing? [10:14] SteveA, yeah, that's the point behind that patch [10:14] ok [10:15] baz is still working on it [10:15] SteveA, it has also the karma change you cherrypicked last week [10:16] ok, great [10:16] but it's missing the update you did [10:16] I'm getting the production branch to apply that change too [10:16] i sure hope bzr comes along soon... baz is getting unbearably slow [10:19] BjornT: I'll turn off that deprecation warning on production [10:20] stub: cool. i'll fix it anyway since i already started === dand [n=dand@gw.datagroup.ro] has joined #launchpad === carlos -> breakfast [10:31] SteveA: I think I've got the test suite warning issues sorted -- they weren't due to out-of-process tests === jbailey [n=jbailey@testhaus.cns.utoronto.ca] has joined #launchpad [10:34] jamesh: really? what was it? [10:34] is there a tree i can look at? [10:37] SteveA: haven't mirrored the changes yet [10:37] ok [10:37] SteveA: the logging module contains internal state (the configuration of the loggers), and some of the tests were reconfiguring the logger [10:38] ah [10:38] so running individual tests wouldn't cause the bug, but running them in sequence would [10:38] s/bug/output/ [10:39] we could do with a way of registering subsystems to have their state checked and/or cleared between tests. [10:39] there is something like this for zope3 tests, but i think it is rather messy [10:39] Grrrr! [10:39] this could be done with a root-level event subscriber, very simply [10:39] lifeless: svn import is crap [10:40] samba (on hoover) and videolan-vlc (on roomba) repeatedly fail with out of memory :( [10:41] lifeless: need your help about how to diagnose fix the leak [10:42] Short of a better idea, I'll try implementing some form of batched fetching (based on svn co) in the hope that it would reduce the problem, but without any proof beforehand that it would. [10:43] SteveA: for doctests, I wonder if it would be better to configure the logging subsystem to send messages to stdout [10:43] so that people would need to account for the messages in their tests [10:43] jamesh: yes, i think that would be good. === Seveas [n=seveas@dyn127.roaming.few.vu.nl] has joined #launchpad [10:47] jamesh: I fixed some test noise from the librarianformatter tests - log messages were bubbling up to the root logger. === Treenaks [n=martijn@messy.foodfight.org] has left #launchpad [] [10:49] stub: I found the doctests in scripts/logger.py were one of the culprits -- they left the root logger configured with the LibrarianFormatter handler attached [10:50] jamesh: yes. I've landed a fix that just set 'propagate=False' on the custom logger [10:50] so that might conflict with your work [10:51] stub: nope. I didn't find any problems with those tests (I did check if they were one of the culprits [10:56] jamesh: erm... yer. the doctests in scripts/logger.py are the ones I mean. The propagate=False fix means you don't have to mess with the root logger. [10:57] (at least the noise I fixed didn't) [10:58] stub: the tests in the docstrings for logger_options() and logger() were the ones that were messing with the root logger. [10:59] stub: my other fix was to configure the root logger again in FunctionalTestSetup.setUp() [10:59] ok [10:59] You configure it to raise an exception if used ;) ? [11:00] Probably too much code to fix if you did that... [11:00] no [11:00] it was already being configured to put all the log messages in a StringIO instance [11:00] oh... never knew that ;) [11:04] hmm [11:06] if you don't call close() on a logging handler, it never gets freed until you call logging.shutdown() [11:08] carlos: you have new mail (in fact, two new mails, seeing as i forgot to attach the review the first time) === terrex [n=terrex@84-122-83-29.onocable.ono.com] has joined #launchpad === jbailey_ [n=jbailey@testhaus.cns.utoronto.ca] has joined #launchpad === sivang wonders if there is already or is planned a todo list tracker for lanchapd. if not would be keen on suggesting that as a BOF [11:27] *launchpad [11:27] carlos: so, do we not bring Universe packages into Rosetta? [11:28] sivang: the spec tracker is a bit like that. === sivang looks === sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has left #launchpad [] === jinty [n=jinty@205.134.224.215] has joined #launchpad [11:35] SteveA, ok, thanks [11:35] carlos: what's the answer to what mark asked above? [11:36] SteveA: maybe you can help, do you have any general strategy to help tracking memory leaks in python, that are likely to originate from an extension module? [11:36] ddaa: like, C code? [11:36] C++ actually, but yeah [11:36] here's what i do [11:37] 1. get a debug build of python [11:37] that's more than just symbols, it has extra code in to track memory usage / garbage / etc. [11:37] 2. build your extension against that python === eruin [n=eruin@unaffiliated/eruin] has joined #launchpad [11:38] 3. run the test suite using the options to run it in a loop, and output object counts after each cycle [11:38] 4. narrow down the set of tests you need to run in a cycle while still seeing certain objects increase in number [11:38] 5. write your own test to make it even more minimal [11:39] 6. scrutinize this minimal code path to check for problems in the extension code along that path === ddaa points out that the extension code is essentially libsvn... [11:39] that sounds very cumbersome [11:39] 7. give up and ask jamesh to look at, because he's proved himself very good and finding such problems ;-) [11:40] ddaa: it's fiddly, but it uses divide-and-conquor to get the job done [11:40] hihi [11:40] is there a way to connect with a specific dbuser in a doctest? [11:40] so, I guess the first step is running the test suite in a loop and checking that memory usage grows, right? [11:42] ddaa: yes, or a subset of the test suite [11:43] yeah, of course [11:43] spiv: Twisted does longest-prefix-first matching when resolving a request for a server which has an object attached to /foo/ and one attached to /, yes? [11:43] there are specific options to help with this in the zope test runner [11:43] look at launchpad's test.py perhaps [11:43] SteveA: well, cscvs is not zope stuff :) [11:43] but I think I get the idea [11:45] Kinnison: you mean twisted.web? No. [11:45] It does it pretty much the same way as Zope: path segment by path segment. [11:45] SteveA: is there a python functionality to monitor memory usage process-wise (i.e. the leak might be in C++ structures that the gc is not aware of)? [11:45] At least, with the default Resources it does. You could implement all sorts of crazy stuff if you really wanted ;) [11:45] spiv: so it does shortest-first? [11:46] ddaa: i don't know. ask jamesh. [11:46] Kinnison: The question doesn't really make sense. [11:46] okay, allow me to give you context [11:46] BjornT: setup = LaunchpadTestSetup(); setup.dbuser = 'foo'; setup.setUp(); .......; setup.tearDown() [11:46] jamesh: is there a python functionality to monitor memory usage process-wise? [11:46] the buildd slave has an XMLRPC interface on / [11:46] Kinnison: it treats it as a hierarchy, not as an opaque string [11:46] I want to add a simple HTTP interface to the filecache on /filecache/ [11:46] Kinnison: For a path /a/b/c, it'll do root.getChild('a'), then do .getChild('b') on the result of that, and so on. [11:47] BjornT: That should also work with other subclasses, like LaunchpadZopelessTestSetup. LaunchpadFunctionalTestSetup will be problematic though. [11:47] And whereever that stops, it calls render. [11:48] BjornT: Although if this is for process-email.py, you might want to use the subprocess module to invoke the actual script so that is tested too (see the test_update_stats.py for example) [11:48] Kinnison: The short answer is: root.putChild('filecache', static.File('blah/blah/filecache')) [11:48] root? === Kinnison is not a very twisted person [11:49] Kinnison: Whatever resource you're passing to server.Site === Kinnison looks at buildd-slave.tac [11:50] stub: setup = LaunchpadTestSetup(); setup.dbuser = 'foo'; still makes the test pass [11:51] Kinnison: Hmm, XML-RPC is a bit funny, because some clients will hit "http://foo/RPC2" when you tell them the server is at "http://foo/RPC2". [11:51] Kinnison: Let me do a quick patch for you. [11:51] BjornT: Does your test do initZopeless itself? If so, you need to change that to initZopeless(dbuser=foo) [11:52] stub: using subprocess isn't an option here, since I need to look at the email notifications (i guess i could use subprocess for some tests, and call the function directly for some) [11:52] stub: it did use the normal setup. i change it to do what you suggested, but it seems like the dbuser is ignored [11:57] BjornT: How does your test get a connection? Or is it using LaunchpadZopelessTestSetup? [11:57] spiv: what will your patch do? [11:58] Kinnison: https://chinstrap.ubuntu.com/~dsilvers/paste/fileLVyrWj.html [11:59] Er, I should have said, 'hit "http://foo/RPC2" when you tell them the server is at "http://foo/"' [11:59] right [11:59] static.File() [11:59] that's a static file *root* yes? [11:59] Kinnison: Right. [11:59] coolio [11:59] thanks dude [12:00] (Or a single file. It's happy either way) [12:01] stub: it's currently using LaunchpadTestSetup, since it needs to look at the email notifications. is there any way of using LaunchpadZopelessTestSetup and have the sent email end up in test_emails? [12:02] spiv: was it you who told me to use SafeConfigParser instead of ConfigParser? [12:02] stub: (the test also needs to use the same security policy as the web app) [12:02] Kinnison: Possibly. I told someone to use it :) [12:02] probably me :-) === Kinnison will change buildd-slave.tac to use SafeConfigParser while he's in there [12:03] BjornT: Hmm... that is working by accident I think. If you need to use the Z3 email stuff, that would require using LaunchpadFunctionalTestSetup to load the component architecture. And there is no way to change the user connected as in that case. [12:04] ddaa: nothing really accurate (there was a google summer of code project to product a memory profiler, but I don't know the status) [12:04] (working by accident because the CA is never actually torn down, which causes problems :-( ) [12:05] jamesh, ddaa: You can apparently make valgrind work with Python. [12:05] jamesh: I just mean something to answer simple question like "How much VM does this python eat?" [12:05] ddaa: one trick you can use is the fact that instances of heap allocated classes (i.e. ones not defined in C extension modules) hold a reference to their class [12:05] ddaa: poke around in /proc/$pid/status? [12:06] stub: don't all system documentation tests use LaunchpadTestSetup by default? [12:06] BjornT: I don't think we have any suitable fixtures for what you need at the moment. [12:06] ddaa: In theory the resource module can do stuff like htat. [12:06] jamesh: I think that would do the trick. I'm interesting in monitoring all process memory usage including what the GC does not know about [12:06] ddaa: I haven't usedit, though. [12:06] BjornT: They use LaunchpadTestSetup and FunctionalDocFileSuite combined, which pretty much duplicates LaunchpadFunctionalTestSetup. [12:07] ddaa: it'll be quite inaccurate though -- address space isn't returned to the system except for large allocations, so you'll be looking at the high water mark [12:08] jamesh: I just want to confirm that "running that code causes a memory leak, somehow, somewhere" [12:08] ddaa: okay. it might be enough for that kind of thing. [12:08] THEN I can start talking gc and figure out what kind of leak that is [12:09] ddaa: If you do want to interrogate the gc, http://twistedmatrix.com/users/spiv/countrefs.py may help. [12:09] spiv: thanks [12:09] spiv: does static.File() provide content-length headers properly? [12:09] Kinnison: Yes. [12:09] mh, no twisted crack in that, good [12:10] spiv: cool, ta [12:10] ddaa: Hah :) [12:10] stub: hmm, i'll look into if i change change my test, otherwise i'll wait with changing the dbuser of process-mail until you implement such a text fixture ;) === stub reads scrollback to work out when he volunteered [12:16] SteveA, the answer to mark's question is: Rosetta is importing universe translations but we don't have language packs for universe so the translations will not reach the archive unless the developer in charge of that package adds it by hand [12:16] are the MOTU aware of this? [12:18] not that I'm aware of [12:18] at least we didn't expect to have langpacks for universe [12:20] what module has the routine for joining bits of urls together? [12:22] i mean, are the MOTU aware of how they can get translations out of rosetta for use in the packages? [12:22] SteveA: unless it's written up somewhere, I doubt that we are [12:23] SteveA, I think so, but not 100% sure [12:23] we had some mails changed with pitti and sabdfl some weeks ago about this [12:23] but nothing more [12:24] aha, urlparse.urljoin, nm [12:25] spiv: Given I have two file handles (well, one file, one urllib) what is the accepted way of pumping the contents of slave_file into out_file ? [12:26] ajmitch, carlos, jordi: i think you guys need to talk about using rosetta for Universe sometime [12:27] ajmitch, We cannot use current language packs or they will grow a lot [12:27] something to talk about at UBZ [12:27] ajmitch, jordi I'm a bit busy atm.... [12:27] stevea: Given I have two file handles (well, one file, one urllib) what is the accepted way of pumping the contents of slave_file into out_file ? === Kinnison asks steve too :-) [12:27] ajmitch, if it can wait, then yes, better at UBZ [12:27] carlos: of course, the universe translations need to be separate [12:27] depends if we want to try & get them into breezy [12:28] ajmitch, in the mean time, the only solution I see is to get all translations from Rosetta and add them as a patch to the package [12:28] which will be a lot of work if there's many translations, I think [12:29] we can try for some key universe apps [12:29] is there a quick guide for getting the translations out for a package? [12:30] s/out/out of rosetta/ [12:30] ajmitch, every sourcepackage has an export/download link that let's you get a tarball with all translations [12:31] sounds easy enough for us then [12:31] if the source packages are imported for universe & translated [12:32] right [12:32] spiv, SteveA: never mind, I've stolen the loop from the librarian uploader [12:34] ddaa: how often are source imports processed for a product? [12:35] ajmitch: syncs are done every day, initial imports are done whenever I come around to it. [12:35] if a syncing branch appears out of date, I'm the right person to complain to. There are many failed syncs but I just do not have the resources to fix them. [12:36] If you want an import done in reliable way, ask me. I'll tell you if I hit a roadblock. [12:36] (or when it's done) [12:36] ddaa: right, gnuenterprise is sitting on testing - initial import failed a couple of weeks ago & svn url has changed since then [12:36] I'll have a look right now. [12:37] hm, svn might still be a little broken upstream [12:37] pleonasm [12:37] what do you mean, actually? [12:38] gnu enterprise server shifted recently, I can't recall if anon svn is working correctly yet [12:38] I'll ask you about it when I know it is :) [12:38] ajmitch: product description: I'm a bit puzzled [12:38] you say that it's a meta-project, but you say there is a RCS to import [12:38] that's contradictory [12:39] GNOME, Mozilla are meta-projects, they do not have a single RCS to import, they have several products instead [12:39] ok, the project has tools & a number of subprojects in the same svn [12:39] such meta-projects are "projects" in launchpad parlance, specific projects that actually release something are products [12:40] elmo, lifeless: Any chance one of you can tickle pqm ? [12:40] gnue/trunk ? === ddaa is confused [12:41] ajmitch: you mean that for release management, security fixes etc, gnue is a single product? [12:41] there are a number of packages that get released with different versions [12:41] so I'd say not then [12:41] so, how does the gnue/trunk relate to those packages? [12:42] each of them are in a directory under there [12:42] ajmitch: are you a bit familiar with arch/bazaar? [12:42] a bit [12:42] I've mainly been using bzr [12:43] same difference === ddaa rolls a cig [12:43] ajmitch: I hope I'm not annoying you by appearing nitpicky [12:44] not at all === ajmitch is picky enough with others :) [12:44] bah, their SVN instruction page is broken... [12:44] everything was recently shifted in the last week [12:45] You can browse the subversion tree online. -> 404 with a python traceback [12:45] ajmitch: I have the impression that either: [12:46] this was the first new product I did, to learn how it goes [12:46] 1. the actually trees to import are gnue/trunk/ [12:46] or 2. the gnue release process is a bit broken [12:46] importing separate trees & having separate products for each tool is better [12:47] I mean, either the svn repo hosts several essentially distinct projects, that are packaged independently, and should be imported separatedly, or it does not. [12:48] they are separately released & packaged [12:48] a problem could be for example if the build system relies on stuff at the root, or whatever === ajmitch is the debian packager for them [12:48] or if commits are frequently made that spans several projects [12:48] I'm just trying to grasp what is the model there, to find the best representation for it in launchpad. [12:50] okay... so let's make them different products [12:50] gnue-common does have a script to setup wrapper scripts for all the tools, for running from an svn checkout [12:50] that would be the only small complication [12:50] what are you using to build deb packages? [12:50] the full checkout or partial checkouts? [12:51] using released tarballs at the moment [12:52] they use distutils, so releases can be made separately [12:52] are the release tarballs are made essentially of partial checkouts? [12:53] The issue here is figuring out the right granularity for malone, rosetta, hct, etc. which all talk in term of source packages. [12:53] ajmitch: so, one project and multiple products? [12:53] by using just the directory for the tool [12:53] yes, I'd think so [12:54] ajmitch: BTW where is the SVN now, it looks like the web page is out date, so I cannot find it. [12:54] http://svn.gnuenterprise.org/gnue/trunk is current [12:55] yeah, totally partial checkouts :) === ddaa grumbles at "creative" uses of svn [12:55] svn allows for plenty of creativity [12:58] ajmitch: I'll make you a gnuenterprise project, from the current product details, and assign the existing product to this project, then we can tweak the product to be a real product. You'll need my help to change its name to whatever you want it to be (e.g. gnue-appserver) [12:58] alright, thanks [01:00] how do I report this? https://launchpad.net/distros/ubuntu/breezy/+sources/gdm/+pots/gdm/nb/+translate [01:00] "this page and locale in particular constantly spits out system errors" ? :) [01:01] jamesh: ping? [01:03] ajmitch: here it is, https://launchpad.net/projects/gnuenterprise/ [01:04] ajmitch: start replacing the details for https://launchpad.net/products/gnuenterprise and I'll take on after that === ddaa goes for lunch [01:10] is there any problem with LP? [01:12] working for me [01:12] stub, hi, I have a patchset to cherrypick into production [01:12] are you seeing a problem? [01:12] can you try to access the main url? https://launchpad.net [01:12] stub, which branch is being used? [01:12] System error here. [01:12] I get system error on main [01:13] not only me, then [01:13] carlos: launchpad--production--1.34. Just land it in launchpad--devel--0 and I'll pick it from there [01:14] even this url doesn't work https://launchpad.net/distros/ubuntu/breezy [01:14] stub, ok === zyga_ [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [01:15] why did karma got re-set recently? [01:15] carlos: anyone? [01:15] zyga_, because a bug I introduced, we added too much karma in some situations [01:16] and we were not able to remove only the bad one [01:16] so we choose to reset it now that it's fixed [01:16] carlos: awww [01:16] carlos: I lost all my translation karma and I'm a karma whore ;) [01:16] zyga_, you know how to fix that.... do more translations! [01:16] :-P [01:17] zyga_, anyway, all people had that "problem" [01:17] so you didn't lose any place in the karma ranking ;-) [01:17] carlos: they did? I don't think I lost karma :) [01:17] carlos: yeah, I'll prepend space to everything, upload, remove the space, upload,..., *PROFIT* [01:17] ajmitch, only Rosetta's karma was removed [01:18] zyga_, you are sooo evil sometimes.... [01:18] :-) [01:18] carlos: oh that's alright then :) [01:18] carlos: I should be a manager [01:20] zyga_, :-P [01:20] stub, merge request sent [01:20] stub, it includes to the patch that you cherry picked on Friday for the karma fix, so perhaps you will get a conflict [01:21] carlos: it will conflict then. [01:21] stub, after that code is on production, we need to execute an UPDATE on production DB, will send you by email with the final patchset [01:21] stub, it's exactly the same patch so the conflict should be easy to solve [01:21] ok. === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad [01:32] can anyone please restart LP? [01:32] :P [01:34] segfault: why? [01:34] https://launchpad.net/distros/ubuntu/breezy [01:34] gives a system error. [01:35] carlos: https://launchpad.net/errors/showEntry.html?id=1127820881.540.0383009149773 [01:35] segfault: that is strange. it doesn't do so for me. [01:35] can you try again please? [01:36] SteveA, ? [01:36] i tried, same error [01:36] carlos: /distros/ubuntu/breezy/+lang/fr [01:37] SteveA: Hmm, I'm getting a system error from the front page! [01:37] is giving SQLObjectMoreThanOneResultError: 2 rows retrieved by selectOneBy errors [01:37] spiv: hmm, same error [01:37] From Expression: in root-portlet-rosetta.pt [01:37] , due to the same error... [01:37] shouldn't it be nice to see the error dump? [01:38] SteveA, yeah, but I don't understand why... [01:38] SteveA: Really quick hack would be to relax selectOneBy, I guess :/ === carlos looks at the code [01:38] spiv: having selectOneBy give the SQL query in the error would help [01:38] SteveA: Hmm. [01:39] Module canonical.launchpad.database.distrorelease, line 230, in getDistroReleaseLanguage [01:39] languageID=language.id) [01:39] anyway [01:39] that's the thing [01:39] i guess we have duplicate language ids [01:39] or that query is wrong [01:39] ok [01:39] we are missing a constraint there [01:40] so, i expect people who see errors are those who have certain language settings in their browsers [01:40] that's why i can't see the error [01:40] segfault: thanks for reporting the problem. [01:41] spiv: see the same thing on staging? [01:41] no problem [01:42] SteveA: Hmm, no, I don't. [01:42] Very odd. [01:42] ajmitch: I'd like to make your imports, really... but I need your product description stuff before :) [01:42] spiv: do you have read access to the production DB? [01:42] he does [01:42] via auth server [01:42] At least some bits of it. [01:42] ddaa: sorry, been talking with gnue upstream :) [01:42] And via the librarian. [01:42] stub, do you have a minute and we solve that missing constraint? [01:42] more can be enabled if needed [01:42] I don't know if that gives me read access to all tables? [01:43] check security.conf === ddaa makes desperate gestures at lifeless [01:43] ddaa: discussing whether they could use malone as their bug tracker [01:43] we'd certainly love that [01:43] carlos: sure [01:44] ajmitch: but your description suggest they're hardcore GNU, so the fact that Malone code is not released might be a problem. [01:44] ok [01:44] ddaa: gnu project, malone not free software.. so obstacles there [01:44] ajmitch: what I said :) [01:44] you just typed faster :) [01:46] Much as I respect him, we surely do not want RMS to be out to get us because some GNU maintainers are depending on Launchpad. [01:46] ddaa: ? [01:46] lifeless: if a gnu project decided to use malone for its bug tracker [01:46] lifeless: svn import code is leaky, preventing import of samba on hoover. Out of memory. Same condition for vlc on roomba. [01:46] lifeless: any clue? [01:48] ddaa: is it an error in our code, or are we dosing the svn server ? [01:48] local OOM [01:48] ouch [01:48] what rev # ? [01:48] variable [01:48] at least on hoover [01:48] well, pick a lower number, and use spivs object refcounting magic to print the refcounts [01:49] iz possibly apache portable runtime leakage too, might want to valgrind a very small import [01:49] on samba/hoover it's around 8-10k revisions, signal 6 or OSError [01:50] (in os.fork) [01:50] ddaa: SIGABRT? That's exciting :) [01:51] videolan fails with OSError in os.fork at about 2-3k revisions [01:51] spiv: I suspect it's OOM killer kiking in when other syncs run and want some memory [01:52] lifeless: what does the apache portable runtime have to do with that? [01:53] lifeless: I've been trying to loop the svn_oo test suite to see if I can reproduce the leak there, but on the second run I get plenty of failures with [01:53] ClientError: Unable to open an ra_local session to URL [01:53] Unable to open repository 'file:///home/david/home/devel/canonical/cscvs/,,onefilereporo/modulefile1 [01:54] I suspect your cached repo magic is brittle... [01:54] segfault, could you try it now? === zyga_ is now known as zyga [01:57] carlos: niiice. works. thanks! [01:59] segfault, stub fixed it, so say thanks to him [01:59] stub, thanks [02:04] SteveA: want to review andrew.bennetts@canonical.com/sqlobject--selectOne-better-exception-message--0? Try it with e.g. PYTHONPATH=lib python -c "from canonical.database.harness import *; EmailAddress.selectOneBy(personID=22)" [02:04] spiv: about to go for lunch. can you mail me a request to review, and i'll do it when i get back? [02:04] SteveA: Sure. === niemeyer [n=niemeyer@200.138.46.34] has joined #launchpad [02:08] pqm is stalled [02:08] lifeless, ^^^ === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:17] Merge to rocketfuel@canonical.com/launchpad--production--1.34: Turn off initZopeless warnings (patch-10: stuart.bishop@canonical.com) [02:26] stub, around? [02:26] yes [02:26] OMG, svn_oo is such a fat pig! VmSize after svn_oo test suite iterations: 0: 130808 kB 1: 225244 kB 2: 319668 kB [02:27] stub, can we make everything under /shipit to not raise RequestExpired()? [02:27] it's not a leak, it's a torrent! [02:28] salgado: not really. talk to me about it when i come back from lunch please. [02:28] SteveA, sure [02:28] salgado: What isn't working? [02:28] stub: go to sleep ;-p [02:29] I can login to shipit and view my order [02:29] stub, some (all) queries to display pending/approved orders [02:29] yes, for the users themselves it's not a problem. the problem is for Marilize [02:30] salgado: Can you confirm it is happening in the last few hours? I added a load of indexes to the shipit tables as part of the rollout [02:31] well, I just tried it [02:31] salgado: Otherwise we need to fix the screens so I know what the queries it is trying to do are [02:31] erm... I mean I will need urls and such so I can determine what the queries are. [02:32] Or just some tracebacks if they are included [02:32] stub, ShippingRequestSet.searchCustomRequests() and ShippingRequestSet.searchStandardRequests() [02:33] I'm more interested in the sql [02:33] stub, there you'll see the sql === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [02:34] stub, the traceback I got in /errors doesn't have the SQL that caused the problem [02:35] The query in ShippingRequestSet.searchCustomRequests needs to be rewritten as a group by [02:35] as does the searchStandardRequests [02:36] hmmm. I have the feeling I don't know how to do that [02:40] I'm trying to workout what ShippingRequestSet.sarchStandardRequests is actually trying to do? [02:42] stub, we have some standard options of orders for people to choose. that method will query all orders whose number of CDs match the number of CDs of the standard options [02:44] If anyone here fancies an easy review (and with tests this time -- wahey) take on my buildd-slave patch I just added to the general queue on PendingReviews [02:44] That doesn't explain the options (status, omit_cancelled, standard_type) [02:45] ok [02:45] you can filter the list using these options [02:47] And why do you want to return all custom requests, or all standard requests? Those lists are going to be huuuuge [02:49] I guess you need a list of all pending (or at least the first few) [02:50] that's what she does --she queries all pending requests, most of the time [02:50] sometimes she queries the approved ones, to make changes [02:50] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Even spiv can get it wrong. rev launchpad-buildd to v8, ensure we pass .fileno() not the file object. (patch-2504: daniel.silverstone@canonical.com) [02:50] anyway, today I was going to add more filter options so she can get useful results [02:51] ok. I think she will need them ;) [02:51] yes, she will. there's a bug open on that [02:54] salgado: Are you batching the results? [02:54] stub, not yet [02:55] salgado: I think that is the problem then. The queries arn't actually that slow (I need to do some more complete tests though). But rendering a list of 2000 shipments in tal will take ages. [02:56] for sure that's part of the problem, but I don't think that's the main cause [02:56] stub, can you query all orders with only 5 x86 CDs on production? [02:57] Can you give me the SQL? [02:57] when will the blue and purple strings be merged to the packages? [02:58] stub, nevermind. there must be thousands of orders with only 5 x86 CDs [02:59] stub, I tried searching for another standard option and got 670 results. works just fine [03:00] 4166 if my query is correct [03:00] it probably is === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:00] that was a bad example I choose === Kinnison adds a custom shipit request [03:01] *g* [03:05] salgado: ok. I now think the searchStandardRequests SQL is fine. I can add some indexes to help. [03:07] stub, and the searchCustomRequests is fine too? [03:07] I'm adding the batching already [03:08] one at a time ;) [03:10] stub: How do I convert the current.sql password field from a sampledata account into an actual password? Alternatively, is there a list somewhere of sampledata accounts and passwords? (the only ones I know are foo.bar and carlos) [03:11] mpt: You can't reverse them. Ask here and maybe someone remembers. [03:11] heh [03:11] mpt: If there is a page test that uses them, the Authorization: line can be reversed [03:12] ok, so how do I do that? [03:12] mpt, I think all accounts have the password 'test' [03:12] Authorization: Basic amVmZi53YXVnaEB1YnVudHVsaW51eC5jb206dGVzdA== [03:13] at least daf, carlos, foo.bar and non-priv are using that one === Kamion [n=cjwatson@83-216-156-196.colinw664.adsl.metronet.co.uk] has joined #launchpad [03:13] salgado: if shipit starts supporting more distroreleases or flavours, we will need to redo these indexes [03:14] mpt: 'amVmZi53YXVnaEB1YnVudHVsaW51eC5jb206dGVzdA=='.decode('base64') [03:14] I'd like to report some Rosetta bugs, but https://launchpad.net/products/rosetta gives a system error [03:14] stub, no problem, I guess. we'll need to redo a lot of things to support that [03:14] known? [03:14] carlos: jdub doesn't [03:15] mpt, just change it to test and fix any test that fails or look at those test to know the right password.... [03:16] there's a list of accounts and passwords in the sampledata [03:16] carlos: Yes, I already asked how to get the password from the Authorization field [03:16] Kamion, it works here... [03:16] jdub's causing 4 test failures and I don't know why [03:16] i think (although i haven't checked) that it is possible to use plaintext names and passwords [03:16] and if not, i have a branch waiting to be merged for that [03:16] oh, works fine now [03:16] how strange, it definitely failed earlier - oh well :) [03:17] Kamion, from what I see seems like you got a timeout [03:17] RequestExpired: The current request has expired [03:18] I'm using an HTTP proxy over a VPN, I guess it could be misbehaviour there [03:18] stub: thankyou [03:19] huh, that does return "test", but trying that login doesn't work on localhost === matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:24] salgado: Even without the indexes, the queries are running fast. I can speed them up, but I don't think they are a significant part of the rendering time. [03:24] SteveA: in our version of zope you can't use plaintext names and passwords, but you can in 3.1 [03:25] BjornT: thanks [03:25] stub, if the queries are running fast, then let's see if the batching solves the problem [03:26] BjornT: http://localhost:8086/distros/ubuntu/hoary/+sources/evolution/+bugs [03:26] salgado, we need batching there -- definitely [03:26] and searching [03:26] that page looks very empty === niemeyer_ [n=niemeyer@200.193.159.118] has joined #launchpad [03:26] hey ho [03:27] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix kiko's easy-to-miss misspelling (patch-2505: daniel.silverstone@canonical.com) [03:28] salgado: So... should a shipment request change from being a custom request to a standard request if someone goes and changes the standard request definitions? [03:28] Kinnison, what did I do now? :) [03:29] salgado: If not, we should be storing a 'standard' boolean in shippingrequest table, that would also make these queries trivial [03:29] salgado: So... should a shipment request change from being a custom request to a standard request if someone goes and changes the standard request definitions? [03:29] stub, the answer is probably yes [03:29] SteveA: yeah, thanks. i'll fix it [03:29] silbs and marilize are looking at the orders to decide which options should be standard [03:30] kiko, hi, SteveA did the review this morning, so don't worry about that [03:31] cprov: how's that sample data patch going? [03:31] carlos, rock [03:31] thanks SteveA you saved my life [03:31] SteveA: testing locally, 10 mi [03:32] thanks cprov [03:33] SteveA: the addition of a sampledata key brakes some tests, repairing them [03:33] ok [03:33] probably a good thing to add the sample data [03:33] as it means more realistic code-paths are being tried [03:35] salgado: Anyway - I've sped up those queries by 33%. We can do more, but I wouldn't worry for now (test queries are running in around 0.25 seconds) [03:36] stub, that's great. I think we won't have more problems as soon as we have batching [03:37] salgado: ohh.... you shouldn't select a list of ids, and then do ShippingRequest.select('id in (%s)' % ids) [03:37] . That is unnecessary and could give you problems. [03:38] stub, how can I do that, then? === gneuman [n=gneuman@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:38] using a temporary table? === Kamion [n=cjwatson@83-216-156-196.colinw664.adsl.metronet.co.uk] has left #launchpad [] [03:38] salgado: You should be able to do it using select and clauseTables [03:39] cprov: sourcepackagerelease-index.pt. what url can i go to in order to see it? [03:40] salgado: Although you might need to resort to using a view, as SQLObject will give you trouble otherwise [03:40] SteveA: distribution/distrorelease/+sources/sourcename/releaseversion .. I think [03:40] SteveA: it must be published in that distrorelease [03:41] a specific URL in the sample data [03:41] SteveA: are you working in canonical_url for srcrelease ? [03:41] no, although if there isn't on, i'll need to make one [03:41] i want to see that page template rendered [03:41] so i can adjust its menus [03:41] stub, I guess the view is the best thing to do. I'll probably do this today, as part of the work I'll do to improve the searches [03:41] adn see the results [03:42] salgado: https://chinstrap.ubuntu.com/~dsilvers/paste/file2hWTGJ.html [03:43] Kinnison: how big is vegastrike-data ? [03:43] vegastrike still fit on a CD last time I saw it... [03:46] SteveA: difficult to do, many moving parts involved, I wonder if we can do it properly in the sampledata and not mess up with publising history, but I think we have some 'wrong' stuff for hoary (mozilla or pmount) in the sampledata [03:47] cprov: we should be able to see all the page templates at URLs on localhost, based on the default contents of the sample data. otherwise, it makes any problems really hard to debug, and it means we probably don't have page tests for these things. [03:48] cprov: can you let me know when you have the signed coc sampledata mirrored, and i'll merge directly from your branch. also, send it to pqm. i just want it earlier. [03:49] SteveA: yes, I know [03:49] SteveA: sure, test still wrong, more some minutes [03:49] thanks === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad === bradb gets the first complaints coming in about Reply-To checking and mailman. [03:58] SteveA: between 150 and 250 megs, I forget exactly [03:58] i'm suprised that didn't easily fit across xmlrpc [03:58] it's not ideal, but should't have caused a barf [03:59] it comes across, gets decoded, gets stringIOed, OOMs [03:59] kiko: When you "cleaned up" you changed a 'binarypackagerelease' to a 'binarypackage' by mistake [04:00] kiko: It's the kind of mistake I make too, it was just a debugging statement but I fixed it [04:00] SteveA: celso.providelo@canonical.com/launchpad--soyuyUI--0--patch-15 [04:01] SteveA: should not product any conflicts, but I'm merging from RF now [04:02] Merge to rocketfuel@canonical.com/launchpad--devel--0: Reject onlly the pofiles that have dates older than last import and accept the ones that are equal or newer. Also, we give karma only to translations done inside Rosetta. r=SteveA (patch-2506: carlos.perello@canonical.com) [04:02] thank you cprov [04:02] SteveA: nop === marcolu [n=marco@218.82.169.181] has joined #launchpad [04:03] cprov: will you look into that published release thing too? [04:03] Kinnison, sorry -- and being a debug statement, tough to test, too :-( [04:03] kiko: aye, s'okay, I spotted it while doing a publishing run and fix0red it [04:03] Kinnison, perhaps using smaller functions the undefined name would come up in pyflakes === bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad [04:03] SteveA: you should be able to see sourcepackagerelease-index in sampledata, I think [04:04] kiko: perhaps. [04:04] carlos: That the patch that needs cherry picking? [04:04] cprov: what URL ? === marcolu [n=marcolu@218.82.169.181] has joined #launchpad [04:06] SteveA: http://localhost:8086/distros/ubuntu/hoary/+sources/pmount for sourcepackage only, you are right, we can't see sourcepackagerelease yet [04:07] okay. i want to be able to get a URL where i can see that template, based on the sample data [04:07] stub, yeah, I just sent you an email [04:08] stub, if you could apply that before leaving... [04:10] carlos: https://launchpad.net/errors/showEntry.html?id=1127830161.350.075378138752 [04:10] jamesh: [04:10] https://launchpad.net/errors/showEntry.html?id=1127830025.820.952379835119 [04:13] SteveA, it expired already [04:15] carlos: works for me [04:16] Exception traceback [04:16] The specified log entry was not found. It may have expired. [04:16] https://chinstrap.ubuntu.com/~dsilvers/paste/fileXnH5ac.html [04:16] look there carlos [04:17] SteveA: today, I won't have time to do it, but woul be nice it you can submit a bug for it (it will be postponed probably until "basic test coverage for soyuz" task) [04:17] SteveA, carlos: I believe that bug is reported [04:17] search for rosetta bugs containing newlines or unix [04:18] kiko: any idea about this one? https://chinstrap.ubuntu.com/~dsilvers/paste/fileXsuZBb.html [04:19] kiko, yeah, you already reported it [04:19] SteveA, looking [04:21] gah [04:21] apparently, the svn_oo memory leak is scared away by valgrind... === GoRoDeK [n=gorodek@p5083E5D5.dip.t-dialin.net] has joined #launchpad [04:22] SteveA: is it acceptable to run production services under valgrind to fix a memory leak? [04:23] matsubara, bug 1419 is a dupe of another already reported rosetta bug [04:24] if elmo is happy with valgrind installed on a server, it gets the job done, and it doesn't piss on anyone's shoes, sure [04:24] matsubara, https://launchpad.net/malone/bugs/908 [04:24] SteveA: thanks for # 2603 [04:24] np === ddaa looks at SteveA with a scared face === SteveA looks at ddaa's shoes [04:24] right... what did I expect from the guy who fixes bugs by running "python -O" :) [04:25] i fully expect at least one of the three conditions to be false [04:25] it would get the job done, given 100x the hardware and a lot of time [04:25] cprov: which user now has a signed Co [04:25] cprov: which user now has a signed CoC? [04:26] SteveA: name16 [04:26] ddaa: if you had 100x the hardware, the memory leak wouldn't matter [04:26] thanks cprov [04:26] SteveA, stub https://launchpad.net/errors/showEntry.html?id=1127831112.880.702582916245 [04:26] we still get timeouts... [04:26] SteveA: is it enough ? [04:28] cprov: hmm [04:29] i still can't see a way to get a page that uses signedcodeofconduct-portlet-actions.pt [04:29] maybe it isn't used [04:29] SteveA: could be, mpt have modified some things after i land it [04:30] actually, [04:30] i see a page where name16 has signed a CoC [04:30] and a checkbox to deactivate it [04:30] but no page to actually get to the CoC itself [04:31] SteveA: /codeofconduct/console/ [04:32] what goes in the "from:" box? [04:32] aha -- i have the page i need. thanks. [04:32] that "From:" and the search form is confusing [04:33] maybe get mpt's opinion on it, and file a bug on how to improve it? [04:35] SteveA: again, AFAIK he already spend some time on it, but ok, it still needing his love, bug him, if there is something I must he will let me know [04:35] ok [04:35] the thing is, i found the "From:" form item confusing [04:35] i tried to enter dates in there [04:36] then tried to leave it blank, expecting to get a batch of all the results [04:36] then tried name16 [04:38] SteveA: a form help message would solve the issue, I see you point [04:39] What kind of data is supposed to go in there? [04:48] cprov? [04:48] I can fix it right now, I'm in [trivial] mode [04:50] mpt: oh, sorry afk ... displayname or name, let me verify [04:52] mpt: uses person fti === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad [04:52] fti? [04:54] mpt: the postgres word indexing, i.e, name, displayname, etc whatever they configure the indexing engine [04:55] So "Enter all or part of a person's name." [04:57] SteveA, that bug is also reported [04:57] kiko: and assigned to jamesh? [04:58] hmmm [04:58] mpt: yes, name16, foo, bar, Foo, Bar, etc work [04:58] let me find out [04:58] SteveA, I discovered there's a launchpad-cal product? [04:59] mpt: ahhh, '%' is everything [04:59] cprov: and "" is also everything, I hope [04:59] "" is nothing :-( [05:00] that's bad [05:00] mpt: no, as SteveA said "" is nothing [05:00] mpt: do you want me to change it ? [05:01] yes, I think it would be better if it worked like a filter [05:01] so if you don't enter anything, you get everything [05:02] mpt: ok, will do it now as trivial [05:03] cprov: Does the search include e-mail addresses as well? [05:04] mpt: I'm not sure if the Person.fti includes person email, maybe salgado knows ? === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad [05:04] cprov, no, it doesn't [05:05] cprov, mpt, AFAICT we don't have any cross-table fti [05:06] SteveA: When you asked about vegastrike-data earlier, was that because you'd decided to take on my branch for review? [05:06] salgado: yes, exactly ... thank you [05:06] Kinnison: no [05:07] SteveA: *sob* [05:08] SteveA: Celso has a patch which I want in RF. It's a stop-gap measure until the uploader is in place. it's more than a few lines, but it'll be thrown away when the uploader is done. Can he merge it [trivial] or rs=dsilvers ? [05:10] Kinnison: what modules does it touch? [05:10] just buildd master slave scanner IIRC [05:12] SteveA, jamesh: what do we do about the launchpad-cal product? [05:12] SteveA, https://launchpad.net/products/launchpad/+bug/2166 [05:12] kiko: we should have two products: launchpad and rosetta [05:12] well, and shipit [05:13] there's many malone bugs [05:13] I think it deserves its own product [05:13] Kinnison: if the only files it touches are in that subsystem, then that's fine. [05:13] SteveA: which, [trivial] or rs=dsilvers ? [05:13] SteveA, I'm going to assign that bug to neuman, it's an easy fix [05:13] kiko: do we want end users to distingush between whether they're in malone code or in launchpad code? [05:13] kiko: make sure it gets a test ;-) [05:14] Kinnison: rs=stevea [05:14] SteveA, the test is quite trivial -- just add to xx-notfound-traversals [05:14] SteveA: thanks [05:15] SteveA, I think bug reporters know if the bug occurred while tracking a bug, doing a translation, or using any other part launchpad [05:15] SteveA, until we get moving around products however it's going to be painful [05:15] gneuman, you have bug 2166 too [05:19] thanks bradb you're a star [05:21] SteveA: could you verify the review you did yesterday for me, I've improved the tests and added some librarian setup code for use when running the test alone [05:23] anyone available to review some code? [05:23] cprov: okay. what do i need to look at? [05:24] SteveA: https://chinstrap.ubuntu.com/~dsilvers/paste/fileOXR1j8.html [05:27] cprov: they look okay. i can't really concentrate on them well, as i wrote too much code today already :-/ using 'assert' in doctests seems odd to me. [05:29] SteveA: assert is only used for things I can't be sure, like buildduration, datebuilt (timestamps) and buildlog (librarian alias) [05:31] i don't know what you mean by "used for things I can't be sure" [05:32] SteveA: buildduration and datebuilt are timestamps, usually "NOW" how to check it ? i could use type, but it still being inside an assert [05:34] SteveA: is it ok then ? [05:35] salgado: have time for a 50 lines review to unblock mpt ? [05:35] it looks okay to me, but i didn't look at it very deeply. i think it is okay to merge, but you might want to ask salgado for a second look at it. [05:36] SteveA: fair enough, let's see if he has time ... thank you [05:36] cprov: I'm not blocked, I'll just merge assuming that you also merge soon :-) [05:36] "Leave blank for a complete list." [05:38] mpt: ok, it was just a excuse to unblock myself ;) 4 trees with pending stuff, brain is screaming ... [05:39] salgado: ping? === jinty [n=jinty@205.134.224.215] has joined #launchpad [05:40] cprov, where's the diff? [05:40] salgado: https://chinstrap.ubuntu.com/~dsilvers/paste/filenv7z3Z.html [05:44] gneuman, when you send me code, please cite the bug number it fixes -- matsubara, thanks for including the bug # [05:50] matsubara, I decided that bug 1419 is not a dupe of 908, but only derived from it [05:50] I'll undupe [05:53] matsubara, when was the last time you merged from rocketfuel? [05:54] I think those links are disabled [05:54] i merged friday [05:55] but the links wasn't disabled yet, cause steve was waiting for a revision === lamont [n=lamont@15.238.6.147] has joined #launchpad [05:55] OMG... python-subversion memory management is... inexistent... [05:56] matsubara, ah [05:57] anyway, i re-enable it because it's working now and the page is self-explaining (steve was complaining about that) as you can see in the bug comments [05:57] matsubara, I think the latest code in RF has them disabled in browser code. [05:57] bradb, SteveA: I got a bad conflict when star-merging -- can someone send me the current version of browser/bugtask.py? [05:58] kiko: the quickest would probably be to get $rocketfuel, because I'd have to do that too, to ensure I have the most recent [05:59] and gets don't normally take long [05:59] quicketst -- get on chinstrap [05:59] go go pqm [05:59] ssh it across [05:59] fucking baz [06:00] bradb: https://launchpad.net/products/malone/+bug/2608 [06:00] yeah, looks like somebody broke that [06:01] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=BjornT] support tracker cleanup; [trivial] fix bug 1389 (patch-2507: mpt@canonical.com) [06:02] mpt, I just noticed the same === marcolu [n=marcolu@218.82.169.181] has joined #launchpad [06:05] ha [06:06] I was just about to report a bug about a Malone notification having a malformed Reply-To header, then I realized the notification containing the malformed Reply-To header was notifying me that Bjorn had just reported the bug about the malformed Reply-To header [06:07] heh [06:12] cprov, ping? [06:13] kiko: pong [06:13] can I assign matsubara to bug 2609? [06:13] mpt: you changed lib/canonical/launchpad/templates/ticket-portlet-actions.pt [06:14] mpt: what did you change? [06:14] kiko: sure [06:15] thanks [06:15] SteveA: from memory, it was just s/ticket/request/g [06:16] okay, i have a diff of it [06:16] i have totally converted that into menus [06:16] was I right? :-) [06:16] you did more than that [06:16] but i can change the menu [06:16] ok, sorry about that [06:17] that branch was started before the actions portlet nuking === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad [06:18] EmailAddressAlreadyTaken: The email address azam.r@rediffmail.com is already registered. [06:18] salgado? [06:18] darn, system error assiging specs to milestones [06:19] memory managemen by svn: freeing memory? hu? what for? === ddaa cringes [06:20] How do I access the error logs for production? https://launchpad.net/errors gives me a 403. [06:22] kiko: See, I'm not the only one!! [06:22] bradb: Install the Launchpad client cert. in your browser [06:22] bradb, doh. [06:22] maybe if I just fork cscvs for each revision that would make it possible to keep the leak in control... === ddaa kicks svn === ddaa stabs svn === ddaa goes to piss off some people on #svn [06:24] Hey, cool, Safari in Tiger has "private browsing". Worry-free pr0n surfing. [06:25] argh -- seeing ’ in page template source makes them much harder to read and understand [06:26] worse than other things because they interrupt a word [06:27] kiko, ? [06:27] salgado? [06:28] have you seen that error before? [06:30] SteveA: Actually, I can fix that by specifying an encoding in main-template.pt [06:30] since we're serving XHTML-as-HTML [06:31] does that mean that the files would no longer be ascii [06:31] ? [06:31] kiko, I don't remember seeing it before [06:31] Can someone privmsg me the client cert password? [06:31] SteveA: correct [06:31] me neither [06:31] my point is, would it mean that ordinary programmers would not be able to type a consistent "'" ? [06:31] no, don't do that [06:32] i think apostrophes should be the "'" character in launchpad [06:32] kiko: Thanks [06:32] SteveA, why not use something like DPoT to convert? [06:32] SteveA: No, it wouldn't mean that [06:33] kiko: this stuff is coded directly into templates [06:33] it makes them hard to read [06:33] SteveA, that I don't like very much either [06:33] So does all this and and
goop [06:33] SteveA, btw, is there a cookbook on working around "Constraint not satisfied"? [06:33] they don't occur in the middle of a word, mpt [06:34] i don't object to "nice quotes" around a word [06:34] but, to interrupt a word in the middle is awful [06:34] kiko: how do you get that? [06:35] Hm, where are we at with fixing the problem with error logs, and getting a random error log when you visit launchpad.net/errors? [06:35] Merge to rocketfuel@canonical.com/launchpad--production--1.34: [trivial] production cherry picks (patch-11: carlos.perello@canonical.com, stuart.bishop@canonical.com, rocketfuel@canonical.com) [06:35] SteveA, matsubara gets it when uploading a larger hackergotchi than allowed. [06:36] so, working as it was designed? [06:36] SteveA, yes, apart from the horrible error message [06:36] aha [06:36] IIRC stub explained how to avoid that [06:36] i'd have to research it. i don't have the answer in front of me. maybe BjornT knows. [06:37] stub knows [06:37] kiko: you should raise a LaunchpadValidationError in the validator [06:37] aha [06:38] salgado, matsubara: is that easy to do for you? [06:39] SteveA: When did you last land menus work? [06:40] bjorn is reviewing the next lot now [06:40] this basically finishes the conversion [06:41] Sorry, I meant, when did you *last* land menus work, as in, did you get my fix for the Rosetta status legend [06:41] someone's just reported a bug on it [06:42] i have no idea what "Rosetta status legend" means [06:42] best thing to do is [06:42] 1. log into chinstrap [06:42] 2. baz get rocketfuel@canonical.com/launchpad--devel--0 [06:42] SteveA: The stuff you merged from me yesterday included a change to rosetta-status-legend.pt [06:43] 3. look in the resulting tree to see if it is there [06:43] kiko, yes, that is. I'll guide matsubara to fix that [06:43] i haven't had pqm merge things since yesterday [06:43] ok [06:43] thanks salgado -- you rock as usual [06:43] thanks [06:43] everything that was on your Menus branch today will be merged later today or early tomorrow [06:44] mpt: i've just added a custom error page for requests timing out [06:44] you'll probably want to improve the text on it [06:44] okie dokie [06:45] but the idea is to let people know that it is a different kind of error, and may well be transient, and also to let the developers know more quickly the nature of the problem. === j^ [n=j@e178034215.adsl.alicedsl.de] has joined #launchpad [06:59] ddaa: ping [06:59] ding dong [06:59] apr_initialize() ; stuff ; apr_terminate() [06:59] makes no difference [06:59] try that [06:59] okay [07:00] that's why I ommited it, it's not part of the minimal snippet :) [07:09] cprov: the console stuff for signed cocs -- is it accessible by admins only? [07:09] SteveA: yes [07:09] thanks [07:30] bradb, please don't assign bugs to mark. [07:32] who should it be assigned to? [07:33] anyone but him [07:33] I'll fix it [07:33] don't worry [07:33] just use that for future reference [07:34] ok [07:42] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Unpublishing a missing file should be a noop. (also fix silly typo in debug message in death row processor) (patch-2508: daniel.silverstone@canonical.com) === zyga_ [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [07:47] ciao dudes [07:47] tchau === wouter [n=wouter@lombox-266.customer.bit.nl] has joined #launchpad === wouter [n=wouter@lombox-266.customer.bit.nl] has left #launchpad ["Ik] === zyga_ is now known as zyga === niemeyer_ [n=niemeyer@200.103.136.74] has joined #launchpad === wowi [n=wowi@lombox-266.customer.bit.nl] has joined #launchpad [07:56] hello === camilotelles [n=Camilo@200.128.80.250] has joined #launchpad [08:02] https://launchpad.net/products/launchpad/+bug/2612 [08:03] how to add requests for enchancement? [08:04] zyga, use malone, it's practically the same. [08:05] hmm, isn't this the same thing *exactly*? [08:11] that's a good question [08:12] mark has the idea that enhancement/feature requests are different than bugs [08:12] it may be that he's changed his mind now that he has a spec tracker [08:21] aw damn [08:21] monster pqm queue of death, and now i see that i'm going to conflict with BjornT's patch [08:23] so, who wants to bounce pqm? :) [08:23] pas moi [08:23] ciboire [08:25] bradb: Did you realize how many things would have broken if you *hadn't* set up a redirect for /malone/bugs/x? :-) [08:25] there was no question about the redirect [08:26] it would have been just plain rude any other way [08:26] Should the URLs included in e-mail notifications change now? [08:26] (and if so, to what?) [08:26] i'm not so sure === rbelem [n=rodrigo@200.246.97.164] has joined #launchpad [08:27] maybe to just /bugs/42 ;) === rbelem is now known as rbelem-amd64 [08:28] or bugs.launchpad.net/42 [08:28] that would be a lot harder [08:28] because it would imply that bugs.launchpad.net works [08:28] right [08:28] true [08:29] unfortunately, the bugmail address already gives that illusion :/ [08:30] true [08:30] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] change a .remove to .pop to fix strange pool bug (patch-2509: daniel.silverstone@canonical.com) [08:31] well, move the "bug" from after the @ to the start of the address, and drop the "s." ;-) [08:31] dilys: are you serious? [08:31] Kinnison, with fixes? [08:31] bradb: hmm, maybe your patch is better, i simply disabled the huge lists. did you make them batched, though? otherwise the new page probably will take too long to render. === bradb wonders how that merge landed [08:31] BjornT: no batching. batching hurts. [08:31] BjornT: i broke it into two reports though [08:32] because a "bugs on my software" thing is important to keep [08:33] BjornT, yeah, bradb's patch is nicer.. [08:35] mpt: possibly. or i was thinking bug.42@... might be a slightly cleaner (looking) way to do it. [08:36] of course, *ideally*, i would love it if bugs.launchpad.net actually *did* work :) [08:36] bradb, kiko: the number of bugs directly assigned to a user is fairly small, though. which means that the new page will cause a system error, just like +assignedbugs did. is that really what we want? [08:37] BjornT: i think so. currently, the "Assigned Bugs" report shows more than just assigned bugs, which seems confusing. we can tune the reports further, if needed. [08:38] hooray for that [08:38] BjornT, I see your point -- he moved everything out of there, is that it? [08:38] bradb: i agree that +assignedbugs should show only bugs assigned to the user. the question is, do we want to add a page which probably will cause a system error? [08:39] BjornT: no, but we want to have a page to view bugs on software you maintain. if it still causes a system error, we'll optimize it. [08:39] kiko: yeah, he move the part that took long to render [08:39] bradb: then i suggest, temporarily disable it, optimize it, enable it. how does that sound? [08:40] BjornT: why not see if it works first? :) [08:41] i suspect one of the nastier culprits on that page was the "bugs with shared interest" bit [08:41] e.g. i can render the +assignedbugs report when i'm not logged in, but when i login, that "bugs with shared interest" query gets run, and whoops, timeout error [08:43] bradb: what is pqm? [08:43] bradb: from my testing with sample data, viewing /people/bjornt/+assignedbugs shouldn't show that part. maybe i'm wrong, though. [08:43] BjornT: the query gets run if you're logged in [08:43] zyga: Patch Queue Manager [08:44] bradb: searching for bugs also takes longer while you're logged in, so it could be the query for private bugs that slow things down. [08:44] zyga: It takes all the changes we're making to the Launchpad code, applies them in order, and for each one tells us if the change was applied successfully [08:44] bradb: ouch, it shouldn't... but did you remove that part, or is that on the new page as well? [08:45] BjornT: it should. that's the way the tal:condition is setup. that bit is completely gone on my branch. [08:46] (the code behind the scenes is still there if we want to display that info somewhere else, but it doesn't seem to make sense on an "assigned bugs" report, nor on a "bugs on software i maintain" report.) [08:46] bradb: when i said "shouldn't" i didn't mean according to the tal:condition, but according to common sense :) [08:48] bradb: in fact, it isn't being run, only the view method is called which returns early [08:51] the method always gets called when you're logged in, as best i can tell. i can see though that it short-circuits when current user == the person of the page being rendered [08:52] bradb: so what do you think. should we go for your patch and see how it goes, or go with mine and fix it properly later? [08:52] mpt: hmm so you send a changeset to this PQM and it applies them in submission orted? [08:52] order [08:52] yes [08:52] seems random :D [08:53] well, usually we don't conflict with each other, so it's not a problem [08:53] how big is the launchpad tree? [08:53] 30,000 lines, iirc [08:53] nice [08:54] BjornT: i'd kind of prefer to leave it in there, because then at least we can test it, e.g. on staging. i can probably fix it proper before the next prod rollout. [08:54] the largest project I've worked on has 48K lines [08:55] zyga: did the users like it? === Hieronymus [n=jeroen@cp413115-a.tilbu1.nb.home.nl] has joined #launchpad [08:55] bradb: this patch should get cherry picked into production, it's not good to have pages that produce system errors [08:55] bradb: its a very advanced linguistic search engine, all C [08:55] the GUI's are not counted into this [08:56] bradb: the users love it, they don't have a choice ;=) [08:56] but anyway it was really nice, all the similar stuff was either close sourced or really insignificant [08:56] or both [08:58] boom, firefox go bye bye [08:59] The search function in Malone isn't working for me [09:01] BjornT: *shrug*. not sure what to tell you. both of our patches make the same change (it sounds like) to +assignedbugs. neither of our patches will guarantee that the system error goes away. mine keeps a +packagebugs page there too, so that we might at least start to see a pattern emerging of where the problem is. (don't forget that the privacy query gets run on both our +assignedbugs patches anyway.) === SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad [09:02] DIE PLONE.CSS DIE [09:02] kill it === rbelem [n=rodrigo@200.246.97.164] has joined #launchpad [09:03] baz rm plone.css; baz commit -s "buhbye" [09:03] bradb, it's your day to do a drive-by review [09:03] bradb: well +assignedbugs will contain a small number of bugs, so it shouldn't be a problem. how about if i leave my patch in pqm and get it cherry picked into production. you resolve the conflicts and resubmit your patch, which we can test on staging? [09:03] are you ready? [09:04] BjornT: yeah, that seems ok to me [09:04] kiko: sure [09:05] bradb: cool [09:05] bradb, it's for fixing that bug about the assignee widget javascript -- remind me of the number again? [09:06] kiko: cool. #2107. [09:08] kiko: how's it going with my reviews? [09:09] BjornT, I'm going to start after fixing this, you should see how much more pull office people have for reviews :-P === SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad [09:13] BjornT: thanks for filing the bug reports about the bug reports. btw, the report seems to have some attachment pollution in it. e.g. https://launchpad.net/products/malone/+bug/2614 [09:13] maybe that's a known problem === camilotelles [n=Camilo@200.128.80.250] has joined #launchpad [09:14] bradb, sending diff off [09:15] cool [09:15] bradb: yeah, i should remove that one, it's quite trivial. [09:18] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] fix temporary buildd result collector to accomplish with publisher, its a worarround before landing uploader properly. (patch-2510: celso.providelo@canonical.com) === Hieronymus [n=jeroen@cp413115-a.tilbu1.nb.home.nl] has left #launchpad [] [09:24] bradb, received it? [09:25] kiko: yeah, just looking now [09:25] thanks === SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad [09:31] kiko: can you make it select that specific radio button in onKeyPress radio event? (e.g. the one with id assign_to) [09:32] hmmmm [09:32] using getElementById()? [09:32] perhaps [09:32] bradb, sent another patch to fix a traversal issue I just found [09:33] also, shouldn't it be on the onFocus event? e.g. onFocus="javascript: getElementById('assign_to').checked = true" [09:35] I don't think so [09:35] hm, actually, neither of those events seems to focus the correct radio button if you use "(Choose...)" to pick the assignee [09:36] I think I can work around that === SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad [09:44] BjornT, how do I place an explicit semicolon in a tal:attributes string declaration? [09:46] kiko: a quick google search told me to double the semicolon (;;) [09:47] sorry :-( [09:53] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=stevea] Release DEPWAIT and CHROOTWAIT jobs in slavescanner, only block BUILDERFAIL ones (patch-2511: celso.providelo@canonical.com) [09:53] zope 3 is usually not very googlable [09:54] that's why I didn't try [09:56] true. TAL isn't specific to zope 3, though, so it's easier to find information about that. [09:56] one other thing (sorry, was on phone there for a bit), but it looks like you removed a space above ISinglePopupView that leaves only one space between it and the previous class's method declaration. normally it's 2 blank lines between class definitions [09:58] same with top-level function defs [09:59] perhaps I did [09:59] but that file is all busted anyway [09:59] fixed [10:00] kiko, let's review https://chinstrap.warthogs.hbd.com/~jamesh/pending-reviews/guilherme.salgado@canonical.com/launchpad--shipitng--1/filtered-diff together? [10:01] yes [10:01] let me finish my patch for bradb === bradb looks at the traversal patch === sabdfl [n=mark@wbs-146-179-81.telkomadsl.co.za] has joined #launchpad [10:05] BjornT: hm, is it possible for the "name" passed to a traverser function to ever be None? that doesn't make sense to me. [10:06] bradb, did you see the URL I provided in the summary? [10:06] yes [10:07] bradb: i don't think so. why do you ask? [10:07] that system error outs [10:07] BjornT: just curious, because kiko was putting checks against None in this traversal patch [10:08] because if you don't, it blows up. [10:08] kiko: name isn't None in that case. name is +bug [10:08] kiko: which URL? if it blows up, there should be a test causes None to be passed as the name. [10:09] and then we try to consume the next path step inside the traverser to get the right bugtask to show [10:09] bradb, really? [10:09] yeah [10:09] that's not what the traceback tells me. [10:09] that's what _consume_next_step is all about [10:09] I think you're confused. === lamont ponders what python function will take a uid number, and turn that into a name [10:10] bradb, https://launchpad.net/products/launchpad/+bug [10:10] * if nextstep.isdigit(): [10:10] AttributeError: 'NoneType' object has no attribute 'isdigit' [10:10] right, nextstep, not name :) [10:10] oh, sorry. [10:10] that was just me being extra-cautious :) === rbelem_ [n=rodrigo@200.246.97.164] has joined #launchpad [10:13] kiko: also, the _traverse_plus_bug function you created has three args, but your callsites are only passing two [10:13] not sure what "self" is all about [10:13] I nuked that, I was on crack [10:14] can you send me a new version of that patch? this code is b0rked dude. :P [10:14] no [10:14] all I did was remove the self method [10:14] then it's still broken [10:15] really? [10:15] it's referring to "request" in that function, when request isn't defined [10:15] yes, bradb, with the obvious fixes [10:15] anything else? [10:15] I feel like invoking the BRUCE on you [10:15] you mean you renamed "nextstep" to "request"? [10:16] yes, bradb, the obvious fixes (the patch hadn't been run) [10:17] kiko: you can remove the "name is not None" bit of that if statement, in case you hadn't already [10:17] sure [10:17] the name will never be none, right? [10:17] according to BjornT and I, it wouldn't make sense. you can blame us later if we turn out to be wrong. [10:18] sure [10:18] other than that, i'd add a check_not_found test for each +bug traversal in xx-notfound-traversals.txt [10:18] will do [10:18] thanks [10:18] np [10:21] p.s. PQM IS WAITING FOR YOU [10:21] bradb, fixed the other issue with the JS patch [10:22] sweet. so, it'll work with Choose...? [10:22] yep. [10:22] bradb, is PQM hung then? [10:22] no, it's not [10:22] kiko: no, i guess not. just taking astonishingly long. [10:23] there are three hour old requests still in the queue [10:23] the queue's been full all day [10:24] kiko: you happy? :) [10:24] asmodai, you rock! [10:24] kiko: hahaha [10:25] kiko: you're welcome, hope it works out to something nice for you guys. ^^ [10:25] me too! [10:25] Michael is a cool guy to deal with, passionate about things, which you might've guessed from his email [10:25] No idea on the pure business side of things though, he at least seems to be very concrete. [10:26] yeah, seems very sane [10:26] I need to talk to gabriel here to see who we can allocate to this [10:26] *nods* [10:27] Done much on BSD yet? [10:28] we have two projects on openbsd [10:28] Oh nice. [10:29] If there's any issues I can help out with, just bellow. [10:29] thanks, you rock [10:30] de nada === asmodai is waiting for the day this code clean up is done so he can refactor. =\ [10:32] kiko: And if stuff goes as it should you will wind up doing Ubuntu related coding too for them I guess ;) [10:32] hopefully! [10:32] It's in your hands ;) === BjornT -> bed [10:45] bradb, damn, I can't find out if the onkeypress() method is standard or not. [10:50] hm, it's mentioned here: http://www.w3.org/TR/WD-html40-970917/interact/forms.html#edef-INPUT but the wording isn't written in a way that clearly says to me "this is standard" [10:50] seems like a definite maybe [10:52] bradb, AFAICS that refers to the event, which does exist and is standard [11:07] mpt: ! you karma monster! [11:07] What have I done? [11:07] dude, you're like in the top 5 on LP! [11:08] pretty awesome [11:08] oh, right :-) [11:08] from all my bug reporting, I guess === janimo [n=jani@Home03207.cluj.astral.ro] has joined #launchpad [11:09] and the occasional fix doesn't hurt, either [11:09] ping lifeless [11:09] I should get into translating [11:09] it gives you lots of karma [11:09] bug work just doesn't pay off [11:10] ping jblack [11:10] yeah, I have 938 and jordi has, like, 9857 === mpt pouts [11:10] are any of the bazaar importer people here? [11:11] Merge to rocketfuel@canonical.com/launchpad--devel--0: Add batch navigation to the list of shipit orders. r=kiko (patch-2512: guilherme.salgado@canonical.com) [11:13] hey kiko, what about that code review? [11:14] salgado, almost there [11:15] janimo, hmm ddaa or jblack are the guys [11:15] kiko, are you reviewing it already? [11:15] salgado, no, finishing my patch === camilotelles [n=Camilo@200.128.80.250] has joined #launchpad [11:16] kiko, thanks is there a launchpad m-l? [11:17] janimo, you can file bugs on launchpad, and I can make sure they are fixed [11:18] ok thanks, I was about to ask about importing from external svn to baz but will get jblack tomorrow [11:19] sure thing === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === janimo [n=jani@Home03207.cluj.astral.ro] has left #launchpad [] [11:45] so much jealousy [11:45] good night folks [11:46] gnight [12:01] spiv: ping [12:01] night kiko [12:01] jordi: dude. #1 [12:01] taste it