/srv/irclogs.ubuntu.com/2010/05/07/#launchpad-dev.txt

lifelessmwhudson: if I ask nicely, could you land a branch for me ?01:53
lifelesshttps://code.edge.launchpad.net/~lifeless/launchpad/merge01:54
lifelessthumper: got a minute to talk package reviews? I want to flow a few high level things past you01:54
thumperlifeless: not right this instance, I've asked aaron to talk to james at uds01:55
thumperlifeless: perhaps in an hour or so01:55
mwhudsonlifeless: ok01:55
lifelessthumper: the bzr team is working on this problem/area too - we should talk together01:56
lifelessjames_w: ^01:56
lifelessmwthanks!01:56
lifelessmwhudson: thanks!01:56
lifelessthumper: ok, will poll you ~2:3001:56
mwhudsonlifeless: want to set a commit message?01:56
lifelessdoing so01:56
lifelessdone01:58
mwhudsonlifeless: kicked off02:01
lifelessthanks!02:01
thumperbeuno: I bet your not really around are you?02:05
thumperI wish leonardr was around02:05
beunothumper, I am. My brain, OTOH....02:16
nigelbabubryceh: you're right, it doesn't turn up on UI02:50
nigelbabuI assumed it came up because the srting was right for the UI02:50
thumperhmm...03:02
thumperis mailing list stuff foundations?03:02
thumperI guess it is03:02
wgrantIt's Registry.03:02
thumperwgrant: is it?03:04
thumperhmm... ok03:04
wgrantthumper: Yes. Think where barry was, and think where teams are.03:04
wgrant(and also look where all the bugs are)03:04
* thumper moves the question again...03:04
lifelessthumper: poll()03:54
thumperlifeless: here, but collecting girls from school in about 3 minutes03:54
lifelessheh03:54
lifelessafter that ?03:54
thumpersure03:55
=== Ursinha_ is now known as Ursinha
thumperlifeless: here now04:33
thumperlifeless: if you don't mind listening to me munching04:33
lifelesssure04:33
=== Guest31208 is now known as AdamDV
jonathan__Hi all04:54
jonathan__I'm installing launchpad on Ubuntu 10.04 and I'm facing a problem during the "make schema"04:55
wgrantjonathan__: What's the issue?04:56
mwhudsonjonathan__: pastebin the log you gt?04:56
jonathan__yes I am doing this04:57
jonathan__you can have the result of the "make schema" command here :http://paste.ubuntu.com/429292/04:59
wgrantjonathan__: sudo apt-get upgrade05:01
wgrantThen make schema again.05:01
jonathan__ok let me try05:01
wgrantYou need a new version of python-tickcount from the PPA that rocketfuel-setup activated.05:01
lifelessthumper: https://bugs.edge.launchpad.net/bzr/+bug/57677805:03
mupBug #576778: easy multi-user server setup <Bazaar:Confirmed> <https://launchpad.net/bugs/576778>05:03
wgrant+lots05:04
jonathan__wgrant: ok thanks it seems to work05:20
wgrantjonathan__: Great,05:22
wgrantspm: Is the current mailman problem known? It seems to not be (de)activitating lists or subscriptions.06:17
thumperwgrant: yes, and bug is filed06:20
wgrantAh, good.06:20
StevenKwgrant: So, it looks like the Sources.gz on iron is out of date06:33
StevenKwgrant: The pool has 1.0.4-3 in it, but the Sources.gz for sid only mentions 1.0.4-106:34
StevenK(And hence, gina only tries to import 1.0.4-1)06:34
spmand we're hoping to get some info out of debmirror in ~ 1.5 hours as to whats up with that06:36
wgrantStevenK: Heh, that's why I wanted the extra debugging info.07:12
StevenKwgrant: Yeah, I got it before lunch07:12
wgrantspm: ... 1.5 hours?07:13
StevenKNow less than 107:13
wgrantWhat's taking so long?07:13
StevenKWe're waiting for an automatic run07:14
spmscheduled outa cron. this is not so urgent a task it needs a manual force re-run on what may be a rather... aggressive task. unfreidnly to the remote system.07:14
wgrantAh, right.07:14
wgrantIf it's debmirror, it's just downloading a few megabytes each run, but OK.07:15
spmoh? is that all? is that a fairly fast process?07:15
wgrantYes. It's not like rsync.07:15
lifelessspm: debmirror reads the package metadata07:15
spmbugger it. runing now.07:15
wgrantIt just grabs the indices, works out what it doesn't have, and grabs it.07:15
lifelessspm: contrast with rsync :P07:15
StevenKHaha07:16
spmdamn. very fast.07:16
spmwooo. we have logs.07:16
spmHmmm. I can't see what's wrong tho. does this mean anything to you guys?07:17
spm[0%] Getting: dists/lenny/Release... dists/lenny/Release failed 500 Can't connect to ftp.uk.debian.org:80 (connect: Connection refused)07:17
wgrantWho broke the firewall *again*?07:17
wgrantIt's broken a few times in the last couple of years.07:17
spmahh. point. that may be pebkac....07:17
spmtrying agin with proxy settings...07:18
StevenKHehe07:18
spmnope. same.07:18
wgrantUsing the special debmirror proxy options?07:18
wgrantIt has its own, which suggests that it might not respect $http_proxy.07:19
* StevenK checks that07:19
spmbleh, lets give that a whirl07:19
StevenKdebmirror, how I hate thee07:20
spmalthough; wget seems to be having issues as well; so the problem is looking firewallish...07:20
StevenKAnd debmirror does respect http_proxy07:22
wgrantStevenK: Did you try it, or venture deep into the lovely, lovely Perl?07:22
StevenKThe latter07:22
spmI call access shenanigans. will create an RT to look into; no GSA's around atm.07:22
StevenKAnd debmirror's Perl makes me vomit07:23
wgrantStevenK: As I said: lovely, lovely Perl.07:23
spmoh ffs.07:23
StevenK(Coming from someone who used to code Perl for a job)07:23
StevenKspm?07:23
wgrantHeh, yes.07:23
spmI exported the proxy settings, and it's working.07:24
StevenKExcuse me while I cackle07:24
wgrantHahah.07:24
wgrantNow, it'll probably get a hash or key mismatch or something.07:24
spmI was quite sure you don't need to do that - but the way this script is being called... i suspect breaks that nicely...07:24
wgrantAlthough the latter is less likely if the stuff's already in the pool.07:25
spmhttp://paste.ubuntu.com/429339/07:25
wgrantEr.07:26
wgrantEr what.07:26
wgrantWhat.07:26
wgrantWhat.07:26
wgrantlet's see what we have here.07:26
wgrantHuh.07:29
wgrantSources is broken.07:29
wgrantdebmirror is perfectly correct.07:29
wgrantsid's main Sources.gz refers to this file:07:29
wgrant ebe76d2199e758df9aa7e3eaaf499190 9250730 kde-l107:29
StevenKIn which stanza?07:30
wgrantkde-l10n 4:4.4.3-107:30
wgrantIn fact, the whole Files section is massively truncated compared to the Checksums-*.07:30
wgrantI call broken a-f cache.07:31
StevenKYay, we proved Debian is broken07:31
spmI'm not sure that's something to celebrate over :)07:32
StevenKAre you sure? It's a problem with debmirror, and not gina07:32
wgrantNot with debmirror.07:32
wgrantSomewhere in dak! Even better.07:33
StevenKHeh07:33
StevenKSomewhere where *I* don't have to fix it07:33
wgrantI see no ftp.d.o bugs, so I wonder if they know about it.07:33
spmon the grounds I like my job; I refuse to believe dak could ever have problems07:33
StevenKHaha07:34
wgrantHeh.07:34
StevenKspm: So, dak is just like TeX? It doesn't have bugs, it has "porting issues" ?07:34
spmit has no issues. no further discussions will be entered into07:35
spmright. added those proxy settings to the wrapper script and exported same. if THAT doesn't keep it working; I'll break down and cry, or maybe sniffle.07:35
wgrantFSVO "working".07:36
StevenKspm: And kept the logging?07:36
spmyarp07:36
StevenKOkay, sweet07:36
wgrantSo... someone should go and attack an ftpmaster, I guess.07:37
spmStevenK: that we weren't seeing ANY emails is bad. At least with logging we get something.07:37
spmI'll add some date stamps in there as well; make it useful.07:37
jonathan__Hi all (again)08:09
wgrantHi jonathan__. Did you get it working?08:10
jonathan__to run launchpad the correct command is make run, Am i right ?08:10
wgrantThat's right.08:10
jonathan__yes it worked08:10
jonathan__I restarted my virtual machine08:10
jonathan__and now I have a problem when I run 'make run'08:10
wgrantYou may need to start Apache manually, depending on your setup.08:10
wgrantWhat's the problem?08:11
jonathan__wgrant: no it's not a problem of apache08:12
=== almaisan-away is now known as al-maisan
jonathan__the script tries to kill the process librarian and it can't find it08:13
jonathan__http://paste.ubuntu.com/429355/08:13
wgrantAh. Perhaps remove the pid file manually.08:13
wgrantYou didn't stop Launchpad cleanly before you restarted it?08:14
jonathan__Unhappily you should have right ...08:14
jonathan__so how to restore/repair Launchpad if it was not stopped cleanly ?08:20
wgrantJust remove the PID file.08:21
wgrantIt should do it itself, but apparently doesn't at the moment.08:21
wgrantThere's nothing actually broken.08:21
jonathan__the pid of launchpad ?08:22
wgrantYes.08:26
wgrantnoodles775: Morning. Can you please reEC2 that branch? It appears to have vanished.08:27
noodles775Hi wgrant , sure.08:28
jonathan__wgrant: Yes, right, I deleted the development-launchpad and development-librarian pids. It's ok now08:28
wgrantjonathan__: Great.08:28
wgrantnoodles775: Thanks.08:28
mrevellHello!09:01
=== lifeless_ is now known as lifeless
noodles775wgrant: I'm having issues with ec2 land, so haven't sent it off again yet. I'll let you know if I do.09:08
wgrantnoodles775: Eep. OK. Thanks for trying.09:08
=== mrevell is now known as mrevell-lunch
=== al-maisan is now known as almaisan-away
=== mrevell-lunch is now known as mrevell
=== lifeless_ is now known as lifeless
cody-somervilleShouldn't the topic say week # of 10.05?15:20
ricotzStevenK, hello, is this the bug i am experiencing here? OOPS-1588ED588 - https://bugs.launchpad.net/soyuz/+bug/57542615:20
mupBug #575426: SHA1-based copy checking breaks when there are expired sources in the target <oops> <ppa> <Soyuz:In Progress by stevenk> <https://launchpad.net/bugs/575426>15:20
marscody-somerville, that's a grey area15:58
=== mars changed the topic of #launchpad-dev to: Launchpad Development Channel | Week μ of 10.05 | PQM is open | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pastes
=== salgado is now known as salgado-lunch
marsbac or matsubara, ping, what command did you use when you experienced the ec2 suite hangs?17:09
matsubaramars, ec2 land17:09
marsmatsubara, same here (I think).  Thanks.17:11
matsubaramars, np, when I used ec2 test it didn't fail for me but salgado reported that he had experienced the hang with ec2 test too17:13
=== matsubara is now known as matsubara-lunch
=== almaisan-away is now known as al-maisan
=== beuno is now known as beuno-lunch
=== salgado-lunch is now known as salgado
jpdshttps://edge.launchpad.net/+search?field.text=error+setting+MTRR ← does that page reference itself in the first hit?18:07
=== gary_poster is now known as gary-lunch
marsjpds, it most certainly does :)18:11
jpdsmars: Impressive.18:11
marsjpds, we should not be indexing the search results page.  That is a bug.18:11
=== beuno-lunch is now known as beuno
=== matsubara-lunch is now known as matsubara
=== gary-lunch is now known as gary_poster
bacmars: ec2 test is what hung on me yesterday.  i've seen it with land and test19:39
marsbac, ok, thanks19:39
salgadoabentley, how do source package branches get updated?  does people commit to them or are they imported branches?  if the former, how do we control who can commit to a given source package's branches?19:57
abentleysalgado, it doesn't matter.  All kinds of branches can be sourcepackage branches.19:58
abentleyThe owner can commit to a sourcepackage branch, (if it's not an import/mirrored branch)19:59
abentleysalgado, for example, you could commit to ~salgado/ubuntu/lucid/bzr/my-change20:00
salgadoabentley, my question was not clear, sorry.  I was actually thinking about the "official" source package branch (e.g. lp:ubuntu/bzr?) but I guess that's just an alias to another branch, similar to the development focus of a project branch?20:01
abentleysalgado, that's right.20:02
salgadoI see.  it makes sense now20:02
salgadothanks abentley20:02
abentleysalgado, np20:02
=== al-maisan is now known as almaisan-away
leonardredwingrubbs, is there some way to use the storm equivalent of prejoins to reduce the number of database queries necessary to get all of an object's fields?20:34
EdwinGrubbsleonardr, yes, let me get you an example20:37
leonardrEdwinGrubbs: i'm in a tricky situation because i want to do this from lazr.restful, with no special knowledge of the object's schema20:37
leonardrjust as a random example, it would be nice if bug.can_expire didn't make its own sql query20:39
EdwinGrubbsleonardr, hmmm, that will takes some introspection on the storm attribute definitions20:41
leonardredwingrubbs: let me state the actual problem rather than possible solutions20:42
leonardri benchmarked the creation of a lazr.restful json representation20:42
leonardrit took 6 database queries to build that representation20:43
leonardrtwo bug.bugtasks, one bug.can_expire, one bug.permits_expiration, two more i can't track20:44
EdwinGrubbsleonardr, it looks like the easiest thing would be to copy some of the logic that the fake sqlobject wrapper around storm uses to handle prejoins. It looks like prejoins handle complicated situations like loading bug.assignee.team_owner, so you could probably simplify it quite a bit.20:45
leonardredwingrubbs, could it be simplified to the point where lazr.restful could simply adapt an object to an IPreloadedObject (if such an adapter was available) and proceed in the knowledge that the right thing had been done?20:48
EdwinGrubbsleonardr, actually, it looks like you could take a storm object and just call SQLObjectResultSet(storm_object, prejoins=attr_list)._prepare_result_set() where you just populate the attr_list with the names of attributes that are instances of SimpleProperty. So, using an adapter should work. _prepare_result_set() will call find() and return a normal storm resultset to you.20:51
leonardredwin: spell it out for me. i have a bug, i make a SQLObjectResultSet with prejoins= all the fields that are published in the web service20:52
leonardrand then i get what--the same bug? a new bug? a list of objects of some kind?20:52
EdwinGrubbsleonardr, if you are expecting a single item, you would call resultset.one(), and that will raise an exception if you get more than one item. If you are expecting a list, you can just iterate over resultset.20:57
leonardrthe problem is i don't know what to expect20:59
leonardri have an instance of Bug21:00
leonardri know which fields i'm going to access21:00
leonardrand i want some other code that knows something about how Bug works to do all the queries at once, behind the scenes21:00
leonardrlooking at how properties like can_expire are implemented, this seems like a pipe dream21:00
EdwinGrubbsleonardr, let me try to mock something up for you.21:00
leonardrok21:01
leonardrfor the sake of argument, i have a bug and i want to access can_expire and permits_expiration21:01
EdwinGrubbsleonardr, I hadn't looked at permits_expiration and can_expire. Those are much more complicated than what prejoins let you do. can_expire actually calls permits_expiration first to try to avoid the really expensive query.21:06
leonardrok, how about is_complete?21:07
EdwinGrubbsleonardr, all three of those query all the bugtasks for a bug. storm caching uses the primary key to look up objects, so accessing BugTask.bug would use the cache, but Bug.bugtasks depends on the foreign key on the BugTask table. The only way to load all the necessary data in one query is to make an adhoc query with lots of subqueries.21:14
leonardredwin: i think this is getting complex enough that there's clearly not an easy win here (though there does seem to be a general performance problem if we're getting the list of bug tasks for a bug twice in a single user request)21:15
EdwinGrubbsleonardr, well, I think storm with cache the Bug.bugtasks attribute that is used both in permits_expiration and is_complete, but can_expire does a much more complicated custom query without actually using the Bug.bugtasks attribute.21:19
leonardredwingrubbs: i'm eod. gary, take a look at my conversation with edwin. let's talk briefly on monday about how far this is worth pursuing21:21
gary_posterleonardr: ack will do thanks.  have a good weekend21:22
=== salgado is now known as salgado-afk
EdwinGrubbsmaxb, ping22:17

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