/srv/irclogs.ubuntu.com/2009/10/16/#launchpad-dev.txt

EdwinGrubbswgrant: ping00:25
=== salgado-afk is now known as salgado
wgrantEdwinGrubbs: Hi.00:29
=== salgado is now known as salgado-afk
EdwinGrubbswgrant: hi, I was wondering if you had any opinion about hiding the links at the top of the +related-software page if they are empty. There would always be a link on the person/team page pointing to +related-software, but the +uploaded-packages, +maintained-packages, +ppa-packages, and +related-projects links would be hidden if they were empty.00:55
* mwhudson tries to pound the puller into breaking locally01:21
spmmwhudson: :-)01:36
mwhudsoncompletely unsuccessfully so far :(01:41
wgrantEdwinGrubbs: That's how I imagined it was intended to be.01:42
spmmwhudson: "if it was easy, we wouldn't have given it to you" <== story of my life and one you could take to heart as well ;-)01:42
wgrantWhat is the normal slave replication lag, and what is the maximum before requests all go to the masteR?01:43
kfogeldobey: pong01:53
spmwgrant: bugger and all; don't recall offhand - but not that long. a few mins max.01:56
wgrantspm: A few minutes is enormous...01:56
spmtradeoffs. most folk aren't modifying.01:56
wgrantAPI requests will now use a slave where possible. This is going to cause a lot of clients to get very angry.01:57
gary_posterwgrant: I don't think that is the case.  What makes you think that?01:57
wgrantgary_poster: See devel r970301:57
gary_posterI think I know what that is, but double-checking.01:58
wgrantOh. session cookie only.01:58
wgrantI guess that's less unreasonable.01:58
gary_posterright.  this is for JS browser users.02:00
mwhudsonwgrant: spm is wrong btw, lag is usually 5-10 seconds02:03
gary_postermwhudson: hi.  I have a bzr plugin problem with eggs in the branch where I'm trying to apply voodoo to make the build happy on karmic.  I've "fixed" the horrible namespace package problem.02:03
gary_posterNow I only have two failures, both for the same reason. test_successful_start_then_stop and test_unexpected_error_logs_oops fail because they start up bzr, which tries to load plugins from all possible places including the system's site-packages, even though I'm not using the system 's bzr.02:03
gary_posterIf you have plugins installed then bzr complains, because they cannot be imported.  This causes test failures in assertFinishedCleanly: return code is 0, yes; stdout is empty, yes; but stderr is not empty: in my case, it is the following string:02:04
gary_poster"No module named dbus.bus\nUnable to load plugin 'dbus' from '/usr/lib/python2.4/site-packages/bzrlib/plugins'\nNo module named dbus.bus\nUnable to load plugin 'avahi' from '/usr/lib/python2.4/site-packages/bzrlib/plugins'\n"02:04
gary_posterI have stepped through the bzr code and I do not see a way to tell the bzr commandline to please only use the plugin path I'm providing, and don't look anywhere else, especially not in the system site-packages.02:04
gary_posterTherefore, what I'm planning on doing is changing assertFinishCleanly to check that the return code is 0; check that the stdout is empty; and check that stderr is entirely comprised of 0 or more of those plugin error messages, using a regex.02:04
gary_posterCan you get behind that?  The only other option I can see is making another LP-specific bzr egg change, which I am loathe to do.02:04
gary_poster(done)02:04
spmmwhudson: heh. that's a variation of definition. 5-10 secs to me is bugger and all. :-)02:04
mwhudsongary_poster: where are these tests?02:04
wgrantmwhudson: It's sometimes a lot more, though.02:05
mwhudsonspm: you said "a few minutes max" -- it doesn't get as high as a minute very often though does it?02:05
gary_postermwhudson: lp.codehosting.tests.test_lpserve.TestLaunchpadServe02:05
mwhudsonwgrant: generally when something breaks, i think02:05
mwhudsongary_poster: looking02:05
gary_posterthank you02:05
spmmwhudson: very rarely - is something critical that we alert on.02:05
mwhudsongary_poster: ararargh!02:07
gary_postermwhudson: well, yes02:07
mwhudsongary_poster: i guess your solution is ok02:09
mwhudsongary_poster: so long as there's a big fat XXX pointing at a bzr bug i'll find in a sec02:09
gary_postermwhudson: heh, that sort of XXX would make me feel better, yes.02:09
mwhudsonwth it's Fix Released02:11
mwhudsonoh, but very recently02:12
mwhudsongary_poster: i think your patch is ok then, we should remove the hack when we upgrade bzr02:12
mwhudsongary_poster: https://bugs.edge.launchpad.net/bzr/+bug/316192 fwiw02:12
mupBug #316192: bzrlib.plugin.load_plugins() loads system plugins even for non-system bzrlib <Bazaar:Fix Released by vila> <Launchpad Bazaar Integration:Fix Released by thumper> <https://launchpad.net/bugs/316192>02:12
gary_postermwhudson: awesome that is fixed.  OK, thank you very much.02:16
mwhudsongary_poster: np02:17
mwhudsonspm:  has u1 stopped exploding yet>02:57
mwhudson?02:57
wgrantIt's working enough for me to have discovered 5 XSS vulnerabilities in the past hour.02:57
wgrant(I am not amused)02:58
mwhudson:(03:01
spmmwhudson: sorta. in that the immediate stuff is now under control; now I move to the ZMOG 9999 priority stuff. I can do small simple things; else... busy :-/03:08
mwhudsonspm: ok03:16
mwhudsonspm: btw the thing i want to talk to you about is one of those things where priority -> \infty as we get closer to karmic being released :-)03:18
spmmwhudson: heh. figures.03:19
* mwhudson updates his puller bashing to be less wasteful04:11
spmnoodles775: 1. Heyo! 2. Bug 452730 for your attn :-)07:30
mupBug #452730: lp_publish/ppa-generate-keys is broken atm <Soyuz:New> <https://launchpad.net/bugs/452730>07:30
noodles775looking...07:30
noodles775spm: do you know what the latency between the main and slave db servers is?08:12
noodles775(just chasing one possibility for the above bug)08:13
wgrantnoodles775: Oh, I know exactly what that bug is.08:13
wgrantdevel r968708:13
noodles775wgrant: it's related to r9687.08:13
noodles775yep...08:14
wgrantThere are now PPAs in production for users without a PPA named 'ppa'.08:14
noodles775wgrant: sure, but the new method that's been added doesn't assume the name is ppa - it just grabs the first one.08:14
wgrantnoodles775: But that code is only on edge.08:14
wgrantnoodles775: Not on whatever machine runs ppa-generate-keys08:14
noodles775wgrant: right.08:14
wgrantSo Person.default_ppa still looks up a PPA named 'ppa', always.08:15
noodles775yep - I'll chat to bigjools about getting r9687 cp'd.08:15
noodles775Thanks wgrant08:15
wgrantThat's what I suspected. Thanks.08:15
wgrantspm: U1 rollout not done yet, I hope?08:28
spmwgrant: partially.08:29
adeuringgood morning08:29
wgrantspm: Great. I presumed it would be done after 3ish hours, but hoped it wasn't, given that it still seems broken.08:30
spmthe app servers are done; but i'm having a mild pebkac issue with one of the back end services - unsure how related that is to the problems08:31
wgrantUhoh.08:31
spmbelieved I didn't have the keys to push the new hotness up. turns out I did - in a different directory. le-sigh.08:32
awilkinsjelmer: Why isn't Launchpad using subvertpy instead of python2.4-subversion  .... I'd guess it's an immense fiddle to have both subversion 1.6.5 and launchpad-dependencies because of the python bindings?08:37
wgrantawilkins: Launchpad doesn't use bzr-svn. It uses a cscvs, horrible horrid horror which uses some strange svn bindings and predates subvertpy by several years.08:40
awilkinswgrant: I'm presuming that means that LP-monitored SVN branches are essentially trapped and the only way to get patches back to the original project is to ... send patches?08:42
wgrantawilkins: Yes. There is an intention to move to bzr-svn soon.08:43
awilkinswgrant: Is there a roadmap the public can see? How about git integration? When will this pestering get too annoying? ;p08:43
wgrantawilkins: I am the public. I do not know of such a roadmap.08:44
wgrant'git integration'?08:44
awilkinsLP using git in the same capacity it uses bzr, where possible08:45
wgrantThat is not on the roadmap even if it does exist.08:45
wgrantwin 2308:57
gmbMorning padlaunchers.09:04
mrevellMorning!09:14
* wgrant wonders whether to consider it safe to dive back into Canonical-produced code...09:15
wgrantmaybe as long as it isn't webapp code.09:15
awilkinsThat on IP grounds, or just because it's scary? :-)09:16
wgrantScary in bad ways.09:18
jmlwgrant, that's simply not fair.10:04
wgrantjml: Hm?10:05
wgrantWhat have I done now?10:09
jmlwgrant, Canonical-produced code isn't that scary10:09
jmland it's not a fair category.10:09
wgrantjml: It is scary in that I don't know how many more fucking obvious huge vulnerabilities I will discvoer.10:10
jmlwgrant, oh ok.10:15
jmlwgrant, yeah, that sucks. :)10:15
wgrantAlthough LP has less of them than U1, or they are less obvious. This is good.10:16
jmlallenap, hi10:45
jmlallenap, do you have any idea how to stop PQM from sending success messages to the Launchpad list every time we do an automatic merge from stable?10:46
jml(you don't have to, but I thought I'd ask someone)10:46
jmlallenap, I've read your test parallelization email & lifeless's reply.11:19
jmlallenap, I don't have much to add to what Rob said, except to say that I'm happy for you to call to talk about stuff if you think that'll help.11:19
=== elmo_ is now known as elmo
gmbjml: Do you have any idea why I'd see http://pastebin.ubuntu.com/294573/ when running ec2 demo?11:39
gmbWhat do I need to do to ec2 to know who I am in LP?11:39
jmlgmb, the unhelpful answer to your first question is that our ec2 tools lack tests.11:40
gmbHah.11:41
jmlgmb, give me a minute to finish what I'm doing now and I'll have a look & see what's going on.11:41
gmbjml: Ta muchley.11:41
mrevellCan anyone remind me where to find the API uses wiki page?11:49
mrevellOf course, it's https://help.launchpad.net/API/Uses11:50
noodles775lol11:50
jmlgmb, ok. I'm all yours.11:55
jmlgmb, can you paste me the full log of what you're doing, from command through to error?11:56
jmlgmb, also, what do you get when you type 'bzr launchpad-login'12:01
gmbjml: So, full log: https://pastebin.canonical.com/23397/12:01
gmbjml: `bzr launchpad-login` gives me `gmb`12:01
jmlgmb, thanks.12:02
jmlgmb, I'm going to try reproducing the problem locally.12:02
gmbok12:03
jml"I told him to go away and reproduce his problem, but not in those words exactly"12:05
jml(why I'm not Woody Allen)12:05
jmlgmb, try applying this patch http://pastebin.ubuntu.com/294591/. You'll need to do it in a branch that's not the branch that you want to demo (I recommend stable)12:06
gmbjml: Okay, bear with me a sec...12:07
gmbjml: Works. Thanks!12:13
gmbjml: r=me on the patch if it needs landing ;)12:13
jmlgmb, https://code.edge.launchpad.net/~jml/launchpad/fix-ec2-demo/+merge/1346112:13
gmbjml: Approved.12:14
jmlgmb, thanks.12:14
jmlgosh ec2 land is handy.12:16
=== mrevell is now known as mrevell-lunch
bigjools:)12:17
bigjoolsis there a mode on it to send straight to PQM?12:17
jmlbigjools, no, I thought of doing that.12:17
bigjools'twould be useful for us heathens12:17
jmlbigjools, but then mwh said "what's the point?" and "your branch is too big already"12:17
bigjoolsI can think of many points12:18
jmlbigjools, I'll happily review a patch for adding a --no-test option or similar.12:18
jmlalternatively12:18
bigjoolsok when I have some time I'll ask you for a pre-imp on that12:18
jmlI'll trade you that for a vfs backend on soyuz so people can rename their accounts if they have PPAs.12:18
bigjoolsheh12:19
bigjoolsI suspect that would push the renaming problem elsewhere, but I am not unsympathetic to it12:19
bacbigjools, jml: i though of adding a --no-test option, but it seemed a little perverse since the point of the script is to send things off to ec213:02
bacbigjools: you can do 'ec2 land --print-commit' and combine the results with 'bzr pqm-submit'13:02
bigjoolsI think its use lies more in the automation of the perverse options we have to put in the commit string13:02
bacbigjools: i understand.  i've had the need myself but it still felt odd.13:03
bacbigjools: so an alias of:  bzr pqm-submit -m "`ec2 land --print-commit`" or some variation may work13:04
bigjoolsbac: that's so sick I love it :)13:05
bac:)13:05
bacbigjools: and it doesn't have to go through code review!13:05
=== mrevell-lunch is now known as mrevell
allenapjml: I don't know how to prevent PQM from sending success messages, but I'll have a look.13:15
allenapjml: Thank you for reading through my message. I think Rob's reply is very useful to help me approach the problem, but I'll ask you about implementation as I go along.13:15
jmlallenap, cool. don't worry too much about the PQM thing, I've now just set up a rule so I don't get those emails any more :)13:17
allenapjml: Jolly good :)13:17
=== matsubara-afk is now known as matsubara
bacsinzui: https://edge.launchpad.net/gnome13:42
sinzuibac: are you hinting that I fix the licenses for all those projects?13:44
sinzuibac: This page looks better13:45
sinzuibac: Do you know why the projects state they are proprietary when they are have a subscription: https://edge.launchpad.net/launchpad-project13:49
sinzuibigjools: What is the license for https://edge.launchpad.net/launchpad-buildd13:51
bacsinzui: nothing so deep.  i was showing you that our tiny little fix allows the gnome page to load without OOPSing14:29
* sinzui nods14:29
bigjoolssinzui: good question14:30
sinzuihttps://edge.launchpad.net/launchpad-registry/+milestone/3.1.1014:44
=== stub1 is now known as stub
Ursinhaerr, better here15:43
Ursinhasalgado: ping :)15:43
Ursinhasalgado: hey, I'm checking the oopses here and I see occurrences of UnicodeDecodeError in +filebug15:44
Ursinhasalgado: OOPS-1384C200115:44
Ursinhaerr15:44
Ursinhasalgado: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1384C200115:45
Ursinhasalgado: is this related to bug 6117115:45
Ursinha?15:45
mupBug #61171: +login page OOPSes if query string has accented chars encoded as ASCII <oops> <Apport:Invalid> <Launchpad Foundations:Fix Released by salgado> <https://launchpad.net/bugs/61171>15:45
salgadoUrsinha, no, this is something else15:47
dobeyhey guys15:56
dobeyis it possible to change the comment string on a GPG key that was generated for a user/team for PPAs?15:56
Ursinhasalgado: I've filed another bug, bug 45320316:15
mupBug #453203: UnicodeDecodeError in +filebug: unexpected code byte <oops> <Launchpad Bugs:New> <https://launchpad.net/bugs/453203>16:15
Ursinhamaybe a bugs' person could take a look on it16:15
Ursinhahi allenap16:19
allenapUrsinha: Hi!16:19
Ursinha:)16:19
Ursinhaallenap: do you have some time to take a look at bug 453203, please?16:19
mupBug #453203: UnicodeDecodeError in +filebug: unexpected code byte <oops> <Launchpad Bugs:New> <https://launchpad.net/bugs/453203>16:19
allenapUrsinha: Looking now. That's an odd one.16:22
Ursinhathanks allenap16:26
=== Ursinha is now known as Ursinha-lunch
=== beuno is now known as beuno-lunch
=== matsubara is now known as matsubara-lunch
=== Ursinha-lunch is now known as Ursinha
jcinpvRunning Ubuntu 9.04 in Virtualbox on an Intel Mac; After a recent update, the Window Manager does not launch on start up or restart, but does launch after logging out and back in. Going to System->Preferences->Windows, get error message: 'Cannot start the preferences application for your window manager; Window manager "unknown" has not registered a configuration tool.'  I have deleted .gnome2, .gnome2_private, .gconf, and .gconfd to17:50
jcinpvno avail and I have reproduced the problem in a new user account. Where to look?17:50
=== salgado is now known as salgado-lunch
Ursinhajcinpv: I think you may find more useful advices on #ubuntu17:56
mrevellHave a good weekend all.18:01
* rockstar lunches18:02
=== matsubara-lunch is now known as matsubara
=== salgado-lunch is now known as salgado
jcinpvUrsinha: Been there. No help.18:52
jcinpvThey suggested I submit a bug.18:52
jcinpvWhere do I submit a bug?18:53
=== beuno-lunch is now known as beuno
Ursinhajcinpv: https://launchpad.net/ubuntu/+filebug19:04
jcinpvUrsinha: Thanks. Bug submitted.19:57
Ursinhanp jcinpv, sorry not being that helpful19:58
jcinpvUrsinha: You were very helpful in pointing me to the right place to file a bug. My first time.20:05
Ursinhajcinpv: in this case, glad that helped :)20:07
=== flacoste_afk is now known as flacoste
=== salgado is now known as salgado-phone
=== salgado-phone is now known as salgado
rockstarabentley, chat?21:37
abentleyrockstar: 1 sec21:37
rockstarabentley, just call when ready.21:38
barryare there any bugs folks still around?  allenap, gmb, intellectronica, deryck21:48
rockstarabentley, that lag is terrible.21:49
abentleyrockstar: and unpredictable...21:49
=== salgado is now known as salgado-afk
gary_posternight all22:18
=== matsubara is now known as matsubara-afk

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