text
stringlengths
15
499
[18:05] <flacoste> EdwinGrubbs: yes, it's approved already
[18:05] <mars> pkern, but I don't guarantee that that page has an answer for you, I just brought it out into the light
[18:05] <wgrant> So, I have my DB!
[18:05] <EdwinGrubbs> flacoste: ok, I didn't see a comment in the mp, and I wanted to make sure that you weren't confused by the two mps with the same bug number.
[18:06] <wgrant> But I first had to create a postgres superuser for myself.
[18:06] <wgrant> And change the search path.
[18:06] <pkern> * If this fails you need to run as the postgresql superuser
[18:06] <pkern> * eg. sudo -u postgres make create
[18:06] <pkern> There is no make create in there.
[18:06] <pkern> Hm, well there is, but in the subdir, heh ;-)
[18:06] <pkern> mars: It had, yes, thanks.
[18:07] <pkern> It's only adjusting the search_path it seems, I didn't touch hba.
[18:07] <flacoste> EdwinGrubbs: no, there was both a lp and a lazr-js branch
=== barry` is now known as barry
[18:07] * bigjools needs to run out, bb later
[18:08] <pkern> Ok, you need to touch hba to allow launchpad_main to connect.
[18:09] <wgrant> That makes sense.
[18:09] * gmb EODs.
[18:10] * wgrant waits for his disk to catch up with postgres.
[18:10] <mpt> wgrant, are you having fun?
[18:11] <mars> wgrant, there is a good reason why some of us still use hefty desktop workstations instead of laptops :)
[18:11] * barry needs a new hefty desktop workstation :)
[18:11] <pkern> psycopg2.OperationalError: FATAL: database "launchpad_dev" does not exist
[18:11] <wgrant> mpt: It's a bit late, and rocketfuel-setup is buggy, but otherwise it's not bad.
[18:11] <pkern> psycopg2.OperationalError: FATAL: database "launchpad_dev" does not exist
[18:11] <wgrant> pkern: make schema didn't run properly?
[18:11] <pkern> Hrm.
[18:11] <wgrant> Mine certainly created launchpad_dev.
[18:12] <pkern> wgrant: The problem is that now this stuff is owned by postgres I think.
[18:12] * wgrant is still waiting for make schema to finish...
[18:12] <pkern> Well, let's try
[18:12] <ryanprior> Thanks for choosing AGPLv3. :-)
[18:12] <pkern> Oh great.
[18:12] <pkern> psycopg2.ProgrammingError: permission denied for relation pg_database
[18:12] <pkern> And as postgres
[18:12] <pkern> [Errno 13] Permission denied: '/home/pkern/launchpad/lp-branches/devel/eggs/test-easy-install-3674.pth'
[18:13] <pkern> *sigh*
[18:13] <mars> pkern, according to database setup, it just needs your db user to be a superuser
[18:13] <mars> ryanprior, :)
[18:13] <pkern> mars: It uses random own users to conncet.
[18:13] <wgrant> pkern: Which are configured during make schema.
[18:13] <pkern> wgrant: So which one needs to be superuser? \-:
[18:14] <wgrant> It started!
[18:14] <wgrant> I haz a launchpad.dev.
[18:14] <wgrant> pkern: The one matching your username.
[18:14] <mars> pkern, "Your default PostgreSQL user has the same name as your login account (if it existed already, and it was not a superuser, drop it first)"
[18:14] <mars> pkern, fwiw, stub is our database guru
[18:14] <pkern> Right.
[18:14] <flacoste> mars: the future is SSD drive, postgres doesn't have any trouble catching up here :-)
[18:15] <pkern> "drop it first", heh... alter role $user superuser;
[18:15] <wgrant> Are the usernames and passwords documented somewhere? I know a couple, but do I have to look through the sample data?
[18:15] <mars> flacoste, nice :)
[18:15] <rockstar> flacoste, and the future always will be SSD drives.
[18:15] <flacoste> wgrant: they are in lib/canonical/launchpad/pagetests/README i think
[18:16] <wgrant> flacoste: README.txt, but yes. Thanks.
[18:18] <wgrant> Is there a root cert somewhere that I should tell Firefox to trust, or do I just whitelist the cert for each domain?
[18:19] <flacoste> wgrant: you whitelist each domain
[18:19] <flacoste> wgrant: i assume this means that you succeeded in running make run?
[18:19] <wgrant> flacoste: Oh yes.
[18:19] <wgrant> The webapp all works.
[18:19] <flacoste> awesome!!!
[18:19] <pkern> Works here too.
[18:20] <flacoste> EdwinGrubbs: branches must be landed on db-devel
[18:20] <wgrant> Once I'd fixed rocketfuel-get, installed python-celementtree, createuser'd, added the postgres search_path and auth stuff, it all worked.
[18:20] <EdwinGrubbs> crap
[18:20] <pkern> What code is running on drescher for the archive? :-P
[18:20] <cody-somerville> gmb, What does this mean? "ConjoinedBugTaskEditError: This task cannot be edited directly, it should be edited through its conjoined_master"
[18:20] * pkern didn't need celementtree yet. o_O
[18:20] <pkern> Or maybe I just had it :-P
[18:21] <wgrant> I presume there's some docs on the internal wiki about setting up a local Soyuz system.
[18:21] <wgrant> The Codehosting ones have been made public.
[18:21] * rockstar hates at DOM traversal
[18:21] <wgrant> But not Soyuz.
[18:21] <wgrant> rockstar: jQuery makes that so much nicer.
[18:22] <flacoste> wgrant: actually, not really, Soyuz is that very mysterious secret guarded jealously by bigjools
[18:22] <flacoste> and cprov
[18:22] <flacoste> :-p
[18:22] <flacoste> wgrant: seriously, i think nobody runs Soyuz locally
[18:22] <pkern> bigjools: soyuz, soyuz, soyuz! how!
[18:22] <flacoste> wgrant: i know they usually do their QA on a dedicated server aka dogfood
[18:23] <wgrant> flacoste: Right. But presumably they at least run things manually locally...
[18:23] <flacoste> bigjools: you officially have a request to document how to test Soyuz stuff locally
[18:23] * wgrant hears bigjools scream.
[18:24] <mars> wgrant, that is a good list of roadblocks
[18:24] * mars tosses it into a Tomboy note
[18:25] <barry> wgrant, pkern wait 'til we ask you to review some soyuz code!
[18:25] <mars> I think we have rf-get in process
[18:25] <mars> python-celementree is fixed?
[18:25] <wgrant> mars: The first has a branch, the second has been uploaded.
[18:25] <mars> don't know what is up with the database setup stuff though
[18:26] <mars> wgrant, the first also needs a CP
[18:27] <wgrant> Is the default batchnavigator size lower on launchpad.dev? I notice team membership lists are only 5 per page, not 50.
[18:27] <matsubara> wgrant, yes
[18:28] <matsubara> see default_batch_size: 5 in configs/development/launchpad-lazr.conf
[18:30] <wgrant> matsubara: Aha.
[18:30] <EdwinGrubbs> sinzui: can we delay our one-on-one call till tomorrow?
[18:31] <barry> leonardr: all the pprint_*() methods in webservice.py require a json_body, but that seems tedious. would it make sense to have a method that calls .jsonBody() automatically?
[18:32] <sinzui> EdwinGrubbs: sure
[18:32] <leonardr> barry: well iirc there are a number of methods for using different http methods, get, post etc
[18:32] <leonardr> if you added a jsonbody you'd expand that x2