/srv/irclogs.ubuntu.com/2010/08/23/#launchpad-dev.txt

weather15Problem with Apache00:04
weather15I modified the Apache config as specified on the wiki00:04
weather15I then entered this into my web browser http://10.0.0.5 and I get the Apache It Works page00:04
weather15What can I do?00:05
weather15Hello Everone00:16
weather15*Everyone00:16
thumperhi weather1500:16
weather15Does any one know what to do when you get the Apache it Works page when trying to access Launchpad for the first time?00:16
weather15OPen SOurce of course00:17
weather15Do I have to enable the Launch Pad SIte?00:18
weather15and Disbale the default site?00:18
lifelessj00:20
weather15I disbale the default site00:21
weather15*disabled00:21
weather15and then I get the SSL cert error00:21
weather15But Then after accepting it:: The page isn't redirecting properly00:21
weather15What can I do about ^00:22
weather15>> ^00:26
lifelessI odn't understand the question00:30
lifelessperhaps you should start with a more regular development environment ?00:30
wgrantFirstly, what are you trying to do?00:31
weather15I downloaded the Launch Pad Installer00:32
weather15Followed these instructions: https://dev.launchpad.net/Running00:32
wgrantFor what purpose?00:32
weather15Then These : https://dev.launchpad.net/Running/RemoteAccess00:32
weather15To Use Launch Pad Open Source00:33
weather15After starting using: make run00:33
weather15I tried to access LaunchPad via http://launchpad.dev00:34
ajmitchwouldn't the default virtual host config generally be matched first before the launchpad one?00:34
weather15Then Firefox throws this error: The page isn't redirecting properly00:35
weather15Any idea as to what to do?00:36
weather15I disabled the default Apache Site becuase I just got the It Works Page! when try to access Launch Pad00:37
ajmitchyou probably do need to access it by name00:38
wgrantRight. Launchpad uses virtual hosts extensively.00:38
wgrantSo you need to access it as 'launchpad.dev'00:38
weather15I'm using this: launchpad.dev00:39
weather15I did how ever need to set this in my Hosts file00:39
weather15as my DNS does not seem to resolve that name00:39
lifelessthats expected00:41
lifelessplease note00:41
lifelessthat what you have downloaded is not an installer for launchpad00:41
lifelessit is the launchpad source code - there are no installers00:41
weather15I understand that as I have followed the wiki instructions to get it to run00:42
lifelessok00:42
lifeless\o/ milestones branch passed ec2 land00:44
jcsackett_lifeless: thanks for the suggestion on the tests for my usage_enums branch; i was looking for a cleaner solution, and at midnight nothing was coming to me. :-P00:46
weather15I think I found the error00:49
weather15[Sun Aug 22 19:43:59 2010] [info] Initial (No.1) HTTPS request received for child 0 (server bazaar.launchpad.dev:443) [Sun Aug 22 19:43:59 2010] [debug] mod_deflate.c(615): [client 10.0.0.3] Zlib: Compressed 284 to 217 : URL / [Sun Aug 22 19:44:14 2010] [debug] ssl_engine_io.c(1892): OpenSSL: I/O error, 5 bytes expected to read on BIO#7fe8b8ba53c0 [mem: 7fe8b8be6c40] [Sun Aug 22 19:44:14 2010] [info] [client 10.0.0.3] (70007)Th00:49
weather15Just what can I do about it?00:50
lifelessjcsackett_: my pleasure00:50
=== jcsackett_ is now known as jcsackett
weather15?? ^00:54
lifelessweather15: I don't know00:59
michaelh1Hi there.  Is there a way of linking directly to the Launchpad-hosted Changelog for a release?01:59
michaelh1I'd like to link to the Changelog text on https://launchpad.net/gcc-linaro/4.4/4.4-2010.07-002:00
lifelesswgrant: around?02:07
lifelessmichaelh1: not AFAIK02:08
michaelh1OK.  I'll submit a feature request.02:08
lifelessa patch would be better :)02:08
lifelessactually, more seriously02:09
lifelesswhy?02:09
lifelessmichaelh1: ^02:10
michaelh1lifeless: oh, we want to do a summary page in the Linaro wiki that lists the projects involved in the current release, a link off to the download, and a link off to the change log02:10
wgrantlifeless: Sure.02:17
lifelessI'm looking at02:17
lifelesshttps://launchpad.net/ubuntu/+search?text=smplayer02:17
lifelesstimeouts02:17
wgrantEw DistroSeriesPackageCache02:17
wgrantAnd DistroSourcePackageCache.02:17
lifelessyes02:17
wgrantKill them with fire.02:17
lifeless8000ms queries02:18
wgrantOw.02:18
lifelesswhat should be used02:18
lifelessalso I recall you had a query to establish the archive ids02:18
lifelessto reproduce things on staging02:18
lifelessI wanted to snarf that from you (or hell, just the ubuntu archive ids would do)02:18
wgrantThe magic number is 534.02:18
wgrantThat's parter.02:18
wgrantprimary is 1.02:18
wgrants/parter/partner/02:19
wgrantlifeless: I looked last week, and one of those caches is pretty useless.02:35
wgrantI think DistroSeriesPackageCache.02:35
wgrantBut DistroSourcePackageCache might be slightly more performant than a straight query.02:35
lifelesswgrant: https://bugs.edge.launchpad.net/soyuz/+bug/61837202:39
_mup_Bug #618372: Distribution:+search slow 50% of requests <dba> <timeout> <Soyuz:Triaged> <https://launchpad.net/bugs/618372>02:39
lifelessits nice that the timeout predictor well, predicted02:40
wgrantHow bad is the plan?02:45
lifelessdunno yet02:45
lifelessbut clearly pretty bad02:46
wgrantHeh.02:46
lifelessso to get the plan02:49
lifelessI need values for distribution02:49
lifelessubuntu - 1 I'm guessing02:49
lifelessreleasestatus02:49
=== Ursinha is now known as Ursinha-afk
wgrantreleasestatus is an enum.02:50
wgrantubuntu might not be 1.02:50
wgrantI'm not sure.02:50
lifelessits 102:50
=== Ursinha-afk is now known as Ursinha
lifelessgrah02:58
lifelesswgrant: lib/lp/registry/browser/distribution.py - I want a second opinion on line02:58
lifeless47902:58
lifelessI think its nuts; I don't see why it would work even.02:58
wgrantRegardless, it's irrelevant now.02:59
wgrantStorm is fixed.02:59
wgrantDelete delete delete.02:59
wgrantIt may be that DRS has a workaround that's now gone since the original bug is fixed.03:00
wgrants/has/had/03:00
lifelessargh03:03
lifelesshas_exact_matches()03:03
lifelesssigh03:03
lifelessis there a tal construct for 'show this <> if <iterator> iterates 1 or more times ?03:04
wgrantNot directly, I don't think.03:06
wgrantAnyway, I'm gone.03:06
lifelesswe need one03:06
lifelessciao03:06
lifelessthanks03:06
thumper✁☹03:37
thumperdamn simplistic freaking tests03:37
* thumper taps fingers....03:38
* thumper hackerates03:42
* thumper fixes \\o/03:44
lifelessffs openid-apache-module-hate-hate-hate03:45
lifelesspoolie: so03:48
lifelesspoolie: I'd like you to send a hand-off mail to lp-dev, if you would, on flags03:49
lifelesspoolie: just a 'I'm not moving this forward for <period>, folk that want to can look at <url>, and I'd do <X> next' or something03:49
lifelesspoolie: if you have an in-progress branch, snapshotting that and including its details would be awesome03:49
poolieyeah, good idea03:50
pooliei was still thinking of doing another increment on it today, but i will at least send that03:50
pooliei am a bit disappointed nobody else replied03:50
pooliei guess it needs some examples of actually being useful though03:50
lifelessthe lp dev list has an odd dynamic.03:50
lifelessNot to worry; we will fix.03:51
thumperlifeless: you'll fix the dynamic?03:57
* thumper runs when he looks at the time03:58
lifelessthumper: https://code.edge.launchpad.net/~lifeless/launchpad/milestones/+merge/3285504:32
lifelessthumper: what does 'no longer in the source branch' mean? perhaps it should link to help.lp.net?04:33
thumperwhat it means is that the approved revision isn't in that branch04:34
thumperdue to something like a push overwrite04:34
lifelessok04:34
thumperlifeless: is it right?04:35
lifelessyes04:37
thumperis it because you reused the branch?04:42
lifelessI had a bunch of cruft, which I collapsed into one commit04:42
lifelessso reused - yes, but for that same mp.04:42
lifelesshistory-edit04:42
* thumper feels like a primal scream 04:45
thumperclucking canonical_url fallout04:45
thumperand broken code04:45
wgrantlifeless: Any luck?04:46
lifelessthumper: :(04:55
lifelessthumper: I thought c_u fix landed?04:55
lifelesswgrant: plan is in the bug04:55
thumperlifeless: it has04:55
lifelessthumper: untested code paths died as a result ?04:56
thumperlifeless: in my next branch, I've found lib/lp/testing/menu.py04:56
thumperwhich is wrong04:56
thumperso my fix for it breaks stuff04:56
thumpergrr...04:56
lifeless:(04:56
thumperdidn't find it in the old branch as nothing that triggered the bug was being tested04:56
lifelessspm: hi04:58
lifelessspm: I'd like a kcachegrind please ;)04:58
spmlifeless: err...04:58
lifelessspm: ...rre?04:58
spmof what where and probably more significantly, how :-)04:59
lifelessspm: we did this before your sprint04:59
thumper✁☹04:59
spmum, no we didn't. :-)04:59
lifelessspm: you change the setting on staging, I hit up the url, you change it back04:59
lifelessspm: yes, we did.04:59
spmoh THAT. right. debug.04:59
lifelessactually05:00
lifelessnvm, I suspect that the underrepresentation of sql may be a factor05:00
lifelessso I'm going to fix the darn sql05:01
lifelessif its still naffed after that, we'll get a cleaner kcachegrind file05:01
spmnod05:01
lifelesssorry for the interrupt05:01
lifelesswgrant: so - has the distribution search changed recently?05:01
wgrantlifeless: Not since 3.0, AFAIK.05:02
lifelesswgrant: if not, then its likely a transient DB issue, as its bad on edge and prod05:02
lifelessand wasn't showing up as such before05:02
lifelessso I've subscribed stub via the dba tag05:02
lifelesshowever05:02
lifelessthe plan shows loop on loop on loop05:02
lifelessfor thousands of items05:02
wgrantYes, the plan makes me cry.05:02
lifelessthats going to add up any which way05:02
lifelessstub: I've tagged another bug dba05:13
lifelessslow query, no code changes recently, wondering if you could see if its an operational issue / bad query design etc05:13
lifelessstub: also, the PPR seems to have broken over the weekendish05:13
stubjtv: Should suggestivepotemplate.potemplate be a foreign key reference to POTemplate (ON DELETE CASCADE I suspect as this is a cache)05:24
stubjtv: Should suggestivepotemplate.potemplate be a foreign key reference to POTemplate (ON DELETE CASCADE I suspect as this is a cache)05:26
mwhudsonthai internet doing well today, it seems05:53
stubbouncy bouncy05:54
StevenKmwhudson: Do you remember the discussion we had at least 3 weeks ago about my branch that added the beginnings of job support for InitialiseDistroSeries?06:07
mwhudsonStevenK: vaguely06:07
StevenKmwhudson: I removed job_type like you suggested, but now the test for InitialiseDistroSeriesJobDervied fails, since .create() doesn't raise an AttributeError06:08
mwhudsonStevenK: err06:10
* StevenK suspects he has lost mwhudson06:14
noodles775Morning!07:36
lifelesshi noodles77507:59
lifelessnoodles775: I has a question for you07:59
lifelessnoodles775: lib/lp/registry/browser/distribution.py08:00
lifelessline 47908:00
lifelessis that still relevant ?08:00
* noodles775 looks08:07
* noodles775 pulls a recent version of devel08:09
noodles775lifeless: So the associated bug has been released, and we're using a version of storm that includes it. So I would say no. Remove it, and see (or I can do it if you're done for the day).08:13
adeuringgood morning08:57
=== almaisan-away is now known as al-maisan
=== Guest73756 is now known as jelmer
=== jelmer is now known as Guest76162
lifelessnoodles775: I'm well done ;)09:33
lifelessnoodles775: I'd love it if you could; I found that code while starting to look at a perf issue09:33
noodles775lifeless: np, I'll do it now.09:33
lifelessthanks!09:33
wgrantIt'd be nice if we had a tool which would report XXXs referring to closed bugs.09:34
lifelessthat would be nice09:35
lifelessit would make an awesome bzr precommit check too09:35
bigjoolsor even better, a ....09:35
bigjoolsthat09:35
lifelessnight all; its only 8:30 but 5am starts really takes it out of you09:36
wgrantNight lifeless.09:36
lifelessand I want to be alert for perf tuesday! :)09:37
noodles775Night lifeless.09:37
=== Guest76162 is now known as jelmer
=== henninge_ is now known as henninge
deryckMorning, all.12:03
jmlgood morning deryck12:10
=== jkakar_ is now known as jkakar
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== matsubara is now known as matsubara-lunch
=== Ursinha is now known as Ursinha-lunch
=== beuno is now known as beuno-lunch
deryckis there a rockstar in the building?17:46
* rockstar is a rockstar17:47
rockstarderyck, how can I help you?17:47
=== matsubara-lunch is now known as matsubara
=== Ursinha-lunch is now known as Ursinha
bigjoolsjames_w: hi18:07
=== benji is now known as benji-lunch
=== beuno-lunch is now known as beuno
jmlbigjools, I've replied to your review. Megapologies about the delay.18:32
=== al-maisan is now known as almaisan-away
derycksinzui, ping18:48
sinzuihi deryck18:49
=== benji-lunch is now known as benji
maxberm, this is a bit special. python-testtools is "Published" in jaunty in ~bzr/proposed, but doesn't occur in the Packages file19:10
=== deryck is now known as deryck[lunch]
jmlg'night all.20:03
lifelessmoin20:22
=== almaisan-away is now known as al-maisan
=== lifeless changed the topic of #launchpad-dev to: hpad Development Channel | Week 1 of 10.09 | Performance Tuesday! | PQM is OPEN | firefighting: - | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews
=== deryck[lunch] is now known as deryck
deryckoops, forgot I marked myself away for lunch20:34
deryckbryceh, your branch looks good to me.  r=me.20:34
deryckhi lifeless20:35
brycehderyck, great thanks20:36
deryckbrianchidester, oh, wait.  Did you test the new status conversions?20:36
deryckgah, tab expansion death20:37
deryckbryceh, oh, wait.  Did you test the new status conversions?20:37
deryckif externalbugtracker-bugzilla.txt is not exhaustive, then no worries.  If it was, then we should keep it so.20:38
brycehderyck, it isn't exhaustive20:40
brycehderyck, it just spot checks.  I could add a few if you think it'd help20:41
deryckbryceh, nah, what you've added is fine then.20:41
brycehokie20:41
lifelessderyck: hi20:44
lifelessderyck: my bugtaskset change is in :)20:44
deryckexcellent :-)20:44
=== matsubara is now known as matsubara-afk
lifelessso20:51
lifelesslets see whats timing out today20:51
lifelessI suspect bug attachment api calls20:51
lifelessderyck: has anyone claimed that yet20:51
lifeless?20:51
derycklifeless, no, no one is on that yet.20:51
lifelessderyck: also while you are here20:52
lifelesshave you seen https://bugs.edge.launchpad.net/malone/+bug/60793520:52
_mup_Bug #607935: timeout on bugtask:+index <timeout> <Launchpad Bugs:Triaged> <https://launchpad.net/bugs/607935>20:52
lifeless367 sql calls :)20:52
derycklifeless, I have seen that in that I saw the few bugs you filed around the same day.  And I just haven't got to prioritizing that yet.20:53
lifelessderyck: it seems to be one-by-one retrieving people20:53
lifelessI'm guessing its subscriptions or something20:53
derycklifeless, ok, that's one of my spots I wanted to look at anyway next.20:54
deryckI'll be doing OOPS and timeout poking the rest of this cycle while the others finish up the subscriptions noise story.20:55
lifeless\o/20:55
lifelessI'd love to help you20:55
lifelessbut we're in rather different tz's20:56
lifeless:)20:56
lifelessalthough, what time is it for you, now ?20:56
deryckwell, work hours anyway. :-)20:56
sinzuideryck, I see from the config that there is mention of a bug-heat user/script. I think it is gone. Is this right20:56
deryckit's only 3 PM for me.  But that's EOD.  I timeshift to match Europe better.20:56
lifelessderyck: ah!20:56
derycksinzui, yes, should be.20:56
sinzuideryck, thanks20:56
derycknp20:57
lifelesswell, I'll try to be up @ 6 tomorrow and we should get 2 hours of overlap20:57
deryckSure, that would be fun.20:57
deryckBut I hate to ask you to get up early :-)20:57
lifelessderyck: getting someone else to do perf stuff on tuesday is a pleasure, not a penalty!20:58
deryckheh, cool then20:58
deryckok, so until tomorrow then....21:00
lifelessgary_poster: I saw your update of Foundations/Webservice21:12
lifelessgary_poster: perhaps we should file a bug asking for a "%s.%s" % (__module__, self.__class__) to be gathered too ?21:13
gary_posterlifeless: I thought about that when we were first implementing.  At the time I thought it would be unnecessary: it would make for a more unwieldy pageid, and we can always grep.  I'm less sure now, but TBH I think the story of going from the named operation to the method is more annoying, at least potentially.21:24
lifelessgary_poster: I'd like all the steps to be easy :)22:03
* lifeless is lazy22:03
=== al-maisan is now known as almaisan-away
=== Guest39999 is now known as jelmer
mwhudsonmorning22:24
jelmerhello22:28
=== salgado is now known as salgado-afk
lifelesshttps://lp-oops.canonical.com/oops.py/?oopsid=1695L1219 should so not be a soft timeout23:16
lifeless45 seconds!23:16
lifelessthumper: when you're around, a brief call would be nice23:33
thumperack23:33
lifelessis that 200 OK, or 101 please wait23:33
thumper10123:34
lifelesskk23:34
lifelessIf I said object X is "a request timeline", what would you think it does ?23:36
lifelessgary_poster: ping23:47
lifelessgary_poster: does zope have something already existing for tastefully annotating request objects.23:47
lifelesse.g. I have an object (say the db statement list we generate) that I want to associate with a request, such that I can, whenever I have the request, get this other object.23:48
lifelessIts a little distateful to write to that object directly23:48
lifelessand a weakrefkeydict is a little ergh to work with, though doable.23:49

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