[00:17] * jml hunches [00:49] * jml brunches [01:16] you know what [01:16] I think we should combine this channel and #launchpad [01:17] Mhm. I'm not really convinced === _thumper_ is now known as thumper [02:04] mars: I don't suppose you are still around? [02:09] jml: what is your command to kill the mailman bit of make run_all? [02:10] thumper, it doesn't work any more :( [02:10] :( [02:10] thumper, ps x | grep mailmanctl; kill the appropriate process [02:11] spm: ping [02:14] Does anyone have any updates on the redmine + launchpad integration? [02:15] Bug #324387 [02:16] Bug #324387: Support Redmine Bug Tracker for bug watches === thumper is now known as _thumper_ === _thumper_ is now known as thumper [02:17] * thumper thrashses local lp [02:24] thumper, why can't I specify the review type? === ]reed[ is now known as [reed] [02:25] oh yuck. bugs. [02:25] jml: I don't know, why can't you? [02:25] jml: you have to specify it before choosing the person right now [02:25] kinda blows a bit [02:26] thumper, I'm doing a review using the new form layout that I did a review of for you recently [02:26] and you used the keyboard? [02:26] I found that this morning too :( [02:26] thumper, I can't hit Tab, select approve and then Tab to the review type [02:26] yep, bug [02:26] thumper, I have to actually click inside the comment field -- that's the only thing that seems to do it [02:26] thumper, I guess that explains the comment from Michael Nelson. [02:27] clicking on the review selector works too [02:27] about enabling etc. [02:27] it seems to be on click not change [02:27] if you file the bug, I'll fix it [02:27] deal? [02:27] deal [02:28] thumper, I'm going to file the bug as critical, since I think it's a serious regression. [02:28] jml: it isn't a regression [02:29] jml: same behaviour as before [02:29] yes it is a bug [02:29] but it isn't a new bug [02:29] thumper, I'm pretty sure I've been able to hit tab before and have it work. [02:29] * thumper tries prod [02:31] jml: it is very weird on prod [02:33] thumper, it's broken there too, I see. [02:33] thumper, I think the new behaviour is still worse [02:33] thumper, precisely because the order of UI widgets is better. [02:33] file the bug, I'll fix it === ]reed[ is now known as [reed] [02:34] thumper, anyway, I'll contend that it's an rc bug. [02:35] I'm not sure our windmill tests can test that level of messing around [02:35] thumper, https://bugs.edge.launchpad.net/launchpad-code/+bug/496820 [02:35] Bug #496820: "Review type" field is never enabled if you use keyboard only [02:35] but I'll add the fix [02:35] ta === ]reed[ is now known as [reed] [02:47] jml: on the plus side it looks like a one liner [02:47] thumper, and the down side? [02:47] it nees an rc [02:47] and I don't know how to test [02:49] met [02:49] meh, rather. [02:49] release it first, clean up the bodies later. [02:53] jml: confirmed the one line fix [02:53] now... [02:53] a test [03:10] hi. does anyone know how to solve the "Non-english database locales are not supported with launchpad. " problem? Thanks! http://paste.ubuntu.com/341610/ [03:12] * jml doesn't [03:12] hmm [03:12] * thumper doesn't [03:12] it should be making the db with UTF-8 [03:14] stub: do you know anything about the above pastebin? [03:14] thumper: Charset != language === wgrant_ is now known as wgrant [03:15] adiroiban: The postgresql database cluster needs to be in the C locale or your ordering will be locale specific and all the tests break. You need to rebuild that db cluster in the C locale. [03:15] I'm trying to install launchpad on a fresh Ubuntu 9.10 server. The strange thing is that it worked on my Ubuntu 9.10 Desktop [03:17] If you are not using PG for anything else (this will destroy your databases), pg_dropcluster --stop 8.3 main; pg_createcluster --locale=C 8.3 main [03:18] stub: thanks. I'm using 8.4 and setting a machine for running full tests [03:18] so I can destroy it... no problem :) [03:19] adiroiban: The Launchpad test suite triggers bugs in PostgreSQL 8.4. 8.4.2 should be out 'real soon' with the fixes. [03:20] stub: thanks for the info. I'll go with 8.3 then [03:22] right now launchpad-database-dependencies for Karmic depends on 8.4 [03:22] how do you reload a page in a page test? [03:26] browser.open [03:26] or [03:26] browser.reload() [03:30] thanks. [03:30] fwiw, I prefer IBranchCollection to the bug task search interface. [03:31] :) [03:31] me too [03:33] thumper, btw, love the new activity stuff on the code review page [03:34] jml: thanks, I love it too [03:41] * jml afk [04:25] * thumper EODs [04:25] will check with danilos later for rc [04:35] jml: hello [04:35] jml: can you have a look at this patch and see if you think it's ok as far as it goes? http://pastebin.ubuntu.com/341643/ [04:45] mwhudson, ok [04:57] jml: any thoughts? [04:57] mwhudson, no, not really [04:57] mwhudson, I'm not sure what the scope of the patch is [04:57] jml: i guess that's good [04:57] jml: i just wanted to get a single simple test passing [04:57] mwhudson, ahh ok. [04:58] mwhudson, I think that's about right. [04:58] jml: and then want to check that i'm not doing anything completely tasteless [04:58] jml: thanks [04:58] * mwhudson has felt like no-one else is in this particular box with him [05:01] mwhudson, yeah, I know what you mean [05:19] i guess it's time to EOD === lifeless_ is now known as lifeless === abentley1 is now known as abentley [08:12] can I send merge proposals for LP using "bzr send" on the wiki there is only information about sending via web UI https://dev.launchpad.net/PatchSubmission [08:20] adiroiban: as I recall that was supposed to work, but we've gone through tons of changes since I last used it [08:21] adiroiban: IIRC the main thing I liked it for was the pretty-printed diffs, and nowadays the MP produces that anyway. [08:21] jtv: thanks. I'll try and if fails I will use the web ui [08:23] adiroiban, jtv: using 'bzr send' works perfectly well. i think most people use --no-bundle, but i'm not sure whether it's necessary, or not. [08:23] adiroiban: don't forget that you need to gpg sign the e-mail, though [08:24] BjornT: thanks for the tips. I didn't know about gpg requirement, but I can do it. that's not a problem :) [09:15] Anyone know off hand what python-pullparser is in lp-dev-deps for? [09:15] It's removed from Debian and Lucid [09:15] ("ROM; Unmaintained upstream") [09:23] I would suspect parsing hardware database submissions [09:24] Possibly for parsing remote bugtracker data [09:33] Shouldn't it be in lp-deps rather than lp-dev-deps for that sort of thing? [09:35] grep: zero hits [09:37] guess I'll try a testrun [09:45] maxb: i got some hits for pullparser. mechanize seems to use it. mechanize is used by zope.testbrowser, which is used by our page tests [09:48] i'm getting a segfault when i run the launchpad test suite. any ideas? [09:48] no output, bin/test just segfaults [09:49] bin/py runs fine [09:49] leonardr: You were gone during the 2.5 migration, weren't you? [09:50] wgrant: indeed [09:50] leonardr: make clean; make [09:50] are you sure that will help? this is a brand new branch [09:50] * leonardr is trying it [09:50] The problem is in sourcecode/, IIRC. [09:50] ah [09:51] I think the root Makefile has been taught to clean that too, but I guess you'll find out [09:51] Yeah, make clean should do it all. [09:51] BjornT: Oh, it's inside an egg, explains why I didn't see [09:56] Hi LP people [09:57] When posting a comment I often get a popup message with an error: [09:57] The following errors were encountered: [09:57] * Object: , name: u'dead-ayatana' [09:57] The comment is actually getting posted, but I have to refresh the page to see it [09:58] This has been a case for quite a long time now... any ideas? [10:39] argh, i get a segmentation fault trying to run windmill. has anyone seen something like this recently? [10:39] BjornT: have you? ^^^ [10:39] mwhudson: hey how's the build job work coming along? [10:40] bigjools: slow progress really [10:40] is anything blocking you that I can help with? [10:40] bigjools: not really, it's just boring typing at this stage :) [10:41] yeah it's fun making new model classes :) [10:42] it's also a bit scary in some ways, you have to put so much work in before you get to something useful [10:42] but well, getting through that now [10:42] it's also a bit of a nightmare testing with our buildfarm [10:44] i look forward to having that problem, in some ways :) [10:44] anyway, time for bed [10:44] g'night [10:45] good night! [10:48] intellectronica: I got a segfault earlier today but make clean and make build cleared it up. I couldn't see a cause - the only thing I'd changed was a .py file. [10:48] (between the segfault and the previous successful invocation of that test) [10:53] stub: cool, let me try that === jelmer_ is now known as jelmer === matsubara-afk is now known as matsubara [11:40] henninge jtv can you give me a quick hint about how can I import some templates in lp.dev ? [11:41] the defaul import queue is empty [11:41] adiroiban: using bzr import or upload? [11:41] adiroiban: oh, I see what your problem is [11:41] henninge: i don't know ... [11:41] I only want to have them there [11:41] I assume there is a script / cron-job [11:41] for that [11:42] adiroiban: just a manual upload is probably easiest [11:42] adiroiban: if you just need something in the queue, a simple upload of a tar ball is easiest locally [11:42] adiroiban: did you upload already? [11:42] once it's in the queue, you need to approve the entry/entries [11:42] adiroiban: you need to "make run_all" AFAIK. jtv? [11:42] yes, that's right [11:42] aha. I have uploaded a new POT file for a sourcepackage [11:43] but I don't know where it went [11:43] adiroiban: so, uploads should appear in the queue immediately [11:43] check translations.launchpad.dev/+imports. once the queue entry for the pot is approved, you run [11:43] rosetta-poimport.py [11:43] from the source tree; [11:44] cronscripts/rosetta-poimport.py [11:44] right. I normally keep my local lp running while I do that, though don't know right now if that's really needed [11:44] jtv: me too [11:45] I mean, I leave it running [11:45] (not my car) [11:45] oh, I don't have a car atm [11:45] ;-) [11:46] henninge, jtv thanks. I should be good to go chacking that bug :) [11:46] I would ask what happened to the one you were going to get, but workrave insists I'm on a break now :-) [11:46] chasing [11:46] adiroiban: what bug? [11:47] jtv: bug 496896 [11:47] Bug #496896: Permit distribution translation group owners to administer the import queue [11:47] ah cool [11:47] jtv: with the latest switch from launchpad.Admin to launchpad.TranslationsAdmin [11:47] we need to enable them in the template [11:48] it should be trivial [11:48] not sure that really should be "for distribution" and not "for Ubuntu"; we don't want just anyone to register a proprietary distro and start using Rosetta for it [11:48] adiroiban: "trivial" is a bit of a red-flag word for me. heard it far too many times. :) [11:48] :) [11:49] intellectronica: what did segfault? the test runner, or the app server? (and no, i haven't seen that before) [11:49] lot of the circumstances have changed w bzr imports though [11:49] adiroiban, henninge: I'm going to try & have that typing break now :) [11:49] jtv: regarding new permission, danilo has review them [11:50] adiroiban: then I'm sure it's ok [11:50] i hope so. basically he wrote that code :) [11:51] BjornT: i think it's test test runner, but i'm not sure. 'Segmentation fault.' was the only output i've gotten after running bin/test. make clean and make build as per stub's advice did make it work again [11:51] i just pushed for review some stupid changes and he had to fix them [11:52] intellectronica: That was exactly the behaviour I saw. === mrevell is now known as mrevell-lunch [13:08] henninge, jtv can you please help me set up a test where a need to add translations from 2 persons to a pofile. This is what I got now http://paste.ubuntu.com/341860/ [13:08] adiroiban: we're just having a call here, hang on! [13:08] jtv: np === mrevell-lunch is now known as mrevell [13:21] adiroiban: in the first code you need to call makePOTMsgSet [13:22] adiroiban: and always use sequence=1 (or more if you have multiple) [13:22] as a parameter [13:23] adiroiban: ok, that is probably what you are doing in the second code, so nm. [13:23] adiroiban: no need to call setSequence, especially not twice [13:24] henninge: but in factory.makeTranslationMessage, if msgset is None, it is created...just like I did ...but that way is not working [13:25] adiroiban: so, are you trying to create two translations for the same msgset, or do you just want to add two English strings with a translation each? [13:26] I just want to have 2 translators for es [13:26] for a single pofile [13:27] adiroiban: so you don't care *what* they actually translated? [13:27] nope [13:27] i just want to have them in the list of contributors for that pofile [13:27] adiroiban: so the first code should be good if you add sequence=1 and sequence=2 to the two makeTranslationMessage calls. [13:28] and fix the "merged_translatort" typo [13:33] henninge: no luck . This is what I got http://paste.ubuntu.com/341882/ [13:35] adiroiban: this fails when trying to open a url. What's the url you are trying to open? [13:36] http://paste.ubuntu.com/341887/ [13:36] henninge: sorry. i found it. [13:37] thanks. === jelmer_ is now known as jelmer [14:13] salgado: gary_poster: Is it possible to make TestBrowser to accept a 410 HTTP status code so that I can test what the browser sees? [14:19] sinzui, you can try setting raiseHttpErrors to False in your browser instance, but I'm not sure it will actually work [14:20] salgado: I think that is exactly what I want. thanks === Chex_ is now known as ChEx === ChEx is now known as Chex [14:26] MTecknology: you saw stuart metcalfe's reply on bug 496360? [14:26] Bug #496360: Can no longer log in with OpenID modules [14:32] leonardr: skype? [14:39] gary: argh [14:39] sorry, irc was on the other computer [14:39] i'm on skype now === mbarnett` is now known as mbarnett [14:50] intellectronica, did you send out the noted from yesterdays' call? [14:50] beuno: sorry, not yet. will do that now [14:51] intellectronica, thanks, I'm trying to remember what I promised I would do :) [15:05] sinzui, hi, do you have a few minutes to discuss https://code.edge.launchpad.net/~sinzui/launchpad/spam-eggs-bug-495250/+merge/16174? [15:05] sure, since the tests fail [15:12] danilos: ^ [15:13] sinzui, right, so, even though I'd really like to see this in asap, I think it's something worth punting for the January release so we can make sure we get it nicely polished without introducing risks into this release [15:13] polished? [15:14] The can be CPed later this week or next [15:14] sinzui, well, QAd properly (i.e. more eyeballs on it on edge for a while etc.) [15:16] danilos: actually. I am certain this branch will be CPed since we will not have a full staff watching LP at the end of the Month. I Can land this today, or at the end of the week. [15:16] * sinzui hates this branch too much to care [15:17] sinzui, well, can you ensure at least some QA happens? can you QA it on staging or dogfood (by cowboying it in)? otherwise, I'd rather wait for a re-roll or get it CPed later [15:18] Yes, wait for a reroll. Yesterday was too stressful. I am not willing to hurt myself for scope creep [15:20] sinzui, ok, sure [15:23] \o/ and I have a legitimate way to test 410 in admin tests! I might be able to do the work I was supposed to do on Thursday, Friday, and Monday [15:24] sinzui, heh, what's the trick there? can you get headers in a browser object? [15:24] Well there are two tricks for two conditions [15:24] To view pages that raise a 410: [15:24] >>> admin_browser.handleErrors = True [15:24] >>> admin_browser.raiseHttpErrors = False [15:25] sinzui, ah, nice [15:38] gary_poster: ya, thanks for everything :D [15:39] :-) === danilos changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 3.1.12 | PQM is closed; RC only (https://dev.launchpad.net/CurrentRolloutBlockers, RM: danilos) | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in #launchpad-reviews | Use http://paste.ubuntu.com/ for pastes === matsubara is now known as matsubara-lunch [15:43] sinzui: ah. lights are back on here. [15:43] sinzui: this is the test [15:43] http://paste.ubuntu.com/341957/ [15:43] sinzui: yes, it's pushed [15:44] sinzui: ~henninge/launchpad/bug-495126-deactivate-users [15:46] gary_poster: so - do you know when that change did happen? [15:47] sinzui: wait, I just saw an error in the test! === barry` is now known as barry_ === deryck is now known as deryck[lunch] === barry_ is now known as barry === jelmer_ is now known as jelmer === ursula is now known as Ursinha-lunch [19:22] morning === mwhudson_ is now known as mwhudson [20:18] Can I get a static link to a launchpad team image? Instead of say https://launchpadlibrarian.net/19775148/g2529.png I have https://launchpad.net/~ubuntu-southdakota/+image/large === salgado is now known as salgado-afk [20:18] MTecknology, there os no such URL [20:18] but I think it would be useful [20:18] not sure how much work it would be [20:19] beuno: I could really really use something like that about now :P [20:20] beuno: for the LoCo Map [20:20] I'll file a bug when I get back in ~10min - see how hard it would be [20:20] THanks [20:23] Such an URL would only be useful for pulling the images externally without consulting the API, though === matsubara is now known as matsubara-afk [20:31] MTecknology: short answer is no, it would allow xss attacks [20:32] unless its off in a different domain anyway, so you'd still not be able to just use the team url [20:38] lifeless: how so? [20:39] maxb: can I use the api to do that? [20:41] XSS attacks? Even though it's presumably forced to be an image? [20:41] maxb: you mean by uploading a harmful image? [20:42] wouldn't that still be vulnerable in the same way? [20:42] Can an image be harmful? [20:43] ya.. [20:44] I was just lookin in the apidoc and I don't see an image for teams - nor do I really know how to use the api anyway [20:44] nvm - mugshot_link [20:44] Now I need to learn how to actually use the api to make use of this... [20:51] maxb: there have been many bugs found in image libraries [20:51] maxb: so yes [20:52] Unknown consumer (None). [20:52] I can't use it yet, can I? [20:52] lifeless: Lots of files are served from URLs like that -- they just redirect to a librarian URL immediately. [20:53] wgrant: gotcha [20:55] Can I use the API in this way or is it not open for me to use? [20:56] You cannot yet easily use it anonymously. [20:57] wgrant: Is there any way I can become not so anonymous? [21:06] MTecknology: https://help.launchpad.net/API [21:08] wgrant: I was looking at that [21:08] it's somewhat outside of my comprehension :P [21:16] ok - I'm starting to get it.. this will need to be PHP in the end though... Thanks [21:17] Ew ew ew why? [21:18] wgrant: I'll try to use python [21:19] The only thing this is even doing is grabbing the image url :P [21:20] MTecknology: Retrieve a URL like https://launchpad.net/api/beta/~motuscience/mugshot_link [21:20] You should be able to do that unauthenticated. [21:21] wgrant: except for the error it's giving me.. [21:21] XML Parsing Error: not well-formed [21:22] MTecknology: That's because it not an XHTML document, but a raw URL. [21:22] I don't know why the mimetype is wrong, but you should ignore that. [21:22] https://launchpad.net/api/beta/~ubuntu-southdakota/mugshot [21:22] there :) [21:23] Ah, that redirects. Nice. [21:23] that's exactly what I want :D [21:25] wgrant: thanks :D [21:25] Down to running the final spam names filter. It puts a joyful, evil grin on my face >:D [21:28] mars: kill the annoying spammers? [21:29] MTecknology, that is for the losas to do. I'm just pointing out where the bodies are buried. [21:29] maybe 1500 of them [21:29] Ouch. [21:30] yay for automation [21:30] mars: you should automate a tool for them to destroy them too [21:31] ie - box pops up; they glance and verify; destroy; tool moves on [21:31] 1yr later all 1.5k are gone and they have a new batch [21:31] MTecknology, yeah, but they know the proper procedures, and I can just hand a confident list over to them. [21:32] and there are ways to do graduated deactivation in such a way that wrongfully nixed accounts have recourse [21:33] mars: you lost me there - "graduate deactivation" [21:33] MTecknology, erm, "graduated deactivation": deactivate, send an email stating the reason, "Go here to reactivate if we're wrong", after X days shut it down. [21:34] oh [21:35] "christmas-trees-for-sale-72" Huh? [21:36] mars: don't delete me; I'm legit [21:36] regardless of what google says [21:36] edge.launchpad.net/~christmas-trees-for-sale72 [21:38] mars: HTTP/1.1 302 Moved Temporarily [21:38] goes to google.com [21:40] now how the heck did that get in there. Was it part of the same operation that is generating the pharma-spam? Or some independent job? [22:26] good morning Launchpadders [22:27] jml: good morning [22:28] mwhudson, hi [22:43] *groan* [23:31] hmm [23:31] netsplits suck [23:40] its a DDOS [23:41] yeah [23:41] doesn't make it suck less. === mpt_ is now known as mpt