=== ufo- [n=PunK@62.162.192.242] has joined #launchpad [01:11] what happend to the export button in rosetta? [01:11] can't seem to find it anywhere === robertbb [n=robertbb@d154-20-233-0.bchsia.telus.net] has joined #launchpad === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === Nafallo [n=nafallo@unaffiliated/nafallo] has joined #launchpad === interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad === jamesh [n=james@203-59-251-126.dyn.iinet.net.au] has joined #launchpad === stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad [03:31] morning stub [03:35] Morning [03:40] stub, I created a new celebrity (shipit-admins) in my shipit branch. should I create the team myself or can you do that when doing the rollout? [03:41] If you are a Launchpad admin, you can create it on production now. [03:42] no, I'm not an admin [03:42] Can normal users create teams? === stub isn't sure since he is an admin [03:42] yes, they can [03:42] Ok - then you can create it too ;) [03:47] done. :) === robertbb [n=robertbb@d154-20-130-124.bchsia.telus.net] has joined #launchpad === Alinux [n=Ubuntu@p54A3AAD4.dip0.t-ipconnect.de] has joined #launchpad === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad === robertbb [n=robertbb@d154-20-130-124.bchsia.telus.net] has joined #launchpad [06:30] spiv: Do you remember if list(foo) called len(foo) to preallocate the list size? [06:33] stub: Yeah, it does. [06:33] (And then swallows all exceptions from len(foo)!) [06:35] The swallowing is fixed in CVS. [06:36] I remember reading that... that's good news :) === _Rappy_ [n=hunt-pre@dsl-253-122.monet.no] has joined #launchpad === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad === interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad === carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad [08:34] morning === ChanServ [ChanServ@services.] has joined #launchpad === rbelem [n=rodrigo@pintada.proamazon.com.br] has joined #launchpad === jalrnc [n=joao@ip68-0-220-224.ri.ri.cox.net] has joined #launchpad === jalrnc [n=joao@ip68-0-220-224.ri.ri.cox.net] has left #launchpad [] === Seveas [n=seveas@ksl403-uva-132.wireless.uva.nl] has joined #launchpad [08:55] morning [08:56] spiv: i have some great zcml evil to perform this morning. [08:59] SteveA: What sort of evil? === stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad [08:59] i need to add a 'facet' attribute to page, subdirective-page, addform, editform directives [08:59] i have worked out how to do so without duplicating code [09:00] but the hack is necesarily evil [09:05] i can wave my hands and imagine using events for zcml parsing in a way that would make this kind of customization easier [09:05] but i don't want to change the zcml parsing upstream just for this. [09:06] SteveA, how is possible that the export page is failing now because a missing title? did you change anything mandatory with latest production update? [09:07] i didn't do anything, and seeing as i can't merge into pqm at the moment, i don't think i can have. [09:07] SteveA, I mean with last week update [09:07] sd-tux mentioned the problem here. i looked at the error log page on the server, and saw an AssertionError about that pagetitle being missing. [09:07] anyway, it's an easy fix [09:08] carlos: i haven't merged anything into pqm at all recently. [09:08] i have no idea what changed to remove that pagetitle, or change the name of the template in that way. [09:08] me neither [09:08] maybe someone else's refactoring? and with no test to catch it, it didn't get properly refactored. [09:09] but one thing is true... a pagetest is missing :-( [09:09] yeah === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad [09:32] allo allo [09:35] hello [09:37] I spent the plane flight hacking up another proof-of-concept unittest plugin. [09:37] as a -not-work-projet- [09:37] http://www.robertcollins.net/unittest/testresources/ === ddaa [n=ddaa@217.205.109.249] has joined #launchpad [09:50] SteveA, I'm having problems with a tal macro, could you help me or are you too busy? [09:50] carlos: i can help [09:50] SteveA, thank you [09:50] lifeless: can you sort out my pqm access? [09:51] SteveA, I'm following the instructions we have at https://wiki.launchpad.canonical.com/PageTemplateHacking [09:51] but every time I try to refer to the macro, I get a KeyError with the name of the macro [09:52] can i see your template code? in Kinnison's paste bin? [09:53] SteveA: on it [09:53] thanks [09:53] SteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/file5PQ1uO.html <- This is the error [09:53] and the template source? [09:53] SteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/filefQmE2H.html [10:02] Anyone object to me updating dogfood right now? === dand [n=dand@gw.datagroup.ro] has joined #launchpad [10:02] Kinnison, none at all [10:03] I mean no objections at all [10:03] cool === Kinnison wonders what will be broken in dogfood today [10:03] Kinnison, did you discover why your checkout was getting wrong code? [10:03] carlos: No, it's very very confusing === stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad [10:05] stub, hi, I was not able to test staging and this weekend my export failed because mawson ran out of disk space, so I'm doing the export now (again) [10:05] carlos: i cannot see anything that would cause a problem. we need to go into the debugger [10:06] carlos: how much more space does mawson need? [10:06] stub, I will tell you as soon as possible if it's ok to run that script on production === Kinnison can probably free up another two gigs or so [10:06] carlos: I'll need to run it again - the database was reset yesterday [10:06] Kinnison, it has 55GB now, I suppose someone removed something [10:06] SteveA, ok [10:06] carlos: can we pair-program the debugging? [10:07] stub, oohh... [10:07] using screen or vnc? [10:07] stub, please, do it, I will stop the export then [10:07] SteveA, sure [10:07] I just need to setup it [10:07] SteveA, what do you prefer? [10:07] screen or vnc? [10:07] let's try vnc [10:08] ok [10:08] carlos, SteveA: just in case you didn't know, that error often happens when the template containing the macro contains some error, like a mal-formed or missing tag or something. === carlos opens the port [10:09] BjornT: good point [10:09] hmm === carlos takes a look again.. [10:09] carlos: you can try removing surrounding parts of the page template [10:09] one part at a time [10:09] SteveA: fixed [10:09] until the error goes away [10:10] using the post-mortem debugger and print obj probably tells you something useful as well [10:11] stub: ping [10:11] stub: I'd like to copy my reply to you to Jim. [10:12] lifeless: Can you paste it somewhere? My mail provider is down === carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad [10:12] lifeless: anything i should know about? [10:13] grrr, I killed my X session === SteveA resubmits to pqm [10:14] carlos: you might also try removing all metal: stuff (change the namespace to xmetal) to ensure the page renders okay without it [10:14] fix any problems in the page, then re-enable the metal === cprov [n=cprov@haddenham.pepperfish.net] has joined #launchpad [10:15] SteveA, the page has no problems at all [10:16] SteveA: nope, PBCAK at this end [10:16] stub: I've pasted it to you, are you happy for me to send that to jim and you ? [10:16] and the error is still there if I leave the macro empty [10:16] beep beep beep.... I meant the web paste service ;) [10:17] stub: ? [10:17] I'm not really in the habit of pasting draft-public-mails to a web paste service. [10:17] https://chinstrap.ubuntu.com/~dsilvers/paste/ (but I have it now - stopped beeping ;) [10:17] draft-private I mean. [10:18] SteveA, fixed [10:18] okay [10:18] lifeless: Sure - Send a copy to Jim too [10:18] what was it? [10:19] SteveA, just moving it inside the
tag was enough [10:19] SteveA: I've copied you [10:19] I suppose it's a scope problem [10:19] if you can produce a minimal example, then i can probably explain what is going on, and see if it is a bug in page templates. === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [10:29] SteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/fileAhWTyu.html vs. https://chinstrap.ubuntu.com/~dsilvers/paste/fileZNg3lJ.html [10:29] That's the only change I did [10:30] ah [10:30] okay, so in the example that didn't work, you weren't actually defining the macro at all [10:30] because you were using the define-macro in a part of the template that was being thrown away [10:31] yeah, I guess [10:32] carlos: hello [10:32] zyga, hi [10:34] SteveA, I need to send an argument to that macro, something like a fill-slot but as a [10:34] SteveA, I don't see anything about that in our FAQ [10:34] zyga, I suppose you want to talk about GNOME imports, right? [10:38] dogfood back running, thanks for your patience [10:40] carlos: you cannot put arguments into a macro. there are other ways to do what you need to do. [10:40] for example, you can put the define="..." around the use-macro [10:44] carlos: exactly [10:44] carlos: pitti told me yesterday that they are invoked manually [10:45] carlos: but since 2.12 is already frozen we could trigger that import to get an up-to-date view of the situation [10:45] (especially since polish translators were busy enough to get near 100%) :-) [10:51] SteveA, something like?: [10:51] metal:use-macro="template/macros/translation-suggestions" [10:51] tal:define="submissions python:messageSet.getSuggestedSubmissions(index)"> [10:52] carlos: maybe. i don't know if that will work. i'd say, to be clear, .... [10:52] zyga, we are not imoporting any GNOME module outside the Ubuntu's packages we have that is done automatically [10:53] SteveA, I have that already [10:53] SteveA, but when I try to use submissions inside the macro, I get a KeyError [10:54] I tried to move the tal:define inside the meta:use-macro with the same error [10:54] stub: help! [10:54] eh? [10:55] I need to get "make check" in launchpad to apply BranchDataStorage.sql before running tests [10:55] since I'm in a launchpad/branches sprint now [10:55] I renamed pending/BranchDataStorage.sql to patch-25-22-0.sql [10:56] carlos: show me the code [10:56] and tried cd database/schema ; make [10:56] but then I get [10:56] 08:52:14 CRITICAL patch-25-22-0.sql failed to update LaunchpadDatabaseRevision correctly [10:56] jamesh: ping ? [10:57] Add to the end of the patch 'INSERT INTO LaunchpadDatabaseRevison VALUES (25, 22, 0)' [10:57] SteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/filexc96R7.html [10:57] stub: how should I diagnose/fix handwave-away the problem? [10:57] ddaa: Actually - pick a higher number like 78 or something - makes it easier for me if it accidently lands in rocketfuel [10:57] SteveA, the raises the KeyError [10:57] inside the macro definition [10:58] ddaa: (ie. call itpatch-25-90-0.sql, with 'INSERT INTO LaunchpadDatabaseRevision VALUES (25, 90, 0)' added to the end) [10:58] ack [11:00] hu... ha, okay, I see, the Makefile checks whether the LaunchpadDatabaseRevision table looks consistent with the names of applied patches [11:01] carlos: although you can say , I think it reads more clearly to always use tal:condition [11:01] so, use [11:01] that way, people can visually scan the source for tal:condition [11:02] ok [11:02] so, you have: [11:02]
[11:02] [11:02] [11:02] you're defining a macro [11:02] however, the macro will still be output at this point in the template [11:03] there is no variable 'submissions' defined at this point [11:03] right [11:04] you have a choice. you can choose that you want to display the macro here, where is is defined, so you need to make 'submissions' mean something. or say tal:condition="submissions|nothing". OR, you can decide you don't want to show the contents of the macro here, and surround it in tal:condition="nothing" [11:04] how could I do to fix that? [11:04] hmmm [11:04] last option looks better [11:04] stub: now, it blows up in the "* Security setup" [11:04] File "security.py", line 237, in main [11:04] assert obj_name in schema.keys(), 'Bad object name %r'%(obj_name,) [11:04] AssertionError: Bad object name 'public.changeset' [11:05] Did we drop the changeset table? [11:05] Merge to rocketfuel@canonical.com/launchpad--devel--0: debbugssync, hct enabling, and ui fixes. r=jamesh (patch-2018: mark.shuttleworth@canonical.com, scott@canonical.com) [11:05] Merge to thelove@canonical.com/bazaar--devo--1.5: Fixed relative dest path for "baz export" (used to panic), mini API for management of user errors (patch-63: Matthieu.Moy@imag.fr) === ddaa checks [11:05] Or renamed it? Same effect [11:06] SteveA, thanks [11:06] it should become 'revision' [11:06] Yes, "ALTER TABLE Changeset RENAME TO Revision;" [11:06] where are the security chicken bones, so that I rethrow them? [11:07] ddaa: Edit security.cfg and change references to public.changeset to public.revision [11:07] ack [11:07] (in database/schema) === jinty [n=jinty@205.134.224.215] has joined #launchpad [11:09] jamesh: ping [11:19] stub: now, I have a sampledata conflict. I reverted my tree and db, but I'm looking for the magic word to apply the db patch to the live sampledata so I can "make newsampledata". How do apply a sql patch on the sampledata? [11:21] jamesh: ping [11:21] First build a fresh database without your patch (rename it to something not patch-25-??-?.sql to do this) [11:22] ddaa: Then run your patch manually (psql -d launchpad_dev -f my-renamed-patch.sql) [11:22] ddaa: Then modify your sampledata, and run 'make newsampledata' as per the documentation === BjornT heads out for lunch and some appointments [11:23] ddaa: You can then put your dbpatch back in place [11:23] (yes - this is a pita but I'm not sure if it can be improved easily without making other compromises) === carlos -> breakfast === niran [n=niran@cpe-67-10-213-51.houston.res.rr.com] has joined #launchpad === WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad [11:45] i'm trying to get a bazaar mirror of a project that's currently developed using cvs, so if i register the project with launchpad and tell it the cvs server, will the mirror automatically be created? [11:45] spiv: ping? [11:46] stub: I have another problem... [11:46] When trying to update the sampledata, I get this error: [11:46] psql:pending/BranchDataStorage.sql:88: ERROR: new row for relation "branch" violates check constraint "valid_name" [11:47] oh... [11:47] I think I see... the update script produces a number of empty names... [11:47] niran: it will get tested for importabailty yes [11:47] also, we are going to need to add "@_" as valid chars for branch names [11:47] niran: and you can chat with jblack or ddaa here to get the mirror checked more carefully [11:48] stub: is that okay to add those chars to the valid_name regex? [11:48] lifeless, ok, thanks [11:48] ddaa: There is already valid_branch_name - use that. We can't add those characters to valid_name [11:48] I must have added it after creating that basic patch. [11:48] Oh, right, I missed it in my confusion :) === ddaa now tries to find out where the empty names come from === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [11:59] Kinnison: pong [12:00] spiv: any chance you can go over the remaining stuff in cprov's buildd branches? [12:00] spiv: We need them mergable asap [12:01] jamesh has done a bunch of review already and I believe cprov has dealt with most, if not all, of his comments [12:03] Kinnison: Ok. celso.providelo@canonical.com/launchpad--buildd--0 and celso.providelo@canonical.com/launchpad--buildd-queuebuilder-archaware--0? [12:04] cprov: ? [12:04] Kinnison: spiv: yes, they two [12:04] carlos: is there any way to star translating a template without any translated messages? [12:05] cprov: Ok. [12:08] zyga, sure [12:08] spiv: great, special attention to the buildd which contains killing process issues, would be nice if you can suggest something based on your librarian experience [12:08] zyga, 'morning zyga... how went your installation tests of breezy?:) [12:08] zyga, why do you think you cannot do that? [12:08] zyga, in the translation side of course. [12:09] cprov: I'll take a look, but the librarian never spawns subprocesses, so I don't think there's any particular insight to be gained there. [12:09] pqm does [12:09] so whatever you do, it can feed inot PqmRobustness :0 [12:10] spiv: right, get inside, you'll probably have something better than that in mind [12:11] WaterSevenUb: morning :-) [12:11] WaterSevenUb: pretty good but I've found one annoying issue [12:12] WaterSevenUb: installation path: warty->upgrade is terrible due to clashes in xfree86-common and xorg.common (rgb.txt somewhere) [12:12] WaterSevenUb: as for colony CD it's not perfect yet but I'm already pulling the fresh one :) [12:12] zyga,and what about those issues of "Time Zone Configuratoin" and "ubuntu configuration" (post-install)... did you find them? [12:13] WaterSevenUb: well I'd love to but those templates just don't appear on the list [12:13] WaterSevenUb: no, they were not in any of the .po files breezy has - probably unmarked [12:14] zyga, well... the point is .... should we annoy Carlos again to point us someone we could talk to before we report the problem somewhere?;) [12:15] carlos, :) [12:15] WaterSevenUb: I'd rather grep the source package [12:16] WaterSevenUb: write a patch and then annoy the hell out of people :) [12:16] WaterSevenUb: similar case: 'hibernate this computer' [12:16] WaterSevenUb: do you know where that is? [12:17] zyga, that one is on my "todoWhereTo" list too :) [12:18] WaterSevenUb: translators should be able to pull a list of .pot files with *every* string extracted [12:18] and a list with only marked strings extracted [12:18] that would solve 99% of the problems [12:18] if we had a clone of pitti he could spare some time to do this === hannosch [i=hannosch@d194177.adsl.hansenet.de] has joined #launchpad [12:22] jordi: ayt? [12:23] zyga, yeah, I agree. [12:23] WaterSevenUb: I'll be hacking synaptic in the meantime, minor issues though === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad === ddaa just notice some minor synaptic UI crack [12:27] ddaa: ? [12:27] zyga: when running it for the first time, after updating packages, it displays a dialog "everything went fine" with a checkbox to automatically close the dialog at the end of future updates. [12:27] Clicking on the checkbox closes the dialog. [12:28] That is helpful, in the sense that when you click the checkbox, you want the dialog to go away pretty soon, but that is suprising because, well... checking a checkbox should not close the window! [12:28] just a minor WTF, not really a blocker [12:33] WaterSevenUb, zyga I cannot help you too much with that kind of issues as I hadn't time too look into those things. Usually, is better if you ask the maintainer of those packages or the Ubuntu team if you don't know the exact package. [12:35] carlos: that's okay - we know you are really busy :) [12:38] zyga, thank you [12:38] stub, what's the ETA finish for the whitespace script on staging? [12:38] 2006 [12:38] haha [12:39] carlos: 10.2459 done (400000 of 3904014). eta 21:24:20.121362 [12:39] lifeless, kiko would hate you :-) [12:41] stub, thanks [12:41] lifeless: i haven't received a reply from pqm yet [12:42] did you check the pqm status page? === carlos -> shower [12:42] carlos: why is synaptic not in rosetta? [12:42] http://pqm.ubuntu.com/ [12:42] suggests you should not have [12:42] cprov, spiv: It seems jamesh was reviewing one of the branches, Can you coordinate and check that everything looks sane on that? [12:42] lifeless: thanks [12:43] carlos: (as far as /pl is concerned) [12:45] carlos: synaptic + rosetta = b0rked https://launchpad.net/products/synaptic/+translations === asgeirf [n=asgeirf@203-173-59-20.dyn.iinet.net.au] has joined #launchpad [12:58] is launchpad still donw? I still can't open launchpad integration pages.. [12:59] zyga, automatic imports are off for a couple of days while pitti does some changes to the buildd <-> rosetta path, it should be restored soon and synaptic will appear [01:00] stub: I'm almost there, but I still need your help for a little thingy [01:00] 10:58:16 WARNING No permissions specified for ['"public"."branchmessage"', '"public"."branchsubscription"', '"public"."revisionparent"'] [01:00] what should I do to make it happy? [01:02] ddaa: You need to add some security declarations to security.cfg for those tables. Currently only superuser accounts have access to them, which is a problem. [01:02] Well, I do not think that any code is actually using those, yet... [01:03] so it's not a terribly big problem, but lifeless thinks I should fix the problem right now. [01:03] ddaa: Then ignore the warnings. If you want to silence them, stick a section 'public.branchsubscription=' in the [public] section should do the trick [01:03] nothing after the = sign? [01:03] ddaa: Nope. That explicity says 'give no permissions' [01:04] thx [01:04] So anything attempting to access them will raise an exception, and the relevant entries added to security.cfg then. [01:04] Yup, way to go. [01:05] I'm not going to give speculative permissions that I will forget about and which will come back to hit me later. === Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad [01:17] WaterSevenUb: do you know where can we translate lanuchpad integration details? [01:19] zyga, no. Let me know if you find it. I will let you know if I find it. (I'm currently busy ) === dand [n=dand@gw.datagroup.ro] has joined #launchpad [01:27] WaterSevenUb: well... that was easier than I though ... apt-get source launchpad-integration === zyga_ [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad === Nafallo [n=nafallo@unaffiliated/nafallo] has joined #launchpad === niemeyer [n=niemeyer@mandriva/developer/niemeyer] has joined #launchpad [01:46] Morning! [01:49] spiv: ok, nice idea to kill process, I'm implementing it . [01:50] cprov: No worries. [01:50] cprov: I'm about to go to bed, so if you want anything else from me, send me an email and I'll do it tomorrow morning. [01:51] (I see that jamesh has followed up to the reviews) [02:02] thanks spiv === Kinnison ruffles === BjornT [i=10183@82-135-221-189.ip.takas.lt] has joined #launchpad [02:34] right [02:34] so next thing to try [02:34] cd /tmp [02:34] hct source dbus [02:35] File "/home/niemeyer/src/mango-sorbet/pybaz/backends/forkexec.py", line 384, i raise ExecProblem(self) [02:35] ExecProblem: baz exited with code 2 (expected exit code 0) [02:35] argv: 'get', 'TO-BE-DELETED@REALLY-DO-NOT-USE.ubuntu.com/dbus--orig--0.36.2--pat* error report [02:35] get: could not connect to the archive for (TO-BE-DELETED@REALLY-DO-NOT-USE.ubunt2005-09-05 09:34:40,373 INFO hct.source.SourceTree.Library Removing library [02:35] ah, d'oh [02:35] baz register-archive sftp://casey.ubuntu.com/srv/launchpad.ubuntu.com/archive [02:35] and try again :p [02:36] (you may have to delete a "dbus" directory) [02:37] Hummm.. [02:37] It looks like I don't have an account on that machine [02:38] elmo: ? ^ [02:38] Humm.. [02:38] I do [02:38] you should have an sftponly account [02:39] I thought the mail to db.warthogs.hdb.com would install the key everywhere, but it looks like it wasn't the case. [02:40] Ok, I've registered the frightening TO-BE-DELETED@REALLY-DO-NOT-USE.ubuntu.com archive. :) === dand [n=dand@gw.datagroup.ro] has joined #launchpad [02:41] it's supposed to, bug elmo about that [02:41] yeah, Mark picked that name [02:41] it's trying to hint that you shouldn't branch off it [02:42] ah ... elmo's actually usefully given you an account [02:42] (a real one, that is) === niemeyer hct source dbus [02:43] Great! [02:43] I've installed my key manually, so everything is fine now. :) [02:43] You've mentioned that I'd need Launchpad working. What parts of hct interact with launchpad right now? [02:44] right [02:44] so mango-sorbet is my development config, which I use for testing distro-side stuff [02:44] it's got two main bits in it ... [02:45] hct -- which is the generic module bit, the utility library (hct.util) and the command-line interface (hct.cli) [02:45] sourcerer -- which is the source package importer -- it uses hct, but isn't "part" of it [02:45] it doesn't have any of the launchpad stuff [02:45] now, if you look at your launchpad config, it also has a lib/hct and lib/sourcerer which match these two [02:46] launchpad also has the server-side stuff [02:46] lib/canonical/launchpad/hctapi.py <-- the direct-to-database backend code [02:46] lib/canonical/launchpad/daemons/trebuchet.py <-- the xml-rpc server [02:47] Hummm... I see [02:47] so, how the backends work: [02:47] hct doesn't have any real concept of a source package, or how to find them. or anything like that. It just wants a Manifest object [02:47] so it uses a backend to convert an arbitrary string into a Manifest object [02:48] so when you typed "hct source dbus", the following happened: [02:48] - it parsed it as a URL, saw there was no scheme, so added the default ("hct") scheme to it [02:48] - it looked up the handler for the "hct" scheme (hct.backends.xmlrpc) [02:49] - it called the hct.backends.xmlrpc.get_manifest() function passing "hct:///dbus" to it [02:49] - the backend made an XML-RPC call to the trebuchet server on casey [02:49] (but with the "hct:///" bit stripped off) [02:49] - trebuchet made the same call to hctapi.get_manifest() [02:50] - which parsed the string, looked up the record in the database, and made a Manifest object [02:50] - trebuchet pickled the Manifest object by turning it into XML [02:50] - the xmlrpc backend unpickled it and returned it [02:50] -- [02:51] there's two backends in hct -- xmlrpc which handles the "hct" scheme and is the default [02:51] and xmlfiles which handles any other scheme [02:51] so, infact, you can do something like: [02:51] hct source file:///tmp/dbus/{hct}/++manifest [02:51] (I'm following.. keep going :) [02:52] that'll parse it as a URL, see the "file" scheme, use the hct.backends.xmlfiles.get_manifest() function which treats the rest of the string as a filename, and loads it directly [02:52] the logic for all of this is in hct.url [02:53] backend modules "plug" themselves into that [02:53] the top of hct.cli.command imports the xmlfiles and xmlrpc backends to make sure they're both available [02:53] the top of sourcerer.bubblewrap imports the hctapi backend from launchpad (which shares the API) [02:54] the hctapi backend is the "best" so the "lp:///" scheme it implements becomes the default [02:54] so using the hct code within sourcerer reads and writes directly to/from the database rather than going over xml-rpc [02:55] Who's the guy parsing the manifest [02:56] (and doing something useful with it) [02:56] ? [02:56] depends what you mean by parsing [02:56] if you're reading a database object, it's hctapi [02:56] Sorry.. rephrasing [02:56] if you're reading an xml file, it's xmlfiles [02:56] if you're reading an xml-rpc response, it's xmlrpc (which actually uses xmlfiles) [02:56] Who runs baz by looking at the manifest? [02:56] hct.manifest [02:56] and, partly, hct.sourcetree [02:58] Right === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:00] that stuff needs cleaning up a bit, I want to move a lot from sourcetree into manifest itself === mp1 [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:01] You mentioned that sourcerer reads/writes directly to/from the database. It looks like it asks the backend to do that, and the backend is xmlrpc. What piece am I missing? [03:01] at the top of bubblewrap it imports "canonical.launchpad.hctapi" [03:01] which is in launchpad/lib/canonical/launchpad/hctapi.py [03:02] that registers itself as a backend with a higher priority than the xmlrpc one [03:02] (and with the "lp:///" scheme) [03:02] Ah, ok [03:02] So it doesn't use xmlrpc when being run from launchpad [03:02] right [03:02] make a copy of your launchpad tree (or another get) [03:03] then: [03:03] baz switch -d launchpad scott@canonical.com--2005/launchpad--sourcerer-production--0 [03:03] baz switch -d launchpad/lib/hct scott@canonical.com--2005/hct--devel [03:03] baz switch -d launchpad/lib/sourcerer scott@canonical.com--2005/sourcerer--devel [03:03] -- [03:04] you'll then get a scripts/sourcerer-import.py [03:04] as this deals with the database directly, it cheats and uses the hct.where_am_i() function to construct a url with an "lp:///" scheme -- forcing the database backend to be used for the import === niemeyer cp -r launchpad launchpad-scott [03:07] Keybuk: I'd like to build a "package" from scratch (rather than asking sourcerer to import it). Is it possible? === niemeyer baz build-config coffee [03:09] nope [03:10] it will be, one day, but right now existing sources is much more important [03:13] Sure.. I'd just like to go through the process to understand it. [03:13] I'll try to follow it internally === niemeyer switching launchpad [03:18] Keybuk: Is there any dummy database backend which doesn't require launchpad/a xmlrpc server to be running? [03:19] no, unless you could the xmlfiles one [03:19] which only implements the get_manifest function [03:22] Keybuk: Is hct currently storing anything in the database, besides manifests? I mean, those entries mentioned in the manifest, they're all under a baz archive, right? [03:24] right [03:24] so there's a bunch of tables [03:24] Manifest -- which is the top-level table [03:24] ManifestEntry -- which is the record for each entry in the manifest, and linked to the top-level table [03:24] ManifestAncestry -- which records the descent of each manifest, which one it was based on and which were "merged in" [03:25] each ManifestEntry references Branch and Changeset, which in turn reference ArchNamespace and ArchArchive, etc. [03:25] those are the ones we write to [03:25] we read from quite a few, the Product, ProductSeries, ProductRelease descent [03:25] and the Distribution, DistroRelease, SourcePackagePublishingHistory, SourcePackageRelease descent [03:26] but we never create those, we rely on dyson and gina (respectively) to do that [03:27] Ok [03:29] What's PQM's situation currently? [03:29] there's a spec (DevelopmentManifests) for adding another table to link Person to Manifest (so you can have "my dbus") but that's still a spec [03:29] it's almost 10 minutes work, but depends on a bunch of stuff to be useful, so it's waiting in the wings [03:30] Kinnison: possibly it got lost with spiv's job at 8 AM [03:30] Understood [03:30] lifeless: or elmo: could you kick PQM ? [03:33] done === Keybuk goes for lunch === Nafallo [n=nafallo@unaffiliated/nafallo] has joined #launchpad [03:43] lifeless: thank you === sabdfl [n=mark@217.205.109.249] has joined #launchpad [04:05] mpt: are kiko and salgado around? [04:07] carlos: we have a problem [04:07] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=spiv] something/enumvalue:VALUE for page templates (patch-2344: steve.alexander@canonical.com) [04:08] we should not have the review-foobar-1 templates building up like this [04:10] sabdfl: No, I'm not sure where they are [04:11] kiko came back from Rio last night, apparently [04:11] mpt: k thanks [04:11] and salgado left the apartment before I did, I think, but he's not here, so I'm not sure where he is [04:11] could you ask kiko to ping me when he gets in? [04:11] sure [04:11] thanks [04:11] how's it going over there? [04:11] the usual [04:12] Warm, windy, and not enough RAM for baz :-) [04:12] does anybody else have the ./makepagetest thing fail? SteveA? [04:12] assert (request and response) or not (request or response) [04:12] AssertionError [04:12] is the end of the traceback === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [04:13] sabdfl: interesting. there are a couple of open bugs on it. can you put the whole traceback in https://chinstrap.ubuntu.com/~dsilvers/paste ? [04:14] https://chinstrap.ubuntu.com/~dsilvers/paste/file7ljmEl.html [04:14] sabdfl: kiko just called me -- he's working on the monthly report for Jane, and he'll be in the office in about 1.5 hours [04:15] mpt: thanks [04:15] sabdfl: do you still have /tmp/page-test.2gvIFd around? [04:17] slinky% ls -al /tmp/page-test.2gvIFd ~/projects/ubuntu/launchpad [04:17] total 72 [04:17] drwx------ 2 mark mark 4096 2005-09-05 15:12 . [04:17] drwxrwxrwt 22 root root 12288 2005-09-05 15:16 .. [04:17] -rw-r--r-- 1 mark mark 1729 2005-09-05 15:11 watch0001.request [04:17] -rw-r--r-- 1 mark mark 24473 2005-09-05 15:11 watch0001.response [04:17] basically, there is some request data that did not meet with a response. the zope test creation stuff is bitching about that. [04:18] -rw-r--r-- 1 mark mark 1731 2005-09-05 15:12 watch0002.request [04:18] -rw-r--r-- 1 mark mark 24483 2005-09-05 15:12 watch0002.response [04:18] yes [04:18] interesting [04:18] okay, can you tar that directory up, and mail it to me [04:18] i'll be able to use that to see what's up [04:18] i've noticed it does some weird stuff, like reordering the pages sometimes [04:18] there are quite a few dirs like that [04:18] do you want the lot? [04:18] just the one called /tmp/page-test.2gvIFd [04:19] that's the one that caused it to fail [04:19] it was small [04:19] you got the lot [04:19] it's been failing quite a bit for me [04:20] right now it just will not handle the sequence of pages i am trying to record === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad [] === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [04:23] there's nothing obviously suspicious about the captured data. i'll run it through the "create a page test from this" thing, and see why it is failing. === segfault1 [i=carlos@prognus.com.br] has joined #launchpad === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [04:33] okay, reproduced the error [04:36] phew [04:36] my hair loss is accelerating [04:36] SteveA: heya [04:36] not one of my attempts has worked :-) [04:36] i haven't fixed the error -- just reproduced the exact problem with the data you have sent to me [04:36] but, gimme a few minutes... [04:37] hi ddaa [04:37] SteveA: got a problem with the new Branch goo. [04:37] ddaa: can we talk in 15 mins? [04:37] SteveA: who else knows NotFoundError on attributes with new interfaces? [04:37] SteveA: we'll ask them [04:38] Bjorn may be able to help [04:38] BjornT: ping [04:38] hi lifeless [04:38] BjornT: we may have solved it, una momento [04:39] BjornT: we have, never mind [04:39] cool [04:39] did not save interfaces/pyarch.py after remove the IBranch from __all__ there... [04:42] Merge to rocketfuel@canonical.com/launchpad--devel--0: Added initial support to show suggestions for multiline entries r=kiko (patch-2345: carlos.perello@canonical.com) === dand [n=dand@gw.datagroup.ro] has joined #launchpad [04:51] sabdfl: want an instant totally hackish fix? [04:52] python -O makepagetest.py (usual args here) [04:58] hmm, I appear to have misunderstood the way Python's logging works [04:59] if I have Logger("foo") and Logger("foo.child") [04:59] and foo's level is 30, but foo.child's is 10 [04:59] I thought foo.child.debug(...) shouldn't appear, because it's parent level is higher === dand [n=dand@gw.datagroup.ro] has joined #launchpad [05:13] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=spiv] Additions and some minor bug fixes to the email interface. (patch-2346: bjorn.tillenius@canonical.com) === Lovechild [n=dnielsen@0x50c71cc7.adsl-fixed.tele.dk] has joined #launchpad [05:18] SteveA: How's menus going? [05:19] mpt: very nicely! a little later today, you'll have some page<->menu assignment to do [05:19] but now, i must go out and collect a bicycle. [05:20] heh, cool [05:21] it's taking way too long to walk to the office [05:21] so, bjorn inspired me to get a bike [05:23] I have a bike, and I was going to spend this lunchtime getting a helmet [05:23] but I'm too hungry [05:25] added how to work around failing makepagetest.py in https://wiki.launchpad.canonical.com/LaunchpadHackingFAQ === Kinnison glares at apt-ftparchive [05:30] it's so slow [05:33] hmm [05:33] Does a team have packages? [05:33] Or is it people only who do? [05:33] (er, "only people") [05:35] both [05:36] thanks lifeless [05:43] interesting -> http://www.bestpractical.com/rt/ , why not use Malone for it ? smells hypocrisy from our part :( [05:43] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko] More karma for the Malone users. (patch-2347: bjorn.tillenius@canonical.com) [05:44] cprov: eh? [05:46] malone isn't a trouble-ticket tracker [05:47] elmo: just wondering what does it have better than we can do in malone ? not criticising at all, just wondering ... [05:47] cprov: RT is a dedicated issue/ticket tracker, malone is a bug tracker? [05:47] Kinnison: but I can't see why it can't be, what differs from one to other === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad [05:48] elmo: right, TRAC is also a issue tracker and can be used for both purposes [05:48] cprov: IME bugs and ticket tracking are entirely different things [05:48] TRAC is a software issue tracker [05:48] which is just really an extension of bugs [05:49] (AFAIK, I have to admit I've never used TRAC) === vinsci [n=vinsci@dsl-sjkgw2jb1.dial.inet.fi] has joined #launchpad [05:50] hi carlos [05:50] carlos, how is your email request going? [05:50] elmo: perhaps I'm just missing the small features differences, but IMHO they are quite same thing .. but ok, you have a deeper look on RT docs and see, probably my fault on this [05:51] s/you/I'll === cprov tries to punish his fingers for such a horrible mistake, considering the context .. sorry === Kinnison imagines cprov doing a house-elf style slamming of fingers in a door as punishment [05:56] Kinnison: actually, I'm using your chair, more discret but still painful [05:57] hehe === Kinnison thought you found that chair comfortable [05:57] you can sit on some screws and nails if the chair is painful === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad === kiko [n=kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [06:01] G [06:01] M [06:01] V! [06:01] pardon? [06:02] ood [06:02] orning [06:02] ietnam [06:02] oh [06:02] mpt: ping [06:03] Kinnison: the chair is extremely confortable, stay with the fingers under the chair is what I meant. [06:03] cprov: heh [06:03] how is everyone? === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [06:05] kiko: morning sounds a bit late for br time and early for vietnan though, how is it going ? [06:06] well, morning is whenever I arrive at the office until lunch [06:06] not too bad [06:06] have a report to send off in a second [06:09] ddaa: pong [06:12] kiko: fair enough, should I say: "this life will kill you" ehe [06:13] sent [06:16] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=jamesh,spiv] Fix buildd job abort action, unicode handling on slave and buildd-monitor improves. (patch-2348: celso.providelo@canonical.com) [06:18] ouw ... finally === SteveA returns [06:29] hey SteveA. have one minute to talk about ShipitStandalone? [06:31] salgado: okay, let's doit [06:33] so, should I just copy what we have for launchpad and change the text and the main template used? [06:34] i need to catch up on where you're at with it [06:34] i think i have an email explaining the work so far... === niran [n=niran@cpe-67-10-213-51.houston.res.rr.com] has joined #launchpad [06:34] yep, got it [06:34] salgado: let me spend a few minutes reading this [06:35] sure [06:38] who's responsible for the CoC stuff? [06:38] cprov and salgado [06:39] cprov/salgado: https://launchpad.net/people/mail-slomosnail/+codesofconduct [06:39] elmo: yup, did anything go wrong ? [06:39] cprov/salgado: why is it listed in both active and inactive? [06:39] and is there any way for me to get the actual signed CoC? === Arnia [n=jgeldart@128-14-101-159.adsl.legend.co.uk] has joined #launchpad [06:39] elmo: no perm for me, only the own user can see it or admin [06:40] elmo: btw, why i'm not admin, can someone promote me ? [06:40] cprov: I've no idea [06:40] salgado: okay, i've read it [06:40] salgado: Hi. Could you tell me what the reasons were for not using DOAP in launchpad's RDF please. lifeless pointed me to you. [06:40] you're the launchpad team ;-P [06:41] elmo: how do you mean ? "get" is download the the original CoC or see if the CoC signature of this guy ? [06:41] cprov: http://people.ubuntu.com/~james/x/screenshot.jpg [06:42] cprov: download the CoC as he signed it [06:42] so I can verify it for myself etc. [06:42] elmo: yes, unfortunatelly a poor member .. [06:43] elmo: lp.net/codesofconduct/console/ [06:43] 404? [06:43] aha, codeofconduct [06:44] Arnia, the right person to answer this would be morgs, but he's on vacation now. [06:44] a [06:44] elmo: oh, pardon me [06:44] Arnia, I guess we're not using DOAP because we had to extend it a little to suit our needs [06:44] cprov: what do I put in the From: box? [06:45] elmo: displayname .. [06:45] salgado: Hum... ok, not sure why you'd need to create a whole new vocab for that. Any idea when morgs will be back? [06:45] salgado: oops,thought it was you. my bad. [06:45] cprov: aha, ok, thanks [06:45] elmo: dsilvers has tried and found [06:45] cprov: how does the code work, does it check the md5sum? === SteveA chats to Arnia [06:46] elmo: yes, checks the GPG signature then the content md5 [06:47] Arnia, no, I don't know when he'll be back. sorry [06:48] SteveA, so, do we have a plan? [06:49] elmo: did I solve your problem ? in this console you can also acknowledge paper signatures and deactive signatures. [06:49] salgado: 2 mins [06:53] cprov: yes, thanks, that's great [06:54] elmo: nice, thank you for testing it [06:54] salgado: okay, let's go [06:55] SteveA: could you include my lp user in the LaunchpadAdmins team ? [06:55] cprov: no [06:55] cprov: i am not an administrator of that team [06:55] https://launchpad.net/people/admins [06:56] SteveA, for that you only need to be a member of that team [06:56] because that makes you a launchpad admin, which can do almost everything [06:57] okay [06:57] done [06:57] SteveA: thank you [06:58] SteveA: btw, why do we have Daniel Silverstone listed twice in the team member list / [06:58] maybe he didn't merge his accounts [06:58] ok two lp users [06:58] Kinnison: any idea? [06:59] salgado: what do we need to talk about? [06:59] SteveA: I *did* merge my accounts [06:59] SteveA: It's a holdover from a broken peoplemerge [06:59] the dsilvers account is the one I use [07:00] the kinnison one is defunct [07:00] SteveA, what I need to do to have a standalone /shipit, where people can login, place new orders and change existing ones [07:00] do you have an apache you can configure, and a locally running launchpad running your shipit code? [07:00] that would be the best, to test this out [07:01] I can arrange that [07:01] ok [07:02] you guys know fix-whitespaces-in-translations.py is using > 1Gb and rising of memory on staging, right? [07:02] yup [07:05] SteveA, so, what I need is to create something like a ShipItApplication, rooted at /shipit and then start registering the pages under it? [07:06] okay, so you haven't made that yet? [07:06] no, I haven't [07:06] yeah, that's the way to do it [07:06] that wiki page described the right approach [07:06] i'm not exactly sure about the details of logging in and out though [07:07] but, let's get the basic thing up there [07:07] in the suburl directive, you can say what the new layer is beneath that suburl [07:07] so, you'll also need to define a Shipit layer [07:07] and register a new main template on the shipit layer [07:07] right, I think I already have that [07:08] you can get that far, and test it out, without using apache [07:08] but it will be good to make sure it works properly with all the proxypass stuff for virtual hosting [07:08] right. how do I register the main template for the new layer? I couldn't find that out [07:08] you know how the main template is registered generally? [07:09] no, I don't [07:10] actually, it is registered twice! but the registration in registry.zcml should go away [07:10] so, the main template is registered like this: [07:10] for="*" [07:11] permission="zope.Public" [07:11] name="main_template" [07:11] template="...../main-template.pt" [07:11] /> [07:12] and you need to register one on the shipit layer, so in the shipit.zcml, repeat the above, but add in layer="canonical.launchpad.layers.ShipitLayer" [07:12] and that says, when you have the shipit layer, use this other template [07:12] and of course, it shoudl be called shipit-main-template.pt [07:12] ok. this is in lp/configure.zcml? [07:12] the original is [07:12] but you should put it all in shipit.zcml [07:13] i need to remove the rest of the stuff from canonical.lp sometime [07:13] SteveA: I have a branch which is effectively an agglomoration of a bunch of otherwise trivial changes, which by the time I want to merge will probably total around a 500 line diff. Now a 500 line diff isn't trivial in-and-of itself, yet each change is trivial. Once I have it ready, would you be okay to cast your eye over it and give me an rs= ? [07:14] Kinnison: when will it be? [07:14] SteveA: depending on when apt-ftparchive finishes, this evening some time [07:14] SteveA: any progress on the makepagetest front? === niemeyer [n=niemeyer@201.14.22.191] has joined #launchpad [07:15] sabdfl: yes, i replied on channel ages ago, and it is in the LaunchpadHackingFAQ [07:15] SteveA: I can drop the patch as it currently stands somewhere for you to look at before it's ready if that'll help [07:15] Kinnison: okay, depending when i finish tonight, either tonight, or tomorrow morning [07:16] thanks. This is a blocker for a couple of cprov's branches but we can work around the delay === Kinnison wishes this test would run faster [07:16] salgado: let's talk through the ShipitStandalone open issues [07:17] person.id is stable right? [07:17] in the sense that y'all aren't going to run around changing it under me [07:17] I certainly hope we won't [07:18] elmo: it is stable. but it is nice if external systems don't use it. [07:18] salgado: ping [07:18] SteveA, so, #1. can we do self.context = getUtility(ILaunchBag).user ? [07:20] so, you want a person as the context [07:20] i guess you can do that. there are a couple of ways to arrange this [07:20] you can do it on traversal from your ShipitApplication, so that traversal from there is by looking up views on a Person [07:21] SteveA: worked a treat [07:21] but for this, it is probably better to have views be registered to IShipitApplication [07:21] and have the __init__ of the view store a person that can be used. [07:21] yes, that's what I thought [07:21] sabdfl: cool. so, there is some weird problem with a GET request for some image, and the response to that being lost or mangled. [07:22] sabdfl: using -O should still give you the important stuff. i'll check sometime to see if the code has been improved upstream. [07:23] salgado: using IShipitApplication as the context also means you won't get so many inappropriate pages being available [07:23] on "How hard is it to do +register and +forgottenpassword? Should we do it?" [07:24] the hard part is not the URLs, but the need for emails going to a different domain than usual [07:24] hallo carlos , I'm waiting for a fix of the bug https://launchpad.net/malone/bugs/1978 .. is there any workaround solution to download translation..? [07:24] SteveA: If spiv gets up before I'm done, I'll ask him to review it [07:24] also, as regards shipit in general, note that canonical_urls may possibly not work as you want. [07:25] SteveA, you mean, they'll point to launchpad.net/shipit/* instead of shipit.ubuntu.com/* ? [07:26] salgado: i'm actually not sure, without checking the code. they might well work properly. [07:26] salgado: but, we need to test it using apache / virtual hosting stuff [07:26] so, when you've done the new layer, new main template, and a couple of pages, let's try it out with apache in the mix [07:26] sure [07:27] salgado: okay. i'm going to get back into some infrastructure hacking. [07:35] ddaa: pongity-pong [07:36] mpt: nevermind [07:41] BjornT, a question for you. for a zope3-widget (used on a regular view), how would I go about adding an extra attribute to the HTML? I wanted to add an onchange to it [07:42] isn't there an "extras" for that, or some such keyword argument [07:42] yeah, but that's only for add/editforms [07:42] i think there is an equivalent thing for individual widgets === robertbb [n=robertbb@d154-20-144-93.bchsia.telus.net] has joined #launchpad [07:43] I couldn't figure it out from reading the z3 code,but I only spend 45s looking at it [07:44] 'extra' as a kw arg, dude [07:45] SteveA, the LaunchpadHackingFAQ doesn't seem to mention how to get the released code. [07:45] zope/src/zope/app/form/browser/widget.py, line 462 [07:46] kiko: yeah, SteveA is right. you can specify extra in the browser:widget directive as well. [07:46] browser:widget, hmm [07:46] vinsci, the code isn't publically available yet -- that's why :) [07:47] vinsci: that's not what the LaunchpadHackingFAQ is for. that FAQ is to help people who are coding on launchpad, and may be helpful for people coding on zope3 in general. [07:47] kiko, well, SteveA said some of it was, and promised to get me the link days ago ;) [07:47] ah, right [07:47] carlos has the release of the poparsing stuff on his todo list. i thought it had already been done and put out there. [07:47] we need to find time to release the librarian too... [07:48] SteveA, ok, I've not heard back from him yet [07:48] SteveA: i'm running breezy now, and it seems as though a bunch of IntegrityError's got turned into ProgrammingError's [07:49] sabdfl: these are database-level things? [07:49] SteveA: yes [07:49] i guess they're being emited by postgresql 8 on breezy [07:49] is it causing a problem? [07:52] i'm using 7.4 [07:52] i think it is in the python module that talks to psql [07:53] apt-cache policy python2.4-psycopg [07:53] what does that tell you? [07:54] i'm on 1.1.18-1ubuntu5 [07:54] which is from hoary/main [07:55] there is a 1.1.19 release [07:55] nice! [07:55] * ZPsycopgDA/db.py (DB.query): applied patch from Jonathan [07:55] Stoneman to automatically try to reconnect *once* on [07:55] OperationalError. This fix the problem with Zope loosing the [07:55] connection to the database when PostgreSQL is restarted. [07:56] * Applied patch from James Henstridge to avoid segfaults in [07:56] _curs_doall() (see psycopg mailing list "PATCH: psycopg1 [07:56] thread-safety bug in commit() and rollback()" for details. [07:56] * James Henstridge did it again: another patch to fix segfaults [07:56] related to calling certain methods on a closed connection object. [07:56] fun [07:57] and the thing mark's seeing is probably [07:57] * cursor.c (_psyco_curs_execute): applied patch submitted to [07:57] tracker (ticket #10) to fix the problem with wrong exception types [07:57] on PostgreSQL 8.x. [07:57] kiko: I still can't change anything on launchpad wrt hrt [07:57] http://initd.org/pub/software/psycopg/ChangeLog [07:58] Keybuk, really? walk me through this. what URL are you on? [07:59] SteveA, but sabdfl said it was 7.4? [07:59] https://launchpad.net/products/hct/+bugs/1039/+index [07:59] as me [07:59] it says "You cannot change this status page: you are not the assignee or a maintainer of upstream hct." [08:01] Keybuk, try again. === kiko swear he had done that before [08:01] swears even [08:01] that's better [08:01] let me know if you have any other issues. [08:02] okies [08:03] 1.1.18-1ubuntu6 [08:03] kiko: that's the postgresql version [08:04] SteveA: yes, i've got postgres 7.4, which is the same as hoary [08:04] sabdfl: that's interesting for two reasons. 1. why has the exception changed? 2. why isn't the most recent release in breezy? [08:05] it was released on 2005-07-16 [08:05] i'll ask doko [08:07] hmm [08:07] i'm on pg 7.4.8 [08:07] what's in hoary? [08:07] Installed: 7.4.7-2ubuntu2.1 [08:07] 7.4.7-2ubuntu2.1 from security [08:16] rosetta is rather slow [08:17] seems I can translate 10 strings faster than it saves them... :-/ [08:18] oh well, back to kbabel for the real stuff.... :) [08:27] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Fix bug 1968, fix bug 1663, and make portlet links underlined for Kinnison (patch-2349: mpt@canonical.com) === Nafallo [n=nafallo@unaffiliated/nafallo] has joined #launchpad [08:27] launchpad-dev-people: how often is launchpad upgraded on the production system [08:28] weekly, according to the faq [08:28] zyga: every tuesday IIRC [08:28] weekly, unless there is something that requires an urgent upgrade [08:28] like a serious bug that there's a quick fix for [08:28] ah, good to know [08:29] special things are usually decided during the weekly developers' meeting [08:29] the date and time of it is always in the channel's title [08:29] the next one is on thursday, 12:00 UTC [08:31] SteveA: could the karma page inform the user how often the stats are updated? [08:31] salgado's the karma master [08:32] let's see what salgado says [08:33] kiko: did you send me a spec-system review in the end? === Lovechild [n=dnielsen@0x50c71cc7.adsl-fixed.tele.dk] has joined #launchpad [08:35] sabdfl, no, I'm still intending on doing it this week -- last week had too many last-minute requirements, I'm afraid [08:35] sabdfl, I'm going to start using it this week, so I'll send you feedback together perhaps [08:35] ok. i'm asking spiv for a review of the ticket tracker today [08:36] okay cool [08:37] zyga, it's updated daily, but we don't store the time when it was last updated [08:45] mpt: help [08:45] with tickets, i'd like to put the "ticket description" in a nice box. what class should I use on the div? [08:46] salgado: I was rather talking about 'This page is updated daily" [08:49] sabdfl: boardComment, perhaps? [08:49] or boardCommentDetails [08:51] zyga, sorry, I misunderstood what you said. the +karma page (where you see your activity log) is dinamically generated, so when you file a bug the correspondent action will show up there instantaneously. it's your karma counter that's updated only once a day [08:51] salgado: yes, yes I was talking about that [08:52] salgado: I've noticed it's updated daily but a message saing so would remove some confusion probably :) === Burgundavia [n=corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad [08:57] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko] ignore emails with an empty Return-Path header. (patch-2350: bjorn.tillenius@canonical.com) [08:59] any clue where carlos is? [09:16] Keybuk: What's your idea regarding the pristine assembled tree vs. the real seembled tree? [09:17] SteveA, ping? [09:17] means that the assembled tree can be changed, and we can work out how [09:18] Keybuk: Is this being used currently? [09:18] no [09:19] salgado: [09:20] Keybuk: Understood.. was just curious if I'd be missing something. [09:20] there's lots of things like that [09:20] SteveA, is it possible to override the "+login" page that's registered for all interfaces? I need to use a custom one for shipit [09:21] salgado: not easily [09:21] Keybuk: You have a very nice code style. [09:22] salgado: i suggest that you just write a +login view for IShipitApplication [09:23] called something different [09:23] yes, I did that [09:23] the problem is when you try to access a page that's protected while you're not logged in [09:24] SteveA, is there anything I could do in this case? [09:25] salgado: yes [09:26] salgado: you need to write an UnauthorizedView for the ShipitLayer that does what you want [09:26] salgado: see lib/canonical/launchpad/webapp/login.py for the standard UnauthorizedView [09:27] kiko: any news on the langpack front? [09:27] SteveA, cool. thank you [09:28] sabdfl, I'm trying to talk to carlos, but apparently, the script is still running. I'll give carlos a call if he doesn't show up in another 30mins [09:28] it's getting late in spain [09:29] and in lithuania :-) [09:29] I know, but I didn't get any updates today and carlos knows I want to know how this is going [09:32] sabdfl: i'm on a roll. can't stop the momentum [09:39] Keybuk: I was wondering how do you plan to do the move from baz to bzr. Do you plan to reimplement WorkingTree and Branch, or perhaps create a "pybzr" layer which behaves like pybaz? [09:41] Keybuk: (I hope you don't mind if I bother you with those questions) [09:44] WorkingTree and Branch changes [09:44] they're actually designed a bit more like bzr-style than baz-style anyway [09:45] Cool [09:46] you could theoretically implement hct on any revision control system that supported merge history [09:48] Keybuk: Interesting indeed. I'm slowly being enlightened about what hct does. Initially I belived that hct was also a kind of "meta source", which was able to build different package formats from the same information. [09:49] Keybuk: But it looks like it's more like a "meta storage" specialized in package-styled version control. [09:50] yeah, it's definitely the latter [09:50] In other words, it's able to fetch information from different sources to rebuild a "state", and make it very comfortable to hack on that information, and rebuild the planned structure. [09:51] martin calls it "meta-version-control" :p [09:52] But the different pieces must be in their correct format already (e.g. a control file must be a control file wherever it is). [09:52] right, then there's some fun bits ... because we have each state in a useful structure and have the history of that structure, we can compare two different states of the same thing [09:52] in other words, we can compare the Debian and Ubuntu source packages [09:52] or the Ubuntu and RedHat ones ... because they share the same underlying branches (even if it's just the CVS import) [09:52] Right! [09:53] as you point out, it doesn't understand debian/changelog, debian/control, RPM spec files, etc. [09:53] Uhhhh.. that's *very* interesting. 8) [09:53] you have to (as the user) maintain those yourself [09:53] we always figured we'd change the source format instead [09:53] Ok.. so I'm on the right track. [09:54] yup [09:58] mpt: the thing is, there's comments on the page [09:58] and i don't want it to look exactly like a comment [09:58] it should be thpecial [10:00] Hi, people, sorry, I had to go out this afternoon [10:01] hi carlos [10:01] hi [10:01] kiko, new languagepack ready === carlos tests it [10:03] sabdfl: Well, the description of a bug has no special background or border, and it looks fine [10:03] Perhaps the same would work for tickets [10:05] mpt: [10:05] sorry [10:05] the bug has lots of other stuff on the page though [10:05] a ticket doesn't [10:05] carlos, that's great [10:05] it's just a ticket [10:05] carlos, give me good news! [10:06] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=BjornT] added a facet attribute to zcml directives for page. refactored and added tests for the previously overridden defaultView directive. (patch-2351: steve.alexander@canonical.com) [10:06] kiko, as I told you by phone, the whitespace problem is still there as the db was not fixed when I generate that tarball [10:08] SteveA, ping? [10:08] carlos, the phone line was really bad, so I didn't pick up all the details. it's still running now, right? any clue on the ETA for it finishing? [10:09] salgado: yes [10:09] SteveA, I'm having problems testing the virtual hosting stuff. can you help me? [10:10] kiko, it was 21 hours this morning [10:10] kiko, I think it should be done atm [10:10] hmm [10:10] carlos, but it's still running? [10:10] kiko, I don't have access to asuka to know that [10:11] salgado: how can i refuse? [10:11] oh, right, I always forget we're handcuffed. [10:11] sabdfl, so the script may have finished running on staging, but we need to wait till stuart wakes up to know for sure. [10:12] how do we tell? [10:12] SteveA, heh. :) [10:12] carlos, can you email stub and ask him to run the language-pack generation script once/if the script finishes running when he's up? [10:12] sabdfl, via email. === dand [n=dand@83.103.205.67] has joined #launchpad [10:12] SteveA, this is what I'm using for the vh: https://chinstrap.ubuntu.com/~dsilvers/paste/filejacmfF.html [10:12] elmo says it is finished [10:13] great. [10:13] I am unsure if we can do anything else without stuart right now, though. carlos? [10:13] salgado: you don't need the ProxyPassReverse [10:14] SteveA, it seems to work, but when I login it doesn't work as it does when I don't use the vh [10:14] kiko, I don't need stuart at all for this [10:14] kiko, I will run the script again now [10:14] carlos, really? how do you run the script if you don't have access to asuka? [10:15] SteveA, what I tried to say is that the redirect works, but the code works only when I don't use the redirect [10:16] kiko, I have db access [10:16] salgado: what exactly goes wrong? [10:16] kiko, as readonly [10:16] kiko, I have a modified tree that works with a readonly db [10:16] carlos, then you can of course ps auxw | grep to see if the script is still running, no? [10:17] kiko, no, I have db access using psql, nothing more [10:17] kiko, no ssh access [10:17] oh [10:17] I see [10:17] you could query a known broken string :) [10:17] SteveA, right after successfully logging in, I call getUtility(ILaunchBag).user. but that's always None when I use the vh. [10:17] well, I have tcp access to the db [10:18] SteveA, there's also this error: https://chinstrap.ubuntu.com/~dsilvers/paste/fileKnNKS8.html === segfault1 is now known as segfault [10:18] salgado: so, when you [10:19] salgado: so, when you are virtual hosting via apache, then you get that ForbiddenAttribute error, and users don't get logged in? [10:20] SteveA, the users are getting logged in, but ILaunchBag.user is None right after you login. [10:21] and the ForbiddenAttribute I get only when virtual hosting, yes === jinty [n=jinty@205.134.224.215] has left #launchpad ["Leaving"] [10:31] salgado: i need to debug this using the same setup you're using. [10:31] can you commit what you have to a branch, so i can see it [10:32] and prepare for me explaining what i need to do to see this in action [10:34] SteveA, can I send you a diff instead of commiting? [10:34] salgado: i can't look at this tonight [10:34] i'm about to get some more menus infrastructure landed for mpt to look at, and then i'm going home [10:36] if you commit, it means i can branch from it, and work on it [10:37] SteveA, okay. I'll mail you the branch name and the setup details. I guess it's not a problem if I do it later tonight, right? [10:37] no problem [10:37] i'll look at it tomorrow morning [10:37] great. :) [10:45] SteveA, one last question. how do I specify that I want to use a specific UnauthorizedView for the ShipItApplication? [10:47] register the UnauthorizedView for the ShipitLayer [10:48] ah, ok [10:50] cprov, shouldn't https://launchpad.net/malone/bugs/2070 be private? [10:51] kiko: not really, since it doesn't expose the code IMO. do you think it should ? I've just changed it after a chat with dsilvers [10:52] I don't see any advantage to it being open, jus that [10:52] it wouldn't make sense beyond confuse any end-user [10:52] but it's a nit === Kinnison gets a sneaking suspicion he might actually have almost finished work for the day soon [10:56] kiko: you're right, sorry for the noise, I'll change it back to private. What about the other ? since the component buildd is a bit restrict, should I keep also them private ? [10:58] question about the tester app [10:58] python test.py -f --test='builder.txt' === ondrej [n=ondrej@r4v190.chello.upc.cz] has joined #launchpad [10:58] Ran 2 tests in 2.806s [10:59] $find -name 'builder.txt' [10:59] ./lib/canonical/launchpad/doc/builder.txt [10:59] hi people, I still receive bugs from malone to gnome-desktop-environment (since I am DD for this package). I tend to ignore these bug reports (since they are ubuntu specific), could we do something to reassign gnome-desktop to MOTU? [10:59] kiko: any clue ? why 2 if I've specified only one, and there is, of course, only one file builder.txt [11:01] cprov, ./launchpad/doc/buildd-queuebuilder.txt [11:01] this is the second one [11:01] the test stuff uses re.search('testname') to find the tests it needs to run [11:02] python test.py -f --test='^builder.txt' should run only the builder.txt, I guess [11:02] salgado: erm, ok how the regexp to enforce I want just one [11:02] salgado: yup, thank you [11:03] salgado: works ;) [11:03] :) [11:05] heh [11:06] kiko: what was the decision about buildd bugs ? [11:06] no official recommendation, just that one consideration === Lathiat [i=lathiat@gasp.bur.st] has left #launchpad [] === ondrej [n=ondrej@r4v190.chello.upc.cz] has left #launchpad ["ok,] [11:09] kiko: is there a reviewers' meeting tomorrow? [11:11] it's on wednesdays, SteveA [11:13] goddamnit, my clock says "tuesday"! [11:13] go to bed [11:13] SteveA, I added this (https://chinstrap.ubuntu.com/~dsilvers/paste/filerWfvNv.html) on browser-exceptions.zcml, but it's not using that view for ShipItLayer. am I missing something? [11:13] when dylis says so... [11:14] salgado: that looks correct [11:14] so, there is something else wrong [11:14] i'll look at your branch tomorrow [11:16] ok. I'll leave it as it is now [11:16] it is strange. we did this before, for the old ubuntu forgotten passwords pages [11:32] Merge to rocketfuel@canonical.com/launchpad--devel--0: [r=BjornT, trivial] added facet attribute for browser:addform and browser:editform, and for the outer browser:pages directives. with tests. (patch-2352: steve.alexander@canonical.com) [11:32] yay [11:32] does anyone know if it is possible to create a new account on staging? [11:32] SteveA, perhaps? === SteveA --> home [11:32] i know next to nothing about staging [11:32] stub will be around in a while [11:32] :-( [11:32] ok [11:32] kiko, you can create anything you want there [11:33] kiko, but it will be lost after the sync with production happens [11:34] carlos, new users need email to be able to validate accounts. are you sure you can create new users there? [11:34] kiko, hmm [11:35] good point === camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad