/srv/irclogs.ubuntu.com/2005/09/10/#launchpad.txt

=== ufo- [n=PunK@62.162.192.242] has joined #launchpad
ufo-what happend to the export button in rosetta?01:11
ufo-can't seem to find it anywhere01:11
=== 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
salgadomorning stub03:31
stubMorning03:35
salgadostub, 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:40
stubIf you are a Launchpad admin, you can create it on production now.03:41
salgadono, I'm not an admin03:42
stubCan normal users create teams?03:42
=== stub isn't sure since he is an admin
salgadoyes, they can03:42
stubOk - then you can create it too ;)03:42
salgadodone. :)03:47
=== 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
stubspiv: Do you remember if list(foo) called len(foo) to preallocate the list size?06:30
spivstub: Yeah, it does.06:33
spiv(And then swallows all exceptions from len(foo)!)06:33
stubThe swallowing is fixed in CVS.06:35
spivI remember reading that... that's good news :)06:36
=== _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
carlosmorning08:34
=== 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
SteveAmorning08:55
SteveAspiv: i have some great zcml evil to perform this morning.08:56
spivSteveA: What sort of evil?08:59
=== stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
SteveAi need to add a 'facet' attribute to page, subdirective-page, addform, editform directives08:59
SteveAi have worked out how to do so without duplicating code08:59
SteveAbut the hack is necesarily evil09:00
SteveAi can wave my hands and imagine using events for zcml parsing in a way that would make this kind of customization easier09:05
SteveAbut i don't want to change the zcml parsing upstream just for this.09:05
carlosSteveA, how is possible that the export page is failing now because a missing title? did you change anything mandatory with latest production update?09:06
SteveAi 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
carlosSteveA, I mean with last week update09:07
SteveAsd-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
carlosanyway, it's an easy fix09:07
SteveAcarlos: i haven't merged anything into pqm at all recently.09:08
SteveAi have no idea what changed to remove that pagetitle, or change the name of the template in that way.09:08
carlosme neither09:08
SteveAmaybe someone else's refactoring?  and with no test to catch it, it didn't get properly refactored.09:08
carlosbut one thing is true... a pagetest is missing :-(09:09
carlosyeah09:09
=== robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad
lifelessallo allo09:32
SteveAhello09:35
lifelessI spent the plane flight hacking up another proof-of-concept unittest plugin.09:37
lifelessas a -not-work-projet-09:37
lifelesshttp://www.robertcollins.net/unittest/testresources/09:37
=== ddaa [n=ddaa@217.205.109.249] has joined #launchpad
carlosSteveA, I'm having problems with a tal macro, could you help me or are you too busy?09:50
SteveAcarlos: i can help09:50
carlosSteveA, thank you09:50
SteveAlifeless: can you sort out my pqm access?09:50
carlosSteveA, I'm following the instructions we have at https://wiki.launchpad.canonical.com/PageTemplateHacking09:51
carlosbut every time I try to refer to the macro, I get a KeyError with the name of the macro09:51
SteveAcan i see your template code?  in Kinnison's paste bin?09:52
lifelessSteveA: on it09:53
SteveAthanks09:53
carlosSteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/file5PQ1uO.html <- This is the error09:53
SteveAand the template source?09:53
carlosSteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/filefQmE2H.html09:53
KinnisonAnyone object to me updating dogfood right now?10:02
=== dand [n=dand@gw.datagroup.ro] has joined #launchpad
carlosKinnison, none at all10:02
carlosI mean no objections at all10:03
Kinnisoncool10:03
=== Kinnison wonders what will be broken in dogfood today
carlosKinnison, did you discover why your checkout was getting wrong code?10:03
Kinnisoncarlos: No, it's very very confusing10:03
=== stub [n=stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
carlosstub, 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
SteveAcarlos: i cannot see anything that would cause a problem.  we need to go into the debugger10:05
Kinnisoncarlos: how much more space does mawson need?10:06
carlosstub, I will tell you as soon as possible if it's ok to run that script on production10:06
=== Kinnison can probably free up another two gigs or so
stubcarlos: I'll need to run it again - the database was reset yesterday10:06
carlosKinnison, it has 55GB now, I suppose someone removed something10:06
carlosSteveA, ok10:06
SteveAcarlos: can we pair-program the debugging?10:06
carlosstub, oohh...10:07
SteveAusing screen or vnc?10:07
carlosstub, please, do it, I will stop the export then10:07
carlosSteveA, sure10:07
carlosI just need to setup it10:07
carlosSteveA, what do you prefer?10:07
carlosscreen or vnc?10:07
SteveAlet's try vnc10:07
carlosok10:08
BjornTcarlos, 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.10:08
=== carlos opens the port
SteveABjornT: good point10:09
carloshmm10:09
=== carlos takes a look again..
SteveAcarlos: you can try removing surrounding parts of the page template10:09
SteveAone part at a time10:09
lifelessSteveA: fixed10:09
SteveAuntil the error goes away10:09
BjornTusing the post-mortem debugger and print obj probably tells you something useful as well10:10
lifelessstub: ping10:11
lifelessstub: I'd like to copy my reply to you to Jim.10:11
stublifeless: Can you paste it somewhere? My mail provider is down10:12
=== carlos [n=carlos@243.Red-83-47-24.pooles.rima-tde.net] has joined #launchpad
SteveAlifeless: anything i should know about?10:12
carlosgrrr, I killed my X session10:13
=== SteveA resubmits to pqm
SteveAcarlos: you might also try removing all metal: stuff (change the namespace to xmetal) to ensure the page renders okay without it10:14
SteveAfix any problems in the page, then re-enable the metal10:14
=== cprov [n=cprov@haddenham.pepperfish.net] has joined #launchpad
carlosSteveA, the page has no problems at all10:15
lifelessSteveA: nope, PBCAK at this end10:16
lifelessstub: I've pasted it to you, are you happy for me to send that to jim and you ?10:16
carlosand the error is still there if I leave the macro empty10:16
stubbeep beep beep.... I meant the web paste service ;)10:16
lifelessstub: ?10:17
lifelessI'm not really in the habit of pasting draft-public-mails to a web paste service.10:17
stubhttps://chinstrap.ubuntu.com/~dsilvers/paste/ (but I have it now - stopped beeping ;)10:17
lifelessdraft-private I mean.10:17
carlosSteveA, fixed10:18
SteveAokay10:18
stublifeless: Sure - Send a copy to Jim too10:18
SteveAwhat was it?10:18
carlosSteveA, just moving it inside the <div metal:fill-slot="main"> tag was enough10:19
lifelessSteveA: I've copied you10:19
carlosI suppose it's a scope problem10:19
SteveAif 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.10:19
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
carlosSteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/fileAhWTyu.html vs. https://chinstrap.ubuntu.com/~dsilvers/paste/fileZNg3lJ.html10:29
carlosThat's the only change I did10:29
SteveAah10:30
SteveAokay, so in the example that didn't work, you weren't actually defining the macro at all10:30
SteveAbecause you were using the define-macro in a part of the template that was being thrown away10:30
carlosyeah, I guess10:31
zygacarlos: hello10:32
carloszyga, hi10:32
carlosSteveA, I need to send an argument to that macro, something like a fill-slot but as a <tal:block define=....>10:34
carlosSteveA, I don't see anything about that in our FAQ10:34
carloszyga, I suppose you want to talk about GNOME imports, right?10:34
Kinnisondogfood back running, thanks for your patience10:38
SteveAcarlos: you cannot put arguments into a macro.  there are other ways to do what you need to do.10:40
SteveAfor example, you can put the define="..." around the use-macro10:40
zygacarlos: exactly10:44
zygacarlos: pitti told me yesterday that they are invoked manually10:44
zygacarlos: but since 2.12 is already frozen we could trigger that import to get an up-to-date view of the situation10:45
zyga(especially since polish translators were busy enough to get near 100%) :-)10:45
carlosSteveA, something like?:10:51
carlos<metal:use10:51
carlos                              metal:use-macro="template/macros/translation-suggestions"10:51
carlos                              tal:define="submissions python:messageSet.getSuggestedSubmissions(index)">10:51
SteveAcarlos: maybe.  i don't know if that will work.  i'd say, to be clear, <tal:block tal:define="submissions ..."><metal:block metal:use-macro="..."> .... </tal:block>10:52
carloszyga, we are not imoporting any GNOME module outside the Ubuntu's packages we have that is done automatically10:52
carlosSteveA, I have that already10:53
carlosSteveA, but when I try to use submissions inside the macro, I get a KeyError10:53
carlosI tried to move the tal:define inside the meta:use-macro with the same error10:54
ddaastub: help!10:54
stubeh?10:54
ddaaI need to get "make check" in launchpad to apply BranchDataStorage.sql before running tests10:55
ddaasince I'm in a launchpad/branches sprint now10:55
ddaaI renamed pending/BranchDataStorage.sql to patch-25-22-0.sql10:55
SteveAcarlos: show me the code10:56
ddaaand tried cd database/schema ; make10:56
ddaabut then I get10:56
ddaa08:52:14 CRITICAL patch-25-22-0.sql failed to update LaunchpadDatabaseRevision correctly10:56
cprovjamesh: ping ?10:56
stubAdd to the end of the  patch  'INSERT INTO LaunchpadDatabaseRevison VALUES (25, 22, 0)'10:57
carlosSteveA, https://chinstrap.ubuntu.com/~dsilvers/paste/filexc96R7.html10:57
ddaastub: how should I diagnose/fix handwave-away the problem?10:57
stubddaa: Actually - pick a higher number like 78 or something - makes it easier for me if it accidently lands in rocketfuel10:57
carlosSteveA, the <tal:block condition="submissions"> raises the KeyError10:57
carlosinside the macro definition10:57
stubddaa: (ie. call itpatch-25-90-0.sql, with 'INSERT INTO LaunchpadDatabaseRevision VALUES (25, 90, 0)' added to the end)10:58
ddaaack10:58
ddaahu... ha, okay, I see, the Makefile checks whether the LaunchpadDatabaseRevision table looks consistent with the names of applied patches11:00
SteveAcarlos: although you can say <tal:block condition="...">, I think it reads more clearly to always use tal:condition11:01
SteveAso, use <tal:block tal:condition="...">11:01
SteveAthat way, people can visually scan the source for tal:condition11:01
carlosok11:02
SteveAso, you have:11:02
SteveA    <div metal:fill-slot="main">11:02
SteveA      <metal:define metal:define-macro="translation-suggestions">11:02
SteveA        <tal:block condition="submissions">11:02
SteveAyou're defining a macro11:02
SteveAhowever, the macro will still be output at this point in the template11:02
SteveAthere is no variable 'submissions' defined at this point11:03
carlosright11:03
SteveAyou 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
carloshow could I do to fix that?11:04
carloshmmm11:04
carloslast option looks better11:04
ddaastub: now, it blows up in the "* Security setup"11:04
ddaa  File "security.py", line 237, in main11:04
ddaa    assert obj_name in schema.keys(), 'Bad object name %r'%(obj_name,)11:04
ddaaAssertionError: Bad object name 'public.changeset'11:04
stubDid we drop the changeset table?11:05
dilysMerge 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
dilysMerge 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)11:05
=== ddaa checks
stubOr renamed it? Same effect11:05
carlosSteveA, thanks11:06
SteveAit should become 'revision'11:06
ddaaYes, "ALTER TABLE Changeset RENAME TO Revision;"11:06
ddaawhere are the security chicken bones, so that I rethrow them?11:06
stubddaa: Edit security.cfg and change references to public.changeset to public.revision11:07
ddaaack11:07
stub(in database/schema)11:07
=== jinty [n=jinty@205.134.224.215] has joined #launchpad
lifelessjamesh: ping11:09
ddaastub: 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:19
lifelessjamesh: ping11:21
stubFirst build a fresh database without your patch (rename it to something not patch-25-??-?.sql to do this)11:21
stubddaa: Then run your patch manually (psql -d launchpad_dev -f my-renamed-patch.sql)11:22
stubddaa: Then modify your sampledata, and run 'make newsampledata' as per the documentation11:22
=== BjornT heads out for lunch and some appointments
stubddaa: You can then put your dbpatch back in place11:23
stub(yes - this is a pita but I'm not sure if it can be improved easily without making other compromises)11:23
=== 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
nirani'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
Kinnisonspiv: ping?11:45
ddaastub: I have another problem...11:46
ddaaWhen trying to update the sampledata, I get this error:11:46
ddaapsql:pending/BranchDataStorage.sql:88: ERROR:  new row for relation "branch" violates check constraint "valid_name"11:46
ddaaoh...11:47
ddaaI think I see... the update script produces a number of empty names...11:47
lifelessniran: it will get tested for importabailty yes11:47
ddaaalso, we are going to need to add "@_" as valid chars for branch names11:47
lifelessniran: and you can chat with jblack or ddaa here to get the mirror checked more carefully11:47
ddaastub: is that okay to add those chars to the valid_name regex?11:48
niranlifeless, ok, thanks11:48
stubddaa: There is already valid_branch_name - use that. We can't add those characters to valid_name11:48
stubI must have added it after creating that basic patch.11:48
ddaaOh, right, I missed it in my confusion :)11:48
=== ddaa now tries to find out where the empty names come from
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
spivKinnison: pong11:59
Kinnisonspiv: any chance you can go over the remaining stuff in cprov's buildd branches?12:00
Kinnisonspiv: We need them mergable asap12:00
Kinnisonjamesh has done a bunch of review already and I believe cprov has dealt with most, if not all, of his comments12:01
spivKinnison: Ok.  celso.providelo@canonical.com/launchpad--buildd--0 and celso.providelo@canonical.com/launchpad--buildd-queuebuilder-archaware--0?12:03
Kinnisoncprov: ?12:04
cprovKinnison: spiv: yes, they two12:04
zygacarlos: is there any way to star translating a template without any translated messages?12:04
spivcprov: Ok.12:05
carloszyga, sure12:08
cprovspiv: great, special attention to the buildd which contains killing process issues, would be nice if you can suggest something based on your librarian experience12:08
WaterSevenUbzyga, 'morning zyga... how went your installation tests of breezy?:)12:08
carloszyga, why do you think you cannot do that?12:08
WaterSevenUbzyga, in the translation side of course.12:08
spivcprov: 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
lifelesspqm does12:09
lifelessso whatever you do, it can feed inot PqmRobustness :012:09
cprovspiv: right, get inside, you'll probably have something better than that in mind12:10
zygaWaterSevenUb: morning :-)12:11
zygaWaterSevenUb: pretty good but I've found one annoying issue12:11
zygaWaterSevenUb: installation path: warty->upgrade is terrible due to clashes in xfree86-common and xorg.common (rgb.txt somewhere)12:12
zygaWaterSevenUb: as for colony CD it's not perfect yet but I'm already pulling the fresh one :)12:12
WaterSevenUbzyga,and what about those issues of "Time Zone Configuratoin" and "ubuntu configuration" (post-install)... did you find them?12:12
zygaWaterSevenUb: well I'd love to but those templates just don't appear on the list12:13
zygaWaterSevenUb: no, they were not in any of the .po files breezy has - probably unmarked12:13
WaterSevenUbzyga, well... the point is .... should we annoy Carlos again to point us someone we could talk to before we report the problem somewhere?;)12:14
WaterSevenUbcarlos, :)12:15
zygaWaterSevenUb: I'd rather grep the source package12:15
zygaWaterSevenUb: write a patch and then annoy the hell out of people :)12:16
zygaWaterSevenUb: similar case: 'hibernate this computer'12:16
zygaWaterSevenUb: do you know where that is?12:16
WaterSevenUbzyga, that one is on my "todoWhereTo" list too :) 12:17
zygaWaterSevenUb: translators should be able to pull a list of .pot files with *every* string extracted 12:18
zygaand a list with only marked strings extracted12:18
zygathat would solve 99% of the problems12:18
zygaif we had a clone of pitti he could spare some time to do this12:18
=== hannosch [i=hannosch@d194177.adsl.hansenet.de] has joined #launchpad
hannoschjordi: ayt?12:22
WaterSevenUbzyga, yeah, I agree.12:23
zygaWaterSevenUb: I'll be hacking synaptic in the meantime, minor issues though12:23
=== Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad
=== ddaa just notice some minor synaptic UI crack
zygaddaa: ?12:27
ddaazyga: 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
ddaaClicking on the checkbox closes the dialog.12:27
ddaaThat 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
ddaajust a minor WTF, not really a blocker12:28
carlosWaterSevenUb, 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:33
zygacarlos: that's okay - we know you are really busy :)12:35
carloszyga, thank you12:38
carlosstub, what's the ETA finish for the whitespace script on staging?12:38
lifeless200612:38
bob2haha12:38
stubcarlos: 10.2459 done (400000 of 3904014). eta 21:24:20.12136212:39
carloslifeless, kiko would hate you :-)12:39
carlosstub, thanks12:41
SteveAlifeless: i haven't received a reply from pqm yet12:41
bob2did you check the pqm status page?12:42
=== carlos -> shower
zygacarlos: why is synaptic not in rosetta?12:42
lifelesshttp://pqm.ubuntu.com/12:42
lifelesssuggests you should not have12:42
Kinnisoncprov, spiv: It seems jamesh was reviewing one of the branches, Can you coordinate and check that everything looks sane on that?12:42
SteveAlifeless: thanks12:42
zygacarlos: (as far as /pl is concerned)12:43
zygacarlos:  synaptic + rosetta = b0rked https://launchpad.net/products/synaptic/+translations12:45
=== asgeirf [n=asgeirf@203-173-59-20.dyn.iinet.net.au] has joined #launchpad
sivangis launchpad still donw? I still can't open launchpad integration pages..12:58
carloszyga, 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 12:59
ddaastub: I'm almost there, but I still need your help for a little thingy01:00
ddaa10:58:16 WARNING No permissions specified for ['"public"."branchmessage"', '"public"."branchsubscription"', '"public"."revisionparent"'] 01:00
ddaawhat should I do to make it happy?01:00
stubddaa: 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
ddaaWell, I do not think that any code is actually using those, yet...01:02
ddaaso it's not a terribly big problem, but lifeless thinks I should fix the problem right now.01:03
stubddaa: Then ignore the warnings. If you want to silence them, stick a section 'public.branchsubscription=' in the [public]  section should do the trick01:03
ddaanothing after the = sign?01:03
stubddaa: Nope. That explicity says 'give no permissions'01:03
ddaathx01:04
stubSo anything attempting to access them will raise an exception, and the relevant entries added to security.cfg then.01:04
ddaaYup, way to go.01:04
ddaaI'm not going to give speculative permissions that I will forget about and which will come back to hit me later.01:05
=== Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad
zygaWaterSevenUb: do you know where can we translate lanuchpad integration details?01:17
WaterSevenUbzyga, no. Let me know if you find it. I will let you know if I find it. (I'm currently busy )01:19
=== dand [n=dand@gw.datagroup.ro] has joined #launchpad
zygaWaterSevenUb: well... that was easier than I though ... apt-get source launchpad-integration01:27
=== 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
niemeyerMorning!01:46
cprovspiv: ok, nice idea to kill process, I'm implementing it .01:49
spivcprov: No worries.01:50
spivcprov: 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:50
spiv(I see that jamesh has followed up to the reviews)01:51
Kinnisonthanks spiv02:02
=== Kinnison ruffles
=== BjornT [i=10183@82-135-221-189.ip.takas.lt] has joined #launchpad
Keybukright02:34
Keybukso next thing to try02:34
Keybukcd /tmp02:34
Keybukhct source dbus02:34
niemeyer  File "/home/niemeyer/src/mango-sorbet/pybaz/backends/forkexec.py", line 384, i    raise ExecProblem(self)02:35
niemeyerExecProblem: baz exited with code 2 (expected exit code 0)02:35
niemeyerargv: 'get', 'TO-BE-DELETED@REALLY-DO-NOT-USE.ubuntu.com/dbus--orig--0.36.2--pat* error report02:35
niemeyerget: 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 library02:35
Keybukah, d'oh02:35
Keybukbaz register-archive sftp://casey.ubuntu.com/srv/launchpad.ubuntu.com/archive02:35
Keybukand try again :p02:35
Keybuk(you may have to delete a "dbus" directory)02:36
niemeyerHummm..02:37
niemeyerIt looks like I don't have an account on that machine02:37
Keybukelmo: ? ^02:38
niemeyerHumm.. 02:38
niemeyerI do02:38
Keybukyou should have an sftponly account02:38
niemeyerI thought the mail to db.warthogs.hdb.com would install the key everywhere, but it looks like it wasn't the case.02:39
niemeyerOk, I've registered the frightening TO-BE-DELETED@REALLY-DO-NOT-USE.ubuntu.com archive. :)02:40
=== dand [n=dand@gw.datagroup.ro] has joined #launchpad
Keybukit's supposed to, bug elmo about that <g>02:41
Keybukyeah, Mark picked that name02:41
Keybukit's trying to hint that you shouldn't branch off it02:41
Keybukah ... elmo's actually usefully given you an account02:42
Keybuk(a real one, that is)02:42
=== niemeyer hct source dbus
niemeyerGreat!02:43
niemeyerI've installed my key manually, so everything is fine now. :)02:43
niemeyerYou've mentioned that I'd need Launchpad working. What parts of hct interact with launchpad right now?02:43
Keybukright02:44
Keybukso mango-sorbet is my development config, which I use for testing distro-side stuff02:44
Keybukit's got two main bits in it ...02:44
Keybukhct -- which is the generic module bit, the utility library (hct.util) and the command-line interface (hct.cli)02:45
Keybuksourcerer -- which is the source package importer -- it uses hct, but isn't "part" of it02:45
Keybukit doesn't have any of the launchpad stuff02:45
Keybuknow, if you look at your launchpad config, it also has a lib/hct and lib/sourcerer which match these two02:45
Keybuklaunchpad also has the server-side stuff02:46
Keybuklib/canonical/launchpad/hctapi.py <-- the direct-to-database backend code02:46
Keybuklib/canonical/launchpad/daemons/trebuchet.py <-- the xml-rpc server02:46
niemeyerHummm... I see02:47
Keybukso, how the backends work:02:47
Keybukhct doesn't have any real concept of a source package, or how to find them. or anything like that.  It just wants a Manifest object02:47
Keybukso it uses a backend to convert an arbitrary string into a Manifest object02:47
Keybukso when you typed "hct source dbus", the following happened:02:48
Keybuk- it parsed it as a URL, saw there was no scheme, so added the default ("hct") scheme to it02:48
Keybuk- it looked up the handler for the "hct" scheme (hct.backends.xmlrpc)02:48
Keybuk- it called the hct.backends.xmlrpc.get_manifest() function passing "hct:///dbus" to it02:49
Keybuk- the backend made an XML-RPC call to the trebuchet server on casey02:49
Keybuk  (but with the "hct:///" bit stripped off)02:49
Keybuk- trebuchet made the same call to hctapi.get_manifest()02:49
Keybuk- which parsed the string, looked up the record in the database, and made a Manifest object02:50
Keybuk- trebuchet pickled the Manifest object by turning it into XML02:50
Keybuk- the xmlrpc backend unpickled it and returned it02:50
Keybuk-- 02:50
Keybukthere's two backends in hct -- xmlrpc which handles the "hct" scheme and is the default02:51
Keybukand xmlfiles which handles any other scheme02:51
Keybukso, infact, you can do something like:02:51
Keybukhct source file:///tmp/dbus/{hct}/++manifest02:51
niemeyer(I'm following.. keep going :)02:51
Keybukthat'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 directly02:52
Keybukthe logic for all of this is in hct.url02:52
Keybukbackend modules "plug" themselves into that02:53
Keybukthe top of hct.cli.command imports the xmlfiles and xmlrpc backends to make sure they're both available02:53
Keybukthe top of sourcerer.bubblewrap imports the hctapi backend from launchpad (which shares the API)02:53
Keybukthe hctapi backend is the "best" so the "lp:///" scheme it implements becomes the default02:54
Keybukso using the hct code within sourcerer reads and writes directly to/from the database rather than going over xml-rpc02:54
niemeyerWho's the guy parsing the manifest02:55
niemeyer(and doing something useful with it)02:56
niemeyer?02:56
Keybukdepends what you mean by parsing02:56
Keybukif you're reading a database object, it's hctapi02:56
niemeyerSorry.. rephrasing02:56
Keybukif you're reading an xml file, it's xmlfiles02:56
Keybukif you're reading an xml-rpc response, it's xmlrpc (which actually uses xmlfiles)02:56
niemeyerWho runs baz by looking at the manifest?02:56
Keybukhct.manifest02:56
Keybukand, partly, hct.sourcetree02:56
niemeyerRight02:58
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
Keybukthat stuff needs cleaning up a bit, I want to move a lot from sourcetree into manifest itself03:00
=== 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
niemeyerYou 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
Keybukat the top of bubblewrap it imports "canonical.launchpad.hctapi"03:01
Keybukwhich is in launchpad/lib/canonical/launchpad/hctapi.py03:01
Keybukthat registers itself as a backend with a higher priority than the xmlrpc one03:02
Keybuk(and with the "lp:///" scheme)03:02
niemeyerAh, ok03:02
niemeyerSo it doesn't use xmlrpc when being run from launchpad03:02
Keybukright03:02
Keybukmake a copy of your launchpad tree (or another get)03:02
Keybukthen:03:03
Keybukbaz switch -d launchpad scott@canonical.com--2005/launchpad--sourcerer-production--003:03
Keybukbaz switch -d launchpad/lib/hct scott@canonical.com--2005/hct--devel03:03
Keybukbaz switch -d launchpad/lib/sourcerer scott@canonical.com--2005/sourcerer--devel03:03
Keybuk-- 03:03
Keybukyou'll then get a scripts/sourcerer-import.py03:04
Keybukas 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 import03:04
=== niemeyer cp -r launchpad launchpad-scott
niemeyerKeybuk: I'd like to build a "package" from scratch (rather than asking sourcerer to import it). Is it possible?03:07
=== niemeyer baz build-config coffee
Keybuknope03:09
Keybukit will be, one day, but right now existing sources is much more important03:10
niemeyerSure.. I'd just like to go through the process to understand it.03:13
niemeyerI'll try to follow it internally03:13
=== niemeyer switching launchpad
niemeyerKeybuk: Is there any dummy database backend which doesn't require launchpad/a xmlrpc server to be running?03:18
Keybukno, unless you could the xmlfiles one03:19
Keybukwhich only implements the get_manifest function03:19
niemeyerKeybuk: 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:22
Keybukright03:24
Keybukso there's a bunch of tables03:24
KeybukManifest -- which is the top-level table03:24
KeybukManifestEntry -- which is the record for each entry in the manifest, and linked to the top-level table03:24
KeybukManifestAncestry -- which records the descent of each manifest, which one it was based on and which were "merged in"03:24
Keybukeach ManifestEntry references Branch and Changeset, which in turn reference ArchNamespace and ArchArchive, etc.03:25
Keybukthose are the ones we write to03:25
Keybukwe read from quite a few, the Product, ProductSeries, ProductRelease descent03:25
Keybukand the Distribution, DistroRelease, SourcePackagePublishingHistory, SourcePackageRelease descent03:25
Keybukbut we never create those, we rely on dyson and gina (respectively) to do that03:26
niemeyerOk03:27
KinnisonWhat's PQM's situation currently?03:29
Keybukthere's a spec (DevelopmentManifests) for adding another table to link Person to Manifest (so you can have "my dbus") but that's still a spec03:29
Keybukit's almost 10 minutes work, but depends on a bunch of stuff to be useful, so it's waiting in the wings03:29
cprovKinnison: possibly it got lost with spiv's job at 8 AM03:30
niemeyerUnderstood03:30
cprovlifeless: or elmo: could you kick PQM ?03:30
lifelessdone03:33
=== Keybuk goes for lunch
=== Nafallo [n=nafallo@unaffiliated/nafallo] has joined #launchpad
cprovlifeless: thank you03:43
=== sabdfl [n=mark@217.205.109.249] has joined #launchpad
sabdflmpt: are kiko and salgado around?04:05
sabdflcarlos: we have a problem04:07
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=spiv]  something/enumvalue:VALUE for page templates (patch-2344: steve.alexander@canonical.com)04:07
sabdflwe should not have the review-foobar-1 templates building up like this04:08
mptsabdfl: No, I'm not sure where they are04:10
mptkiko came back from Rio last night, apparently04:11
sabdflmpt: k thanks04:11
mptand salgado left the apartment before I did, I think, but he's not here, so I'm not sure where he is04:11
sabdflcould you ask kiko to ping me when he gets in?04:11
mptsure04:11
sabdflthanks04:11
sabdflhow's it going over there?04:11
mptthe usual04:11
mptWarm, windy, and not enough RAM for baz :-)04:12
sabdfldoes anybody else have the ./makepagetest thing fail? SteveA?04:12
sabdfl    assert (request and response) or not (request or response)04:12
sabdflAssertionError04:12
sabdflis the end of the traceback04:12
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
SteveAsabdfl: interesting.  there are a couple of open bugs on it.  can you put the whole traceback in https://chinstrap.ubuntu.com/~dsilvers/paste ?04:13
sabdflhttps://chinstrap.ubuntu.com/~dsilvers/paste/file7ljmEl.html04:14
mptsabdfl: kiko just called me -- he's working on the monthly report for Jane, and he'll be in the office in about 1.5 hours04:14
sabdflmpt: thanks04:15
SteveAsabdfl: do you still have /tmp/page-test.2gvIFd around?04:15
sabdflslinky% ls -al /tmp/page-test.2gvIFd                ~/projects/ubuntu/launchpad04:17
sabdfltotal 7204:17
sabdfldrwx------   2 mark mark  4096 2005-09-05 15:12 .04:17
sabdfldrwxrwxrwt  22 root root 12288 2005-09-05 15:16 ..04:17
sabdfl-rw-r--r--   1 mark mark  1729 2005-09-05 15:11 watch0001.request04:17
sabdfl-rw-r--r--   1 mark mark 24473 2005-09-05 15:11 watch0001.response04:17
SteveAbasically, there is some request data that did not meet with a response.  the zope test creation stuff is bitching about that.04:17
sabdfl-rw-r--r--   1 mark mark  1731 2005-09-05 15:12 watch0002.request04:18
sabdfl-rw-r--r--   1 mark mark 24483 2005-09-05 15:12 watch0002.response04:18
sabdflyes04:18
sabdflinteresting04:18
SteveAokay, can you tar that directory up, and mail it to me04:18
SteveAi'll be able to use that to see what's up04:18
sabdfli've noticed it does some weird stuff, like reordering the pages sometimes04:18
sabdflthere are quite a few dirs like that04:18
sabdfldo you want the lot?04:18
SteveAjust the one called /tmp/page-test.2gvIFd04:18
SteveAthat's the one that caused it to fail04:19
sabdflit was small04:19
sabdflyou got the lot04:19
sabdflit's been failing quite a bit for me04:19
sabdflright now it just will not handle the sequence of pages i am trying to record04:20
=== 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
SteveAthere'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.04:23
=== segfault1 [i=carlos@prognus.com.br] has joined #launchpad
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
SteveAokay, reproduced the error04:33
sabdflphew04:36
sabdflmy hair loss is accelerating04:36
ddaaSteveA: heya04:36
sabdflnot one of my attempts has worked :-)04:36
SteveAi haven't fixed the error -- just reproduced the exact problem with the data you have sent to me04:36
SteveAbut, gimme a few minutes...04:36
SteveAhi ddaa04:37
ddaaSteveA: got a problem with the new Branch goo.04:37
SteveAddaa: can we talk in 15 mins?04:37
lifelessSteveA: who else knows NotFoundError on attributes with new interfaces?04:37
lifelessSteveA: we'll ask them04:37
SteveABjorn may be able to help04:38
lifelessBjornT: ping04:38
BjornThi lifeless 04:38
lifelessBjornT: we may have solved it, una momento04:38
lifelessBjornT: we have, never mind04:39
BjornTcool04:39
ddaadid not save interfaces/pyarch.py after remove the IBranch from __all__ there...04:39
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Added initial support to show suggestions for multiline entries r=kiko (patch-2345: carlos.perello@canonical.com)04:42
=== dand [n=dand@gw.datagroup.ro] has joined #launchpad
SteveAsabdfl: want an instant totally hackish fix?04:51
SteveApython -O makepagetest.py (usual args here)04:52
Keybukhmm, I appear to have misunderstood the way Python's logging works04:58
Keybukif I have Logger("foo") and Logger("foo.child")04:59
Keybukand foo's level is 30, but foo.child's is 1004:59
KeybukI thought foo.child.debug(...) shouldn't appear, because it's parent level is higher04:59
=== dand [n=dand@gw.datagroup.ro] has joined #launchpad
dilysMerge 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)05:13
=== Lovechild [n=dnielsen@0x50c71cc7.adsl-fixed.tele.dk] has joined #launchpad
mptSteveA: How's menus going?05:18
SteveAmpt: very nicely!  a little later today, you'll have some page<->menu assignment to do05:19
SteveAbut now, i must go out and collect a bicycle.05:19
mptheh, cool05:20
SteveAit's taking way too long to walk to the office05:21
SteveAso, bjorn inspired me to get a bike05:21
mptI have a bike, and I was going to spend this lunchtime getting a helmet05:23
mptbut I'm too hungry05:23
SteveAadded how to work around failing makepagetest.py in https://wiki.launchpad.canonical.com/LaunchpadHackingFAQ05:25
=== Kinnison glares at apt-ftparchive
Kinnisonit's so slow05:30
mpthmm05:33
mptDoes a team have packages?05:33
mptOr is it people only who do?05:33
mpt(er, "only people")05:33
lifelessboth05:35
mptthanks lifeless05:36
cprovinteresting -> http://www.bestpractical.com/rt/ , why not use Malone for it ? smells hypocrisy from our part :( 05:43
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko]  More karma for the Malone users. (patch-2347: bjorn.tillenius@canonical.com)05:43
elmocprov: eh?05:44
Kinnisonmalone isn't a trouble-ticket tracker05:46
cprovelmo: just wondering what does it have better than we can do in malone ? not criticising at all, just wondering ... 05:47
elmocprov: RT is a dedicated issue/ticket tracker, malone is a bug tracker?05:47
cprovKinnison: but I can't see why it can't be, what differs from one to other 05:47
=== robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad
cprovelmo: right, TRAC is also a issue tracker and can be used for both purposes 05:48
elmocprov: IME bugs and ticket tracking are entirely different things05:48
elmoTRAC is a software issue tracker05:48
elmowhich is just really an extension of bugs05:48
elmo(AFAIK, I have to admit I've never used TRAC)05:49
=== vinsci [n=vinsci@dsl-sjkgw2jb1.dial.inet.fi] has joined #launchpad
vinscihi carlos05:50
vinscicarlos, how is your email request going?05:50
cprovelmo: 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 this05:50
cprovs/you/I'll05:51
=== 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
cprovKinnison: actually, I'm using your chair, more discret but still painful05:56
Kinnisonhehe05:57
=== Kinnison thought you found that chair comfortable
Kinnisonyou can sit on some screws and nails if the chair is painful05:57
=== 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
kikoG06:01
kikoM06:01
kikoV!06:01
Kinnisonpardon?06:01
elmoood06:02
elmoorning06:02
elmoietnam06:02
Kinnisonoh06:02
ddaampt: ping06:02
cprovKinnison: the chair is extremely confortable, stay with the fingers under the chair is what I meant.06:03
Kinnisoncprov: heh06:03
kikohow is everyone?06:03
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
cprovkiko: morning sounds a bit late for br time and early for vietnan though, how is it going ? 06:05
kikowell, morning is whenever I arrive at the office until lunch06:06
kikonot too bad06:06
kikohave a report to send off in a second06:06
mptddaa: pong06:09
cprovkiko: fair enough, should I say: "this life will kill you" ehe06:12
kikosent06:13
dilysMerge 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:16
cprovouw ... finally06:18
=== SteveA returns
salgadohey SteveA. have one minute to talk about ShipitStandalone?06:29
SteveAsalgado: okay, let's doit06:31
salgadoso, should I just copy what we have for launchpad and change the text and the main template used?06:33
SteveAi need to catch up on where you're at with it06:34
SteveAi think i have an email explaining the work so far...06:34
=== niran [n=niran@cpe-67-10-213-51.houston.res.rr.com] has joined #launchpad
SteveAyep, got it06:34
SteveAsalgado: let me spend a few minutes reading this06:34
salgadosure06:35
elmowho's responsible for the CoC stuff?06:38
SteveAcprov and salgado 06:38
elmocprov/salgado: https://launchpad.net/people/mail-slomosnail/+codesofconduct06:39
cprovelmo: yup, did anything go wrong ?06:39
elmocprov/salgado: why is it listed in both active and inactive?06:39
elmoand is there any way for me to get the actual signed CoC?06:39
=== Arnia [n=jgeldart@128-14-101-159.adsl.legend.co.uk] has joined #launchpad
cprovelmo: no perm for me, only the own user can see it or admin06:39
cprovelmo: btw, why i'm not admin, can someone promote me ?06:40
elmocprov: I've no idea06:40
SteveAsalgado: okay, i've read it06:40
Arniasalgado: 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
elmoyou're the launchpad team ;-P06:40
cprovelmo: how do you mean ? "get" is download the the original CoC or see if the CoC signature of this guy ? 06:41
elmocprov: http://people.ubuntu.com/~james/x/screenshot.jpg06:41
elmocprov: download the CoC as he signed it06:42
elmoso I can verify it for myself etc.06:42
cprovelmo: yes, unfortunatelly a poor member ..06:42
cprovelmo: lp.net/codesofconduct/console/06:43
elmo404?06:43
elmoaha, codeofconduct06:43
salgadoArnia, the right person to answer this would be morgs, but he's on vacation now. 06:44
salgadoa06:44
cprovelmo: oh, pardon me06:44
salgadoArnia, I guess we're not using DOAP because we had to extend it a little to suit our needs06:44
elmocprov: what do I put in the From: box?06:44
cprovelmo: displayname ..06:45
Arniasalgado: 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
lifelesssalgado: oops,thought it was you. my bad.06:45
elmocprov: aha, ok, thanks06:45
cprovelmo: dsilvers has tried and found 06:45
elmocprov: how does the code work, does it check the md5sum?06:45
=== SteveA chats to Arnia
cprovelmo: yes, checks the GPG signature then the content md506:46
salgadoArnia, no, I don't know when he'll be back. sorry06:47
salgadoSteveA, so, do we have a plan?06:48
cprovelmo: did I solve your problem ? in this console you can also acknowledge paper signatures and deactive signatures.06:49
SteveAsalgado: 2 mins06:49
elmocprov: yes, thanks, that's great06:53
cprovelmo: nice, thank you for testing it 06:54
SteveAsalgado: okay, let's go06:54
cprovSteveA: could you include my lp user in the LaunchpadAdmins team ?06:55
SteveAcprov: no06:55
SteveAcprov: i am not an administrator of that team06:55
SteveAhttps://launchpad.net/people/admins06:55
salgadoSteveA, for that you only need to be a member of that team06:56
salgadobecause that makes you a launchpad admin, which can do almost everything06:56
SteveAokay06:57
SteveAdone06:57
cprovSteveA: thank you 06:57
cprovSteveA:  btw, why do we have Daniel Silverstone listed twice in the team member list /06:58
SteveAmaybe he didn't merge his accounts06:58
cprovok two lp users 06:58
SteveAKinnison: any idea?06:58
SteveAsalgado: what do we need to talk about?06:59
KinnisonSteveA: I *did* merge my accounts06:59
KinnisonSteveA: It's a holdover from a broken peoplemerge06:59
Kinnisonthe dsilvers account is the one I use06:59
Kinnisonthe kinnison one is defunct07:00
salgadoSteveA, what I need to do to have a standalone /shipit, where people can login, place new orders and change existing ones07:00
SteveAdo you have an apache you can configure, and a locally running launchpad running your shipit code?07:00
SteveAthat would be the best, to test this out07:00
salgadoI can arrange that07:01
SteveAok07:01
elmoyou guys know fix-whitespaces-in-translations.py is using > 1Gb and rising of memory on staging, right?07:02
lifelessyup07:02
salgadoSteveA, so, what I need is to create something like a ShipItApplication, rooted at /shipit and then start registering the pages under it?07:05
SteveAokay, so you haven't made that yet?07:06
salgadono, I haven't07:06
SteveAyeah, that's the way to do it07:06
SteveAthat wiki page described the right approach07:06
SteveAi'm not exactly sure about the details of logging in and out though07:06
SteveAbut, let's get the basic thing up there07:07
SteveAin the suburl directive, you can say what the new layer is beneath that suburl07:07
SteveAso, you'll also need to define a Shipit layer07:07
SteveAand register a new main template on the shipit layer07:07
salgadoright, I think I already have that07:07
SteveAyou can get that far, and test it out, without using apache07:08
SteveAbut it will be good to make sure it works properly with all the proxypass stuff for virtual hosting07:08
salgadoright. how do I register the main template for the new layer? I couldn't find that out07:08
SteveAyou know how the main template is registered generally?07:08
salgadono, I don't07:09
SteveAactually, it is registered twice!  but the registration in registry.zcml should go away07:10
SteveAso, the main template is registered like this:07:10
SteveA  <browser:page07:10
SteveA     for="*"07:10
SteveA    permission="zope.Public"07:11
SteveA     name="main_template"07:11
SteveA      template="...../main-template.pt"07:11
SteveA     />07:11
SteveAand 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
SteveAand that says, when you have the shipit layer, use this other template07:12
SteveAand of course, it shoudl be called shipit-main-template.pt07:12
salgadook. this is in lp/configure.zcml?07:12
SteveAthe original is07:12
SteveAbut you should put it all in shipit.zcml07:12
SteveAi need to remove the rest of the stuff from canonical.lp sometime07:13
KinnisonSteveA: 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:13
SteveAKinnison: when will it be?07:14
KinnisonSteveA: depending on when apt-ftparchive finishes, this evening some time07:14
sabdflSteveA: any progress on the makepagetest front?07:14
=== niemeyer [n=niemeyer@201.14.22.191] has joined #launchpad
SteveAsabdfl: yes, i replied on channel ages ago, and it is in the LaunchpadHackingFAQ07:15
KinnisonSteveA: I can drop the patch as it currently stands somewhere for you to look at before it's ready if that'll help07:15
SteveAKinnison: okay, depending when i finish tonight, either tonight, or tomorrow morning07:15
Kinnisonthanks. This is a blocker for a couple of cprov's branches but we can work around the delay07:16
=== Kinnison wishes this test would run faster
SteveAsalgado: let's talk through the ShipitStandalone open issues07:16
elmoperson.id is stable right?07:17
elmoin the sense that y'all aren't going to run around changing it under me07:17
KinnisonI certainly hope we won't07:17
SteveAelmo: it is stable.  but it is nice if external systems don't use it.07:18
SteveAsalgado: ping07:18
salgadoSteveA, so, #1. can we do self.context = getUtility(ILaunchBag).user ?07:18
SteveAso, you want a person as the context07:20
SteveAi guess you can do that.  there are a couple of ways to arrange this07:20
SteveAyou can do it on traversal from your ShipitApplication, so that traversal from there is by looking up views on a Person07:20
sabdflSteveA: worked a treat07:21
SteveAbut for this, it is probably better to have views be registered to IShipitApplication07:21
SteveAand have the __init__ of the view store a person that can be used.07:21
salgadoyes, that's what I thought07:21
SteveAsabdfl: cool.  so, there is some weird problem with a GET request for some image, and the response to that being lost or mangled.07:21
SteveAsabdfl: using -O should still give you the important stuff.  i'll check sometime to see if the code has been improved upstream.07:22
SteveAsalgado: using IShipitApplication as the context also means you won't get so many inappropriate pages being available07:23
SteveAon "How hard is it to do +register and +forgottenpassword? Should we do it?"07:23
SteveAthe hard part is not the URLs, but the need for emails going to a different domain than usual07:24
sd-tuxhallo 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
KinnisonSteveA: If spiv gets up before I'm done, I'll ask him to review it07:24
SteveAalso, as regards shipit in general, note that canonical_urls may possibly not work as you want.07:24
salgadoSteveA, you mean, they'll point to launchpad.net/shipit/* instead of shipit.ubuntu.com/* ?07:25
SteveAsalgado: i'm actually not sure, without checking the code.  they might well work properly.07:26
SteveAsalgado: but, we need to test it using apache / virtual hosting stuff07:26
SteveAso, when you've done the new layer, new main template, and a couple of pages, let's try it out with apache in the mix07:26
salgadosure07:26
SteveAsalgado: okay.  i'm going to get back into some infrastructure hacking.07:27
mptddaa: pongity-pong07:35
ddaampt: nevermind07:36
kikoBjornT, 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 it07:41
SteveAisn't there an "extras" for that, or some such keyword argument07:42
kikoyeah, but that's only for add/editforms07:42
SteveAi think there is an equivalent thing for individual widgets07:42
=== robertbb [n=robertbb@d154-20-144-93.bchsia.telus.net] has joined #launchpad
kikoI couldn't figure it out from reading the z3 code,but I only spend 45s looking at it07:43
SteveA'extra' as a kw arg, dude07:44
vinsciSteveA, the LaunchpadHackingFAQ doesn't seem to mention how to get the released code.07:45
SteveAzope/src/zope/app/form/browser/widget.py, line 46207:45
BjornTkiko: yeah, SteveA is right. you can specify extra in the browser:widget directive as well.07:46
kikobrowser:widget, hmm07:46
kikovinsci, the code isn't publically available yet -- that's why :)07:46
SteveAvinsci: 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
vinscikiko, well, SteveA said some of it was, and promised to get me the link days ago ;)07:47
kikoah, right07:47
SteveAcarlos has the release of the poparsing stuff on his todo list.  i thought it had already been done and put out there.07:47
SteveAwe need to find time to release the librarian too...07:47
vinsciSteveA, ok, I've not heard back from him yet07:48
sabdflSteveA: i'm running breezy now, and it seems as though a bunch of IntegrityError's got turned into ProgrammingError's07:48
SteveAsabdfl: these are database-level things?07:49
sabdflSteveA: yes07:49
SteveAi guess they're being emited by postgresql 8 on breezy07:49
SteveAis it causing a problem?07:49
sabdfli'm using 7.407:52
sabdfli think it is in the python module that talks to psql07:52
SteveAapt-cache policy python2.4-psycopg07:53
SteveAwhat does that tell you?07:53
SteveAi'm on 1.1.18-1ubuntu507:54
SteveAwhich is from hoary/main07:54
SteveAthere is a 1.1.19 release07:55
SteveAnice!07:55
SteveA* ZPsycopgDA/db.py (DB.query): applied patch from Jonathan07:55
SteveAStoneman to automatically try to reconnect *once* on07:55
SteveAOperationalError. This fix the problem with Zope loosing the07:55
SteveAconnection to the database when PostgreSQL is restarted.07:55
SteveA* Applied patch from James Henstridge to avoid segfaults in07:56
SteveA_curs_doall() (see psycopg mailing list "PATCH: psycopg107:56
SteveAthread-safety bug in commit() and rollback()" for details.07:56
SteveA* James Henstridge did it again: another patch to fix segfaults07:56
SteveArelated to calling certain methods on a closed connection object.07:56
kikofun07:56
SteveAand the thing mark's seeing is probably07:57
SteveA* cursor.c (_psyco_curs_execute): applied patch submitted to07:57
SteveAtracker (ticket #10) to fix the problem with wrong exception types07:57
SteveAon PostgreSQL 8.x.07:57
Keybukkiko: I still can't change anything on launchpad wrt hrt07:57
SteveAhttp://initd.org/pub/software/psycopg/ChangeLog07:57
kikoKeybuk, really? walk me through this. what URL are you on?07:58
kikoSteveA, but sabdfl said it was 7.4?07:59
Keybukhttps://launchpad.net/products/hct/+bugs/1039/+index07:59
Keybukas me07:59
Keybukit says "You cannot change this status page: you are not the assignee or a maintainer of upstream hct."07:59
kikoKeybuk, try again.08:01
=== kiko swear he had done that before
kikoswears even08:01
Keybukthat's better08:01
kikolet me know if you have any other issues.08:01
Keybukokies08:02
sabdfl1.1.18-1ubuntu608:03
SteveAkiko: that's the postgresql version08:03
sabdflSteveA: yes, i've got postgres 7.4, which is the same as hoary08:04
SteveAsabdfl:  that's interesting for two reasons.  1. why has the exception changed?  2. why isn't the most recent release in breezy?08:04
SteveAit was released on 2005-07-1608:05
SteveAi'll ask doko08:05
sabdflhmm08:07
sabdfli'm on pg 7.4.808:07
sabdflwhat's in hoary?08:07
kiko  Installed: 7.4.7-2ubuntu2.108:07
SteveA7.4.7-2ubuntu2.1 from security08:07
vinscirosetta is rather slow08:16
vinsciseems I can translate 10 strings faster than it saves them... :-/08:17
vinscioh well, back to kbabel for the real stuff.... :)08:18
dilysMerge 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)08:27
=== Nafallo [n=nafallo@unaffiliated/nafallo] has joined #launchpad
zygalaunchpad-dev-people: how often is launchpad upgraded on the production system08:27
vinsciweekly, according to the faq08:28
Nafallozyga: every tuesday IIRC08:28
SteveAweekly, unless there is something that requires an urgent upgrade08:28
SteveAlike a serious bug that there's a quick fix for08:28
zygaah, good to know08:28
SteveAspecial things are usually decided during the weekly developers' meeting08:29
SteveAthe date and time of it is always in the channel's title08:29
SteveAthe next one is on thursday, 12:00 UTC08:29
zygaSteveA: could the karma page inform the user how often the stats are updated?08:31
SteveAsalgado's the karma master08:31
SteveAlet's see what salgado says08:32
sabdflkiko: did you send me a spec-system review in the end?08:33
=== Lovechild [n=dnielsen@0x50c71cc7.adsl-fixed.tele.dk] has joined #launchpad
kikosabdfl, no, I'm still intending on doing it this week -- last week had too many last-minute requirements, I'm afraid08:35
kikosabdfl, I'm going to start using it this week, so I'll send you feedback together perhaps08:35
sabdflok. i'm asking spiv for a review of the ticket tracker today08:35
kikookay cool08:36
salgadozyga, it's updated daily, but we don't store the time when it was last updated08:37
sabdflmpt: help08:45
sabdflwith tickets, i'd like to put the "ticket description" in a nice box. what class should I use on the div?08:45
zygasalgado: I was rather talking about 'This page is updated daily"08:46
mptsabdfl: boardComment, perhaps?08:49
mptor boardCommentDetails08:49
salgadozyga, 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 day08:51
zygasalgado: yes, yes I was talking about that08:51
zygasalgado: I've noticed it's updated daily but a message saing so would remove some confusion probably :)08:52
=== Burgundavia [n=corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko]  ignore emails with an empty Return-Path header. (patch-2350: bjorn.tillenius@canonical.com)08:57
kikoany clue where carlos is?08:59
niemeyerKeybuk: What's your idea regarding the pristine assembled tree vs. the real seembled tree?09:16
salgadoSteveA, ping?09:17
Keybukmeans that the assembled tree can be changed, and we can work out how09:17
niemeyerKeybuk: Is this being used currently?09:18
Keybukno09:18
SteveAsalgado: 09:19
niemeyerKeybuk: Understood.. was just curious if I'd be missing something.09:20
Keybukthere's lots of things like that09:20
salgadoSteveA, is it possible to override the "+login" page that's registered for all interfaces? I need to use a custom one for shipit09:20
SteveAsalgado: not easily09:21
niemeyerKeybuk: You have a very nice code style.09:21
SteveAsalgado: i suggest that you just write a +login view for IShipitApplication09:22
SteveAcalled something different09:23
salgadoyes, I did that09:23
salgadothe problem is when you try to access a page that's protected while you're not logged in09:23
salgadoSteveA, is there anything I could do in this case?09:24
SteveAsalgado: yes09:25
SteveAsalgado: you need to write an UnauthorizedView for the ShipitLayer that does what you want 09:26
SteveAsalgado: see lib/canonical/launchpad/webapp/login.py for the standard UnauthorizedView09:26
sabdflkiko: any news on the langpack front?09:27
salgadoSteveA, cool. thank you09:27
kikosabdfl, 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 30mins09:28
SteveAit's getting late in spain09:28
sabdfland in lithuania :-)09:29
kikoI know, but I didn't get any updates today and carlos knows I want to know how this is going09:29
SteveAsabdfl: i'm on a roll.  can't stop the momentum09:32
niemeyerKeybuk: 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:39
niemeyerKeybuk: (I hope you don't mind if I bother you with those questions)09:41
KeybukWorkingTree and Branch changes09:44
Keybukthey're actually designed a bit more like bzr-style than baz-style anyway09:44
niemeyerCool09:45
Keybukyou could theoretically implement hct on any revision control system that supported merge history09:46
niemeyerKeybuk: 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:48
niemeyerKeybuk: But it looks like it's more like a "meta storage" specialized in package-styled version control.09:49
Keybukyeah, it's definitely the latter09:50
niemeyerIn 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:50
Keybukmartin calls it "meta-version-control" :p09:51
niemeyerBut 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
Keybukright, 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 thing09:52
Keybukin other words, we can compare the Debian and Ubuntu source packages09:52
Keybukor the Ubuntu and RedHat ones ... because they share the same underlying branches (even if it's just the CVS import)09:52
niemeyerRight!09:52
Keybukas you point out, it doesn't understand debian/changelog, debian/control, RPM spec files, etc.09:53
niemeyerUhhhh.. that's *very* interesting. 8)09:53
Keybukyou have to (as the user) maintain those yourself09:53
Keybukwe always figured we'd change the source format instead09:53
niemeyerOk.. so I'm on the right track.09:53
Keybukyup09:54
sabdflmpt: the thing is, there's comments on the page09:58
sabdfland i don't want it to look exactly like a comment09:58
sabdflit should be thpecial09:58
carlosHi, people, sorry, I had to go out this afternoon10:00
vinscihi carlos10:01
carloshi10:01
carloskiko, new languagepack ready10:01
=== carlos tests it
mptsabdfl: Well, the description of a bug has no special background or border, and it looks fine10:03
mptPerhaps the same would work for tickets10:03
sabdflmpt: 10:05
sabdflsorry10:05
sabdflthe bug has lots of other stuff on the page though10:05
sabdfla ticket doesn't10:05
kikocarlos, that's great10:05
sabdflit's just a ticket10:05
kikocarlos, give me good news!10:05
dilysMerge 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
carloskiko, as I told you by phone, the whitespace problem is still there as the db was not fixed when I generate that tarball10:06
salgadoSteveA, ping?10:08
kikocarlos, 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:08
SteveAsalgado: yes10:09
salgadoSteveA, I'm having problems testing the virtual hosting stuff. can you help me?10:09
carloskiko, it was 21 hours this morning10:10
carloskiko, I think it should be done atm10:10
kikohmm10:10
kikocarlos, but it's still running?10:10
carloskiko, I don't have access to asuka to know that10:10
SteveAsalgado: how can i refuse?10:11
kikooh, right, I always forget we're handcuffed.10:11
kikosabdfl, so the script may have finished running on staging, but we need to wait till stuart wakes up to know for sure.10:11
sabdflhow do we tell?10:12
salgadoSteveA, heh. :)10:12
kikocarlos, 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
kikosabdfl, via email.10:12
=== dand [n=dand@83.103.205.67] has joined #launchpad
salgadoSteveA, this is what I'm using for the vh: https://chinstrap.ubuntu.com/~dsilvers/paste/filejacmfF.html10:12
sabdflelmo says it is finished10:12
kikogreat.10:13
kikoI am unsure if we can do anything else without stuart right now, though. carlos?10:13
SteveAsalgado: you don't need the ProxyPassReverse10:13
salgadoSteveA, it seems to work, but when I login it doesn't work as it does when I don't use the vh10:14
carloskiko, I don't need stuart at all for this10:14
carloskiko, I will run the script again now10:14
kikocarlos, really? how do you run the script if you don't have access to asuka?10:14
salgadoSteveA, what I tried to say is that the redirect works, but the code works only when I don't use the redirect10:15
carloskiko, I have db access10:16
SteveAsalgado: what exactly goes wrong?10:16
carloskiko, as readonly10:16
carloskiko, I have a modified tree that works with a readonly db10:16
kikocarlos, then you can of course ps auxw | grep to see if the script is still running, no?10:16
carloskiko, no, I have db access using psql, nothing more10:17
carloskiko, no ssh access10:17
kikooh10:17
kikoI see10:17
kikoyou could query a known broken string :)10:17
salgadoSteveA, right after successfully logging in, I call getUtility(ILaunchBag).user. but that's always None when I use the vh.10:17
carloswell, I have tcp access to the db10:17
salgadoSteveA, there's also this error: https://chinstrap.ubuntu.com/~dsilvers/paste/fileKnNKS8.html10:18
=== segfault1 is now known as segfault
SteveAsalgado: so, when you10:18
SteveAsalgado: so, when you are virtual hosting via apache, then you get that ForbiddenAttribute error, and users don't get logged in?10:19
salgadoSteveA, the users are getting logged in, but ILaunchBag.user is None right after you login.10:20
salgadoand the ForbiddenAttribute I get only when virtual hosting, yes10:21
=== jinty [n=jinty@205.134.224.215] has left #launchpad ["Leaving"]
SteveAsalgado: i need to debug this using the same setup you're using. 10:31
SteveAcan you commit what you have to a branch, so i can see it10:31
SteveAand prepare for me explaining what i need to do to see this in action10:32
salgadoSteveA, can I send you a diff instead of commiting?10:34
SteveAsalgado: i can't look at this tonight10:34
SteveAi'm about to get some more menus infrastructure landed for mpt to look at, and then i'm going home10:34
SteveAif you commit, it means i can branch from it, and work on it10:36
salgadoSteveA, 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
SteveAno problem10:37
SteveAi'll look at it tomorrow morning10:37
salgadogreat. :)10:37
salgadoSteveA, one last question. how do I specify that I want to use a specific UnauthorizedView for the ShipItApplication?10:45
SteveAregister the UnauthorizedView for the ShipitLayer10:47
salgadoah, ok10:48
kikocprov, shouldn't https://launchpad.net/malone/bugs/2070 be private?10:50
cprovkiko: not really, since it doesn't expose the code IMO. do you think it should ? I've just changed it after a chat with dsilvers10:51
kikoI don't see any advantage to it being open, jus that10:52
kikoit wouldn't make sense beyond confuse any end-user10:52
kikobut it's a nit10:52
=== Kinnison gets a sneaking suspicion he might actually have almost finished work for the day soon
cprovkiko: 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:56
cprovquestion about the tester app10:58
cprovpython test.py -f --test='builder.txt'10:58
=== ondrej [n=ondrej@r4v190.chello.upc.cz] has joined #launchpad
cprovRan 2 tests in 2.806s10:58
cprov$find -name 'builder.txt'10:59
cprov./lib/canonical/launchpad/doc/builder.txt10:59
ondrejhi 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
cprovkiko: any clue ?  why 2 if I've specified only one, and there is, of course, only one file builder.txt10:59
salgadocprov, ./launchpad/doc/buildd-queuebuilder.txt11:01
salgadothis is the second one11:01
salgadothe test stuff uses re.search('testname') to find the tests it needs to run11:01
salgadopython test.py -f --test='^builder.txt' should run only the builder.txt, I guess11:02
cprovsalgado: erm, ok how the regexp to enforce I want just one11:02
cprovsalgado: yup, thank you11:02
cprovsalgado: works ;)11:03
salgado:)11:03
kikoheh11:05
cprovkiko: what was the decision about buildd bugs ?11:06
kikono official recommendation, just that one consideration11:06
=== Lathiat [i=lathiat@gasp.bur.st] has left #launchpad []
=== ondrej [n=ondrej@r4v190.chello.upc.cz] has left #launchpad ["ok,]
SteveAkiko: is there a reviewers' meeting tomorrow?11:09
kikoit's on wednesdays, SteveA 11:11
SteveAgoddamnit, my clock says "tuesday"!11:13
kikogo to bed11:13
salgadoSteveA, 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
SteveAwhen dylis says so...11:13
SteveAsalgado: that looks correct11:14
SteveAso, there is something else wrong11:14
SteveAi'll look at your branch tomorrow11:14
salgadook. I'll leave it as it is now11:16
SteveAit is strange.  we did this before, for the old ubuntu forgotten passwords pages11:16
dilysMerge 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
SteveAyay11:32
kikodoes anyone know if it is possible to create a new account on staging?11:32
kikoSteveA, perhaps?11:32
=== SteveA --> home
SteveAi know next to nothing about staging11:32
SteveAstub will be around in a while11:32
kiko:-(11:32
kikook11:32
carloskiko, you can create anything you want there11:32
carloskiko, but it will be lost after the sync with production happens11:33
kikocarlos, new users need email to be able to validate accounts. are you sure you can create new users there?11:34
carloskiko, hmm11:34
carlosgood point11:35
=== camilotelles [n=Camilo@20132139198.user.veloxzone.com.br] has joined #launchpad
=== robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!