text
stringlengths
15
499
[08:35] <maxb> hehe, yes, "special"
[08:37] * wgrant looks with bemusement at build__datecreated__key
[08:37] <wgrant> That makes no sense.
[08:38] <cody-somerville> wgrant, Are you pleased to finally have access to lp source code? :)
[08:39] <wgrant> cody-somerville: I am!
[08:39] <maxb> aha, the same 64bitness bug exists in zope.security.proxy as well as zope.proxy
[08:40] <cody-somerville> wgrant, I was told that I'm the only person outside of the launchpad team to contribute code to launchpad in a couple of years. Hopefully that'll change real quick now! :)
[08:41] <wgrant> cody-somerville: I've already two approved branches that will land once devel reopens on Monday.
[08:41] <cody-somerville> wgrant, awesomeness
[08:41] <cody-somerville> wgrant, I'm sure you'll help pave the way for all sorts of folks to be able to contribute effectively
[08:41] * wgrant hates gina's config system.
[08:42] <cody-somerville> zconfig or... ?
[08:42] <wgrant> lazr.config. But it's not a good fit.
[08:42] <cody-somerville> Yea
[08:43] <cody-somerville> I examined lazr.config for one of my internal projects and I decided to go with a different solution
[08:43] <wgrant> lazr.config is good. Just not for this.
[08:47] <maxb> Hmm, no vcs-import for zope.security
[08:48] <wgrant> It would have been part of the main Zope 3 import until recently.
[08:58] <maxb> OK, woo, now I actually have a functioning webapp running on karmic :-)
[08:58] <wgrant> Which Python?
[08:58] <maxb> 2.5
[08:58] <wgrant> Aha.
[08:58] <wgrant> Using all the default deps except zope.security?
[08:59] <maxb> I just grabbed and applied patches of the relevant revisions from zope.security and zope.proxy to the sourcecode/zope tree
[09:00] <wgrant> Is this the first time you've had the webapp running?
[09:01] <maxb> No, but before now it tended to OOPS a lot
[09:01] <wgrant> I count that as a yes.
[09:01] <maxb> Even an OOPSing webapp was proof I was on the right track :-)
[09:02] <wgrant> It's nice running a local Launchpad - it's so fast!
[09:03] <maxb> On my good laptop, yes
[09:03] <maxb> Not so much on my netbook!
[09:04] <wgrant> Probably not.
[09:21] <wgrant> maxb: Found anything yet that doesn't like 2.5?
[09:42] * wgrant needs an SSD
[10:03] <maxb> I suppose I should now figure out how to run the testsuite
[10:05] <wgrant> maxb: make check
[10:05] <wgrant> Making sure you have good cooling.
[10:05] <wgrant> And many, many hours.
[10:06] <wgrant> I should run the full test suite here at some point - I've so far only run the bugs tests in full, which took 50 minutes.
[10:08] <maxb> hmm. possibly a laptop sitting on a bed is not the best environment for long duration high CPU work
[10:15] <wgrant> A lot of it's high-disk, as the database has to be replaced after each test.
[10:15] <wgrant> I'm not sure if I was reading things properly, but the output of the lp.bugs tests suggested that 30 of the 50 minutes were spent doing DB setup.
[14:14] <maxb> Does anyone know when the dev wiki is going to be opened for editing? I'd like to scribble some notes on my experiences of getting LP to work with Python 2.5
[14:45] <cprov> good morning, folks
[14:48] <wgrant> Morning cprov.
=== cprov is now known as cprov-afk
[16:20] <sidnei> hey wgrant, pushing that branch finished at some point during the night: https://code.edge.launchpad.net/~sidnei/launchpad/zbuildout
[18:59] <maxb> sidnei: am I simply not driving bazaar properly, or is there litte interesting in that branch yet?
=== carlos_ is now known as carlos
[19:19] <sidnei> maxb: what do you mean?
[19:23] <maxb> Unless I'm failinf to use bzr properly, it seems to contain a group of changes not related to the buildsystem, and a one-line fixup
[19:24] <maxb> bzr log -n0 -r ancestor:../devel..
[19:28] <sidnei> maxb: that command doesn't show much indeed. use diff instead of log, you will see that there's a lot of changes
[19:29] <sidnei> maxb: it looks quite unpolished though, there's quite some code that has been commented out, presumably because it doesn't pass the tests yet
[19:29] <sidnei> maxb: i think using a patched sourcecode/zope3 is a better approach until gary makes more progress
[21:29] <timut> hi all
[21:30] <timut> i'm installing launchpad on hardy 8.04, anybody have a list of dependency or lib packages prerequisite before install?
[21:56] <maxb> are you following https://dev.launchpad.net/Getting ?
[21:57] <maxb> dependencies are dealt with as part of rocketfuel-setup
[22:03] <timut> maxb: yups, but i have problem with bzr and python-pyrex
[22:05] <timut> Setting up python-pyrex (0.9.6.4-1ubuntu1) ...
[22:05] <timut> pycentral: pycentral pkginstall: not overwriting local files
[22:05] <timut> pycentral pkginstall: not overwriting local files
[22:05] <timut> dpkg: error processing python-pyrex (--configure):
[22:05] <timut> subprocess post-installation script returned error exit status 1
[22:05] <timut> Errors were encountered while processing:
[22:05] <timut> python-pyrex
[22:06] <timut> E: Sub-process /usr/bin/dpkg returned an error code (1)
[22:17] <maxb> timut: I would suggest temporarily moving aside anything including pyrex in its name from the /usr/lib/python2.4/site-packages/ directory and retrying the package setup with dpkg --configure -a
=== cprov-afk is now known as cprov
[03:30] <timut> maxb: thanks
[03:30] <timut> it's helping me
[09:14] <wgrant> How do I get something bin/harness but with security working? I want, for example, to be able to switch users interactively and see how access to objects changes.
[09:25] <BjornT_> wgrant: use getUtility(IFooSet) to get the initial object. when you use getUtility the object will be security wrapped, and each object you access through it will also have a security proxy.
[09:26] <wgrant> BjornT_: I know hot to get the objects, but I can't seem to switch to a user that doesn't have any permissions.
[09:27] <wgrant> BjornT_: canonical.launchpad.ftests.login doesn't seem to work.
[09:27] <wgrant> Well, it runs, but my mortal user still has launchpad.Admin on everything.
[09:28] <BjornT_> wgrant: oh. it probably runs with the permissive security policy...
[09:28] <wgrant> BjornT_: Right. Any idea how I can change that?
[09:29] <wgrant> It does look like c.l.ftests.login is configuring the participation properly, so that must be it.
[09:30] <wgrant> Aha.
[09:30] * wgrant tries something.
[09:32] <BjornT_> wgrant: the following might work: setSecurityPolicy(LaunchpadSecurityPolicy)
[09:32] <wgrant> Yep.
[09:33] <wgrant> A grep showed me that.
[09:33] <wgrant> Thanks.
[09:33] <wgrant> (needed to import setSecurityPolicy from zope.security.management)
=== cprov is now known as cprov-afk
[16:27] <AdamDV> <3 Launchpad
[16:40] <AdamDV> Anyone here?
[16:40] <AdamDV> I just got an error :/
[16:40] <AdamDV> bzr: ERROR: no such option: --2a
[16:40] <AdamDV> ERROR: Unable to set up local LP repository
[16:41] <andrea-bs> AdamDV, you need bzr version 1.9 or higher
[16:41] <AdamDV> I just installed 1.17..
[16:41] <AdamDV> This morning, because on my first rocketfuel attempt I got the 'bzr version not high enough' error
[16:42] <AdamDV> The script has been runing successfully for like 30 minutes
[16:44] <AdamDV> andrea-bs: should I use the nightly build instead?
[16:45] <andrea-bs> AdamDV, no, you shouldn't: 1.17 is the right version (I was wrong about 1.9)
[16:45] <andrea-bs> AdamDV, how did you install bzr 1.17?