=== slank is now known as slank_away [03:18] hey need some help setting up SSH2 for launchpad and bzr explorer as my pushs arne't working, would be much appreciated. [03:19] using windows error message is: Run command: bzr push bzr+ssh://bazaar.launchpad.net/+branch/avaneya/ [03:19] Connected (version 2.0, client Twisted) [03:19] bzr: ERROR: Connection error: Unable to authenticate to SSH host as [03:19] prophetadam@bazaar.launchpad.net [03:19] supported auth types: ['publickey'] [03:21] * KombuchaKip waves at prophetadam [03:23] hey! [03:24] * prophetadam says hi! [03:24] * prophetadam nods head [03:35] i gotta go [03:35] ill leave up. [03:35] catch ya man [03:35] woops wrong window [03:35] any help would be great cheers. [04:42] have since fixed problem, thanks anyways [09:34] Hi. Is it possible to setup a completely serverless environement in a team ? [09:55] When push codes using bzr , there always shows an error:bzr: ERROR: Don't know how to handle SSH connections. Please set BZR_SSH environment variable. Can some one help? [10:41] When push codes using bzr , there always shows an error:bzr: ERROR: Don't know how to handle SSH connections. Please set BZR_SSH environment variable. Can some one help? [10:45] hongyun: if you run `ssh -V` what does it say? [11:00] ychaouche: sure [11:04] LarstiQ: bbl lunch [11:04] LarstiQ: in the meantime, I'm trying to simulate this on my own machine and document it in a text file, step by step http://i.imgur.com/0cElN.png [11:04] any comments appreciated [11:05] bbl lunch === yofel_ is now known as yofel === slank_away is now known as slank [15:41] yaaay :) http://pastie.org/5520813 [15:44] How it happend https://gist.github.com/raw/4277273/5869a6c717b7ee59eee77f011ec745403bed0564/bzr-tut.txt [15:51] So, how to solve the problem "cannot commit to branch X . It is bound to Y which is bound to Z" ? [15:55] ychaouche: do you have some more context for that? [15:56] ychaouche: one case I know of that occuring is with circular bindings [15:56] LarstiQ: I think I have an idea. I copied a checkout to antoher location and checked out that checkout to yet again another location. [15:56] right [15:57] ychaouche: I'd recommend only checking out from branches, not other checkouts [15:57] while it can be done.. [15:57] So what I'll do is copy the branch to a location, then checkout that branch to another location. [15:57] Right. [15:57] Let me try that. [15:57] ychaouche: also, I'd bzr push/pull instead of using cp [15:58] LarstiQ: push/pull needs internet connection on remote machines [15:58] ychaouche: no [15:58] hum ? [15:58] ychaouche: you can also do it from and to a usb stick say [15:59] LarstiQ: what would you put in the usb stick, a whole branch ? [15:59] ychaouche: yup [15:59] I want to work that way (instead of usb key, download a tarball) [16:00] ychaouche: how do others get your work? [16:00] LarstiQ: I'd like to give them tarballs by email [16:00] the tarball contains my branch [16:00] righty [16:00] they put in a temporary location [16:00] and then merge to their branches [16:00] ychaouche: you might want to look at `bzr send -o` [16:01] ychaouche: so that you do not have to mail around entire branches [16:01] ychaouche: a bit more bookkeeping perhaps [16:03] * LarstiQ heads home [16:11] I think I'll learn how to use bzr send. I can't understand how to use bzr pull and bzr push yet. [16:18] Is pull the equivalent of checkout + merge ? [16:18] and push the equivalent of commit + merge ? [16:20] no it's confusing. [16:36] I don't know how to use send. It asks for a destination branch. Why is a destination branch required sincie I want to send my merges by e-mail anyway ? [17:13] ychaouche: it needs the destination branch to determine which revisions to include [17:15] jelmer: then I really don't understand how to use it. I thought the context was : I'm working on a branch, a team member on a different location is working on the same branche and I want to *send* him my changes, my commits. So I'd use the send command, which would create "something" and I would send that guy that thing so that he could merge it to his own branche/checkout. [17:16] anyway I have to go, I'll ask the same question next week :;( [17:16] thanks to all who helped me today and happy week-end. [17:16] ychaouche: you would generally use it to send changes against a common mainline === deryck is now known as deryck[lunch] === deryck[lunch] is now known as deryck === Enlik1 is now known as Enlik === jordan_ is now known as jordan === jelmer_ is now known as jelmer === _thumper_ is now known as thumper [22:05] I'm trying to run the bzr-email plugin, but I'm getting an error message "Unable to load 'bzr-email' in '/usr/lib64/python2.6/site-packages/bzrlib/plugins' as a plugin because the file path isn't a valid module name; try renaming it to 'email'." [22:06] have you tried doing that? [22:06] I'm not sure what to rename to "email" [22:06] I renamed the directory (which was previously bzr-email) [22:06] and ran "sudo python setup.py install" again [22:07] but I'm still getting the error [22:07] Is there something else that I'm supposed to rename? [22:08] i think its installing it to /usr/lib64/ blah blah to bzr-email [22:08] try renaming the folder in that directory to email [22:09] mgrandi: I see two directories there, bar-email and email [22:09] Should I just remove the bar-email one? [22:10] *bzr-email [22:10] yeah, try that [22:10] save it to desktop incase you need it [22:11] mgrandi: Now I'm getting "Key 'upload_auto' already registered" [22:12] so you are on linux, right, what os? [22:12] CentOS [22:12] is there not a bzr email package? [22:12] hmmm [22:12] one sec [22:12] I don't believe so. [22:13] Do you know what that means? [22:13] figuring it out [22:14] I don't know if that means it isn't working or if its just trying to be polite by informing me that "Key 'upload_auto' already registered" [22:17] mgrandi: I know now, it isn't working. [22:17] one seccc [22:19] so the ubuntu package seems to install it to [22:19] drwxr-xr-x root/root 0 2012-05-29 01:55 ./usr/share/pyshared/bzrlib/plugins/email/ [22:19] so its supposed to be in 'email' [22:19] can you paste the entire stack trace? [22:19] Sorry, you'll have to give me directions. [22:20] so how are you getting the error? [22:20] you install and it gives you that error? [22:20] "bzr plugins" returns an entry "email" [22:20] No, installation doesn't return any errors [22:20] ok [22:20] so where do you get key is already registered? [22:21] It only returns that message when it is doing something that should result in an email getting sent. [22:21] ok, can oyu paste your bzr.log to somewhere? its in ~/.bzr.log [22:23] like bpaste.net [22:25] mgrandi: hold on [22:27] mgrandi: http://bpaste.net/show/64267/ [22:27] I don't know why it is trying to load "upload" [22:28] yeah, thats a completely different plugin... [22:28] apt says: bzr-upload - Bazaar plugin for uploading to web servers [22:28] I don't have or want that plugin [22:29] there isn't a directory in /usr/lib64/python2.6/site-packages/bzrlib/plugins called bzr_upload [22:29] "/usr/lib64/python2.6/site-packages/bzrlib/plugins/bzr_upload/__init__.py [22:29] does that exist? [22:29] it says it does.. [22:29] mortrca: the upload plugin needs to be in a directory called "upload", not "bzr_upload" [22:30] why did it get installed to that directory then? [22:31] I figured it out. [22:32] I removed the stray bzr_upload plugin [22:32] or just rename ot to be upload [22:32] to* [22:32] and after renaming bzr-email to email again (running "setup.py install" changed it back) it isn't throwing any errors. [22:32] yay! [22:32] how did bzr get installed? why is it naming plugins wrong [22:33] I installed it from source [22:34] well why is the source naming it wrong o.o [22:35] Is that a rhetorical question? [22:36] well, no, i mean it installed the plugins worng and then it didn't work, you think it wouldn't do that [22:36] haha [22:36] but anyway glad you got it working [22:36] mgrandi: [22:36] oops [22:37] It isn't working [22:37] what isnt? [22:39] mgrandi: I'm getting errors now [22:39] what errors [22:39] I had "post_commit_sender = user@example.com" in branch.conf [22:40] (with a real address) [22:41] But when I tried to commit I got: "From: user@example.com: No such file or directoryanch - Stage:Fetching revisio.. [22:41] bzr: ERROR: Server sent an unexpected error: ('error', 'BzrError', 'Failed to send email: exit status 1')" [22:42] post the bzr log again, it gives more specific errors =P [22:42] thx~ [22:44] mgrandi: http://bpaste.net/show/64271/ [22:47] result = self.config.get_user_option('post_commit_mailer') [22:47] i think its failing cause you dont have a 'mailer' set up [22:47] so its defaulting to 'mail' [22:49] so set the program you want to use to mail in the conf file under post_commit_mailer [22:53] mgrandi: Why wouldn't 'mail' work? [22:53] do you have mail installed? [22:53] Yes [22:54] and I have successfully sent emails with it [22:55] mgrandi: I need to go, but if you have any ideas I'll read them when I get back. [22:57] i would try seing if invoiking mail manually does it [22:57] mail -s "subject" -a "from: john doe" then typing it into stdin [23:01] or try setting post_commit_mailer to smtplib [23:24] mgrandi: What do you mean by "typing it into stdin"? [23:24] I would just try setting it to be smtplib, its built into python [23:24] The reason its not working is that mail is returning a status code of "1", so its not completing correctly.. [23:26] mgrandi: It worked. [23:27] I didn't get an error message [23:27] and I did get an email. [23:27] by changing it to use stmplib? [23:27] smtplib* [23:27] yes [23:27] yay =) [23:27] Thank you so much [23:27] yeah, i dunno much about mail, but it wasn't working i guess [23:27] You've been very patient. [23:27] happy bzr-ing! =) [23:27] Thanks