=== cprov-afk is now known as cprov | ||
timut | maxb: thanks | 03:30 |
---|---|---|
timut | it's helping me | 03:30 |
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:14 |
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:25 |
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:26 |
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:27 |
BjornT_ | wgrant: oh. it probably runs with the permissive security policy... | 09:28 |
wgrant | BjornT_: Right. Any idea how I can change that? | 09:28 |
wgrant | It does look like c.l.ftests.login is configuring the participation properly, so that must be it. | 09:29 |
wgrant | Aha. | 09:30 |
* wgrant tries something. | 09:30 | |
BjornT_ | wgrant: the following might work: setSecurityPolicy(LaunchpadSecurityPolicy) | 09:32 |
wgrant | Yep. | 09:32 |
wgrant | A grep showed me that. | 09:33 |
wgrant | Thanks. | 09:33 |
wgrant | (needed to import setSecurityPolicy from zope.security.management) | 09:33 |
=== cprov is now known as cprov-afk | ||
AdamDV | <3 Launchpad | 16:27 |
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:40 |
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:41 |
AdamDV | The script has been runing successfully for like 30 minutes | 16:42 |
AdamDV | andrea-bs: should I use the nightly build instead? | 16:44 |
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? | 16:45 |
AdamDV | I downloaded it from the ppa | 16:45 |
AdamDV | cd Downloads | 16:46 |
AdamDV | sudo dpkg -i bzr* | 16:46 |
andrea-bs | what does ``bzr version`` tell you? | 16:46 |
AdamDV | HOwever, when I opened the deb in GDebi, the Install betton was greyed out... | 16:46 |
AdamDV | It says 1.13 :/ | 16:46 |
AdamDV | I'm installing again, andrea-bs | 16:47 |
andrea-bs | maybe dpkg has encountered some errors while installing | 16:47 |
AdamDV | Now it says version 1.17 | 16:47 |
andrea-bs | it should work now | 16:48 |
AdamDV | Is i possible that rocketfuel-setup would at some point downgrade bzr? | 16:48 |
andrea-bs | no, I don't think so :) | 16:49 |
AdamDV | Well now I see | 16:49 |
AdamDV | 'Making local branch of launchpad truck' | 16:49 |
andrea-bs | however, I strongly suggest you to add the Bazaar PPA to your sources.list, so you'll get the updates | 16:49 |
AdamDV | Alright | 16:49 |
AdamDV | Does the install just carry on if postfix and everything have already been instaled? | 16:50 |
AdamDV | So that I wouldn't have to wait the 30 min again? | 16:50 |
AdamDV | (I'd assume so) | 16:50 |
andrea-bs | all the required deb packages are not re-installed if they are already present | 16:52 |
AdamDV | Ah, ok. | 16:52 |
AdamDV | Now I get this: | 17:23 |
AdamDV | make: *** No rule to make target `install'. Stop. | 17:23 |
AdamDV | ERROR: Unable to install apache config appropriately | 17:23 |
AdamDV | Anyone here? | 18:32 |
AdamDV | I keep getting this: | 18:32 |
AdamDV | bzr: ERROR: Connection error: Couldn't resolve host 'bazaar.launchpad.net' [Errno -2] Name or service not known | 18:32 |
AdamDV | ERROR: Unable to create local copy of Rocketfuel trunk | 18:32 |
elmo | AdamDV: does 'ping -c 1 bazaar.launchpad.net' work from the command line? | 18:37 |
AdamDV | yes | 18:37 |
AdamDV | It works for awhile, maybe 20 minutes, then I get that. | 18:37 |
AdamDV | elmo: does launchpad.tar.gz have the lp-branches folder? | 18:38 |
elmo | AdamDV: can you install the dnstracer package, and pastebin the output of 'dnstracer -c bazaar.launchpad.net'? | 18:38 |
AdamDV | sure | 18:38 |
elmo | AdamDV: I've no idea offhand, sorry - it's a full copy of the LP tree is all I know | 18:38 |
AdamDV | I can't install dnstracer. | 18:39 |
AdamDV | It requires bzr 1.14 < | 18:39 |
AdamDV | And I have 1.17, which is requireed by LP. | 18:39 |
elmo | heh, dnstracer doesn't, but something else you've got installed does | 18:39 |
AdamDV | I haven't installed anything, I think the rocketfuel-setup script asks for bzr 1.17 for somestuff and 1.14 for others. | 18:40 |
AdamDV | I've run into a problem like that twice with rocketfuel. | 18:40 |
AdamDV | anyway, going for a coffee, I'll mess with it when I get back. | 18:40 |
AdamDV | Aright, I just downloaded launchpad.tar.gz from herbs repo. | 18:58 |
AdamDV | Its got a bit of a different name scheme, but I hink It'll work. | 18:58 |
AdamDV | *think | 18:58 |
AdamDV | Alrighty | 19:06 |
* AdamDV hopes that this time it will work | 19:06 | |
mars | mwhudson, around yet? | 21:32 |
mwhudson | mars: yep | 21:32 |
mars | hi mwhudson, and good morning! | 21:33 |
mars | I have a question about a mail that just arrived on the feedback list | 21:33 |
* mwhudson looks | 21:34 | |
mwhudson | mars: the freebie trial one? | 21:35 |
mars | mwhudson, "my email was published" | 21:35 |
mwhudson | oh sigh | 21:35 |
mwhudson | why can't people just give up on the 'hide my email' approach to spam prevention? | 21:36 |
mars | mwhudson, would you be able to write a reply? I'm not sure if there is a real bug there or not. | 21:39 |
mars | and I don't know our policy in that regard, either | 21:40 |
mwhudson | there's no bug | 21:46 |
mwhudson | i'll write a reply | 21:46 |
=== mwhudson changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 0 | https://dev.launchpad.net/ | Please use #launchpad for support. | https://launchpad.net/~launchpad-dev | Get it: https://dev.launchpad.net/Getting | http://people.canonical.com/~herb/ | http://paste.ubuntu.com/ | ||
thumper | morning | 21:59 |
thumper | mars: I was just looking at that too | 21:59 |
mars | mwhudson, many thanks | 22:02 |
thumper | mwhudson: call? | 22:10 |
mwhudson | thumper: yeah, was just thinking that | 22:10 |
mwhudson | thumper: couple sec | 22:10 |
* mwhudson stabs synergy | 22:12 | |
mwhudson | my two laptops can't ping each other?? | 22:14 |
thumper | :( | 22:14 |
mwhudson | oh actually, my router had shuffled ip addresses around | 22:16 |
mwhudson | thumper: so, yes, call? | 22:16 |
thumper | yep | 22:16 |
mwhudson | skype thinks you're offline of course | 22:18 |
thumper | spm: buildbot.devpad.info | 22:33 |
thumper | spm: is not responding... | 22:33 |
wgrant | Not resolving. | 22:34 |
spm | which was going to be my 1st problem.... | 22:34 |
wgrant | Is there any reason it can't be public? | 22:35 |
spm | thumper: I 'spect we're going to have to wait for Gary on that | 22:35 |
spm | dig +trace suggests the ns servers are fine, but something is nicely borked with the domain itself | 22:36 |
spm | whee. no SOA record even. totally borked. | 22:37 |
thumper | spm: who is responsible for merging db-stable back into devel? | 22:40 |
thumper | spm: and db-devel's last revision isn't in db-stable :( | 22:40 |
spm | whee | 22:41 |
mwhudson | devpad.info is joey's domain isn't it? | 22:41 |
mwhudson | spm: happy new week! | 22:41 |
spm | mwhudson: so I've been updated to believe, yes. | 22:43 |
spm | i wonder what's up with that domain - it doesn't appear to expire for another 6+ weeks... | 22:44 |
thumper | spm: are we re-rolling production? | 22:48 |
mwhudson | spm: do you know why the re-rollout didn't happen ? | 22:48 |
mwhudson | (it's almost like thumper and i are talking to each other) | 22:48 |
spm | !!! I've been here 20 minutes. How much email do you two think I've read? :-) | 22:48 |
ubot3 | spm: Error: I am only a bot, please don't think I'm intelligent :) | 22:48 |
* spm brb - updates to install | 22:50 | |
spm | back... | 22:52 |
thumper | https://lp-oops.canonical.com/oops.py/?oopsid=1302EB113 | 23:24 |
mwhudson | !irc | 23:29 |
ubot3 | A list of official Ubuntu IRC channels, as well as IRC clients for Ubuntu, can be found at https://help.ubuntu.com/community/InternetRelayChat - For a general list of !freenode channels, see http://freenode.net/faq.shtml#channellist - See also !Guidelines | 23:29 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!