/srv/irclogs.ubuntu.com/2012/11/07/#bzr.txt

mgrandibzr is just hanging, git actually gave output from what ssh said (permission denied: publickey)00:00
mgrandialthough i think its something else cause now that the key is working bzr is still hanging haha00:00
thumperping bzr folks01:23
thumperwhy did SmartServerStreamMedium suddenly need a timeout?01:24
thumperespecially when the default params for the derived classes are to pass through None?01:24
thumpernow it complains horribly if you don't specify one01:24
thumperlike my old code did01:24
fullermdMaybe it was naughty?01:24
thumperthere is no indication in the methods what it should contain01:24
jamthumper: I did the timeout stuff, I would happily merge a patch that set the default to None.04:57
jamIIRC, at the time I did it, I wanted to make sure I audited all the callers04:57
jamand there wasn't anywhere else in the code that was using it04:58
jamI didn't realize it was being poked at externally.04:58
thumperjam: :-) public api and all that06:39
hongyunHi, I set the ssh through http_proxy by using corkscrew. And add Host *.launchpad.net07:43
hongyunProxyCommand /usr/local/bin/corkscrew www-proxy.us.oracle.com 80 %h %p07:43
hongyunUser carolliu to ~/.ssh/config file07:43
hongyunBut I still can not push code to launchpad07:43
hongyunCan anyone help me to see the problem?07:43
hongyunIs there anyone meet this error?08:16
hongyunbzr: ERROR: Connection error: curl connection error (SSL certificate problem: self signed certificate in certificate chain)08:16
hongyunHow to deal with it?08:16
jamhongyun: you can try running 'bzr XXX -Derror' to get a traceback, but I don't quite understand why curl is involved in the above chain of events.08:23
jamIf you aren't logged into launchpad and are using 'lp:' urls, then we may be trying to connect to http://...launchpad.net to try and resolve the lp:08:23
jamso you could try using 'bzr+ssh://' directly.08:23
hongyunI try bzr+ssh://  ,but get an error08:24
hongyunbzr: ERROR: Don't know how to handle SSH connections. Please set BZR_SSH environment variable.08:24
hongyunI have already installed corkscrew08:24
=== mmrazik is now known as mmrazik|afk
jamhongyun: if you are getting that, then you don't have an 'ssh' executable in your path08:25
hongyunadd Host *.launchpad.net  ProxyCommand /usr/local/bin/corkscrew www-proxy.us.oracle.com 80 %h %p User carolliu to ~/.ssh/config file08:25
jamwhich I think is necessary to get it working with corkscrew.08:25
jamDo you have 'openssh' installed08:25
jamcan you run just plain 'ssh bazaar.launchpad.net' ?08:26
hongyunDisplayed :  No shells on this server. Connection to bazaar.launchpad.net closed.08:27
hongyunjam, do u know what's the problem?08:28
jamhongyun: well that means ssh is working at least, you don't have a login shell on bazaar.launchpad.net08:29
jambut you are able to connect to it, and your login with ssh keys is working.08:29
jamhongyun: so try just doing "export BZR_SSH=openssh" and then see if you can do "bzr XXX bzr+ssh://bazaar.launchpad.net/...."08:29
hongyunonly openssh can work?08:33
jamhongyun: bzr understands a few ssh providers, mostly we just need to know what the right parameters to pass to ssh are.08:34
hongyunDisplayed: bzr: ERROR: Unrecognised value for BZR_SSH environment variable: ssh08:35
jamYou can also do "BZR_SSH=sshcorp"08:35
jamhongyun: there are a few specific ones (openssh, and sshcorp), otherwise you need to pass the full path to the 'ssh' file, like: "BZR_SSH=/usr/bin/ssh"08:35
hongyunok  I try it again08:36
hongyunjam, nothing diaplayed after I use push command till now08:40
jamhongyun: sounds like it is working, but I couldn't tell you for sure.08:41
jamYou can run 'ps' and see what processes are running (ps -ef is what I usually use)08:41
hongyunother method can  prove bzr work correctly?08:46
jamhongyun: if you tell me where you are pushing things, I can check if the data is there.08:51
hongyun//bazaar.launchpad.net/~carolliu/carol-bzr-test/08:52
hongyunWhen I run bzr push bzr+ssh command , it always halt08:53
jamhongyun: there is a problem with the URL, as you need a project and a branch name, so something like bzr+ssh://bazaar.launchpad.net/~carolliu/+junk/carol-bzr-test08:54
fullermdYou could also just 'bzr ping' the URL, and make sure you're at least getting end-to-end communications out of it.  The plugin's cheap to grab on older versions.08:55
hongyunDisplayed error :bzr: ERROR: Unrecognised value for BZR_SSH environment variable: /usr/bin/ssh08:58
hongyunI am sure ssh on my machine can work08:58
mgzmorning!09:00
jamhongyun: can you give your bzr version? "bzr --version"09:01
jamSupporting path-based ssh was a newer one.  Also 'ssh' information (ssh -v I believe)09:01
hongyunBazaar (bzr) 2.3.309:02
hongyunI install it on solaris09:02
mgzthat has BZR_SSH settable to a specific path, but not the solaris ssh fix maybe?09:03
hongyunSo I must install openssh?09:04
jammgz: I don't see "solaris" mentioned in release notes past about 1.18, though it may not be mentioned in that form. Do you know what the patch is?09:05
mgztrying to find it in my mail archive but failing currently09:06
hongyunI can checkout code from launchpad.net . But can not push code09:06
mgzquestion 105156 has some info09:08
mgzand links bug 54478609:08
ubot5Launchpad bug 544786 in Bazaar "handle sunssh " [Low,Confirmed] https://launchpad.net/bugs/54478609:08
mgzwhich isn't fixed... so it seems either using sunssh as openssh or installing real openssh is what people have done in the past09:09
jamhongyun: according to https://answers.launchpad.net/bzr/+question/105156 the issue is that Solaris has different output for "ssh -v" but if you set "BZR_SSH=openssh" it will still work.09:10
jamWe just fail to auto-detect the ssh vendor because of changes in Solaris.09:10
hongyunok  I try09:10
mgzgoing by bug 374700 it would not be hard to contribute a branch fixing it09:10
jammgz: we only need the vendor type to pass the right parameters, and if sunssh is a fork of openssh, it is likely to accept the same params.09:10
ubot5Launchpad bug 374700 in Bazaar "Add support for GNU lsh to ssh.py" [Medium,Fix released] https://launchpad.net/bugs/37470009:10
mgzjam: indeed.09:11
hongyunwoo, It works . Thanks jam and mgz09:12
jamhongyun: can you add the output of "ssh -V" (or ssh -v) to bug #544786?09:13
ubot5Launchpad bug 544786 in Bazaar "handle sunssh " [Low,Confirmed] https://launchpad.net/bugs/54478609:13
jamIt is hard for us to fix things like that on platforms we don't have access to.09:13
hongyunOK , no problem09:13
Lo-lan-doHi all09:16
Lo-lan-doI'm working on adopting the loggerhead package, but I'm encountering problems.09:17
hongyunOnly this displayed :09:17
hongyun~$ ssh -V09:17
hongyunSun_SSH_2.0, SSH protocols 1.5/2.0, OpenSSL 0x100000af09:17
hongyunDoes it help?09:17
Lo-lan-doLoggerhead uses the YUI library, but the embedded copy is very old (3.0.0pre2 or something), and it should be ported to current YUI 3.5.09:18
Lo-lan-doWould anyone care to help?09:18
mgzLo-lan-do: there may be some interest or more info in #launchpad on that front, though probably US timezones09:18
Lo-lan-doApparently launchpad still uses the old one too.09:19
Lo-lan-doBut I'll try there.09:19
Lo-lan-doThanks :-)09:19
mgzlaunchpad have recently done various updating of yui libraries09:19
mgzand the main launchpad code was moved to 3.5 by rick_h09:20
mira|AOwhen I do a 'bzr dpush' into git, can the git side be updated later, when there are new commits and merges on the bzr side?10:11
mira|AO(assuming it doesn't *also* fail, like git cloning from bzr and bzr pushing into svn does…)10:11
Lo-lan-doYou can bzr dpush again, yes10:13
Lo-lan-doI regularly do that :-)10:13
mira|AOok10:13
mira|AOmaybe this is the way out of my current problem then, unless someone steps up and fixes bzr-svn ☻10:14
* mira|AO crosses fingers (it’s been “updating git map” for >2 hours already)10:15
Lo-lan-dologgerhead_1.19~bzr477-1_amd64.changes ACCEPTED into unstable10:34
Lo-lan-do(Without the YUI3 hackery, I suck at Javascript)10:35
Lo-lan-domira|AO: You wouldn't have JS geeks at your place, would you?10:36
mira|AOnope, sorry10:38
mira|AOwe're also all trying to scrape along10:39
mira|AObut if you /msg me some details, I can ask around on the dev list10:40
mira|AObzr: ERROR: The file id "None" is not present in the tree <bzrlib.inventory.CHKInventory object at 0xd7d4550>.10:41
mira|AO☹ so dpush also doesn't work10:41
mira|AOok, last try… upgrading all svn related stuff (yuk 1.7)10:42
=== mmrazik is now known as mmrazik|lunch
mira|AOok, didn't work either with latest suckvürstchen/subvertpy10:48
mira|AOlatest as in debian sid10:48
jelmersvn 1.7 changes the working copy API in a backwards incompatible (but ABI compatible) way10:58
mira|AOyeah11:09
mira|AOI'm mostly concerned about getting a bzr bound checkout pushed into either svn or git…11:09
mira|AObbl, lunchbreak11:11
jelmermira|AO: the exception you were seeing (The file id "None" ...) has to do with the mappings in bzr-svn, unrelated to the svn version11:21
=== mmrazik|lunch is now known as mmrazik
mira|AOthe 'file id is None' is actually in bzr-git12:09
mira|AO(both ways)12:09
=== yofel_ is now known as yofel
mathrickhola14:06
mathrickI don't suppose bzr-lp supports multiple logins, does it?14:06
mgzit does, but with different bzr homes14:08
mgzso, you can have multiple configs and set BZR_HOME to change between them14:08
maxbOr you can just 'bzr lp-login foo' back and forth14:10
mathrickoh right, it uses the ssh key14:13
* mirtwo tries: (gdb) b PyErr_NewSubversionException16:06
mirtwomaybe I can get a useful bt16:06
mirtwooh well. I get a bt...16:07
mirtwo http://sprunge.us/SOiJ16:08
jlfhi #bzr, is there a way i can find out what commit last affected a specified line in a specified file?16:09
jelmerjlf: hi16:09
jelmerjlf: 'bzr annotate FILE' should tell you16:09
jlfjelmer: ah, perfect.  thanks very much.16:10
mathrickpffft, "annotate" is PC-speak16:11
mathrickI always call it bzr blame16:11
mirtwoblame is git speak16:14
mirtwooh no, svn speak16:14
mirtwoanyway, worse16:14
mirtwocan't decide which16:14
mirtwohrm. putting debugging printfs into editor.c in subvertpy didn't help...16:15
mirtwoso I now got this backtrace, but... still no further16:15
mirtwonot easy to figure anything out like that16:15
mathrickmirtwo: I don't care if it's svn speak, it's accurate16:20
mira|AOI prefer to not blame people, it's the wrong state of mind in a team16:21
jelmerLo-lan-do: thanks for taking over loggerhead!16:27
Lo-lan-dojelmer: Bleh :-)16:34
Lo-lan-doIs anyone active upstream, by the way?16:34
Lo-lan-do(So I could push my quilt patch their way)16:34
jelmerLo-lan-do: lp:launchpad, you mean?16:34
mira|AOlo-lan-do: could be worse… look at what mess I got into, just for the forge…16:35
jelmerLo-lan-do: you can propose it as a patch on Launchpad16:35
mira|AOhint: the mess uses wfSuppressWarnings() a lot16:35
Lo-lan-domira|AO: Hahaha :-)16:35
=== mmrazik is now known as mmrazik|afk
=== mmrazik|afk is now known as mmrazik|otp
=== deryck is now known as deryck[lunch]
=== mmrazik|otp is now known as mmrazik
=== deryck[lunch] is now known as deryck
=== Guest15779 is now known as dpb___

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