/srv/irclogs.ubuntu.com/2008/05/31/#bzr.txt

lifelessfdv: So svn has multiple disk formats like most vcs's, but unlike bzr it silently upgrades on you - which is why you couldn't use the older client after using the newer one00:25
=== mw is now known as mw|out
rockstarAnyone know why I would be getting "ValueError: I/O operation on closed file" while trying to branch from a launchpad branch?02:53
jamrockstar: that is usually a secondary error03:54
jamit means we are doing something like 'flush()' on a closed file03:54
jamusually we get that after something else has gone wrong03:54
rockstarjam, seems like I'm getting it trying to branch from all lp branches.  A friend of mine is having the same problem.04:02
jamrockstar: what version of bzr, and what platform?04:02
rockstar1.5, on linux.04:03
rockstarIt's the same system I have launchpad.dev on04:03
jamrockstar: have you tried running with '--no-plugins' to see if that fixes it?04:04
m3gaping lifeless04:22
lamalexHey pals, I'm having problems pushing to my LP branch07:05
beunolamalex, specifics?07:06
lamalexLP has to use bzr push lp:~alexlauni/do/do-alauni, but that doesn't work due the http mkdir() erro07:06
lamalexso I'm trying to do bzr push sftp://bazaar.launchpad.net/~alexlauni/do/do-alauni/07:06
beunolamalex, bzr launchpad-login yourlpid07:06
beunothat will set it to use bzr+ssh07:07
lamalexthat's a beautiful thing07:07
beunoain't it?07:07
lamalexnow i have bzr: ERROR: Target directory lp:~alexlauni/do/do-alauni already exists, but does not have a valid .bzr directory. Supply --use-existing-dir to push there anyway07:07
lamalexshould I just use that switch?07:07
beunouhm, that's odd, but yes07:08
lamalexheh07:09
lamalexit's pushing. we07:09
lamalex'll see how it gos07:09
beuno:)07:09
beunoyou're using bzr 1.3, right?07:09
lamalexindeed07:10
lamalex1.3.107:10
beunoI believe newer versions do a better job at warning you about pushing without a lp-login set07:10
lamalexare they in the bzr ppa?07:10
beunoI'd recommend updating from the PPA (https://launchpad.net/~bzr/+archive)07:10
beuno:)07:10
lamalex:) great minds right?07:10
beunoheheh, right07:11
=== gour is now known as gour|afk
denndaHi. I try to bzr ignore a Django settings.py file. I got this django project on several machines and the settings.py differs slightly on each host. I still want it to be version controlled per host but I don't want to sync it between the hosts. (And if that is not possible, just plain ignore it completely)08:14
denndaHowever, bzr ignore settings.py gives me this:08:14
denndaWarning: the following files are version controlled and match your ignore pattern:08:14
denndaolympic/settings.py08:14
Pengdennda: You're already versioning settings.py, so ignoring it does nothing.08:15
denndaPeng: So how do I keep the file but disable versioning for it?08:16
Pengdennda: You can't.08:16
Pengdennda: You could commit to a separate branch with a default settings.py, then "bzr merge" it into each machine's branch.08:16
denndaOk what about removing the file with bzr remove, creating it again and ignoring it?08:16
denndaI commit early and often, that'd just be a pain08:17
Pengdennda: Sure, you could do that.08:17
denndaThen I will08:17
denndabrb, breakfast :)08:17
bob2dennda: bzr rm --keep settings.py08:25
denndathanks bob2 and Peng. I hope it worked08:31
denndabob2: I did that locally, committed and pushed to a remote branch where it deleted not only the version control but the file itself, too!08:36
luksbzr doesn't modify remote working trees08:37
luksif you have a checkout there, you need to `bzr update`08:37
lukser, wait08:37
luksignore the second line :)08:37
luksit couldn't remove the file, because it doesn't touch remote working trees08:38
denndaI did update and the file was gone08:39
luksI think update would remove it only if it's identical to the versioned version08:40
luksso bzr revert -r X settings.py08:40
ArbyI'm having a problem pushing to a branch. bzr push returns ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/%7Ekubuntu-users/jockey/jockey-kde/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()09:47
Arbythis seems to be a case of bug 15646209:47
ubottuLaunchpad bug 156462 in bzr ""cannot lock LockDir" on update over http" [Undecided,New] https://launchpad.net/bugs/15646209:47
ArbyI've tried all the things suggested in that thread09:47
Arbywithout success09:47
Arbycan anyone suggest what I'm doing wrong09:48
luksyou can't push over http09:49
lukseither use sftp: or bzr+ssh: link, or bzr launchpad-login and then lp: link09:50
ArbyI've tried sftp and bzr+ssh both fail with Permission denied (publickey).09:51
Arbybut I do have a public key on launchpad09:51
ArbyI even tried to upload it again just to be sure09:52
luksdoes 'sftp bazaar.launchpad.net' work?09:52
mwhudsonis it the same one as one the machine you're trying on? :)09:52
Arbymwhudson: yes09:52
mwhudsoncould this be a username issue?09:52
Arbyluks checking09:52
mwhudsonactually, i bet that's it09:53
Arbyluks: no it doesn't09:53
Arbymwhudson: what is?09:53
mwhudsonArby: what's your launchpad id?09:53
Arbyrbirnie09:53
mwhudsondoes 'sftp rbirnie@bazaar.launchpad.net' work?09:53
Arbychecking09:54
Arbymwhudson: yes it does09:54
mwhudsonArby: cool09:55
Arbyso because my user id isn't the same as the owner of the branch it fails?09:56
luksno, it's because your local username is not the same as your launchpad id09:56
Arbyalthough I joined the team that owns the branch09:56
Arbyah ok09:56
mwhudsonthis doesn't really have much to do with launchpad09:56
Arbyso what is the solution?09:57
luksbzr push bzr+ssh://rbirnie@bazaar... should work09:57
Arbytrying09:57
Arbyvictory :)09:58
Arbyis there a setting somewhere to prevent this happening in future?09:58
=== brilliantout is now known as brilliantnut
luks.ssh/config09:58
luksbzr launchpad-login and then use only lp: urls09:58
Arbyluks: sorry I don't understand. .ssh/config doesn't exist10:00
Arbyon this machine10:00
lukscreate it, and add this:10:00
lukshost bazaar.launchpad.net10:00
luks    User rbirnie10:00
luks(.ssh/config is supposed to be ~/.ssh/config, just to be clear :))10:01
Arbyok, thanks for the help :)10:01
* mwhudson attempts to be a mere user of launchpad, and fails10:29
mwhudsonspiv, jml: here?10:29
mwhudsonoh never mind10:39
=== gour|afk is now known as gour
=== yacc_ is now known as yacc
philipp_`bzr: ERROR: Transport error: Server refuses to fullfil the request` what does this mean? tried to do `bzr branch http://bzr.debian.org/apt/debian-sid apt-debian-sid`15:16
datophilipp_: try bzr branch nosmart+http:://bzr.debian.org/...15:17
philipp_k, this works, thanks15:19
philipp_hm, this isn't documented in the man page15:21
datophilipp_: maybe/probably because it's a bug in bzr15:23
philipp_http://paste.debian.net/4760/ as is this?15:25
datophilipp_: no, not that; you can't checkout over a read-only transport.15:26
philipp_k, but a simple error message would be nice ;-)15:27
RainCTHi16:17
RainCTCan someone help me? I'm getting this error: https://code.edge.launchpad.net/~revu-hackers/revu/trunk/ and I can't get it to work on LP in any way, but locally it works16:18
RainCT(the guys in #launchpad couldn't help :()16:18
PengRainCT: Tried pushing over sftp?16:28
RainCTPeng: yes16:30
RainCTPeng: and also to lp:~rainct/+junk/test16:30
Peng...And he's also tried with bzr 1.3.1 and 1.5. Launchpad is still on 1.3, of course.16:31
=== kiko is now known as kiko-afk
RainCTPeng: uhm.. weekend? :P17:44
PengRainCT: Yeah. Star Trek is on TV today!17:46
RainCTPeng: heh. where?17:48
PengRainCT: Central Florida, U.S., North America, Earth, ... Local CW affiliate.17:55
PengRainCT: It's Star Trek TOS.17:55
RainCTah, thought it might be on german tv (as your surname is german) :P17:57
PengIt is? I thought it was Scandinavian.17:57
* Peng shrugs.17:57
RainCTheh well might be :P17:59
RainCTs/is/looks ;)17:59
PengWhat's it mean in German?18:00
RainCTPeng: Dunno, it might pretty well be Scandinavian :P. «Nord» is «North» and about «hoff» I'm not sure, Firefox says that it's correct but I don't know what it means (I first thought it's «courtyard» but that's «hof»)18:06
PengRainCT: I think it's supposed to mean "north house". http://www.answers.com/topic/nordhoff says it's North? German, "from Middle Low German nord- ‘north’ + hof ‘farmstead’, ‘manor farm’".18:09
RainCTah, I was right then :)18:09
Peng:)18:10
=== fullermd_ is now known as fullermd
bjdooksI'm trying a bzr push, using sftp, but after it asks for my password it just hanfs there and doesn't seem to be doing anything. anyone help?18:29
Pengbjdooks: You're sure it's not just slow?18:30
bjdooksah, it just bombed out with a  Could not acquire lock LockDir(18:32
bjdookshmm, how do I clean out the lock?18:32
RainCTbjdooks: bzr break-lock <branch url>18:32
RainCT(where <branch url> is sftp://..., bzr+ssh:// or lp:...)18:32
bjdooksright18:33
bjdooksheld by ben@ivanova on host ivanova [process #19691]18:33
bjdookslocked 1731 hours, 31 minutes ago? [y/n]: y18:33
bjdooksffs, Could not acquire lock LockDir again18:42
bjdookshmm, deleting .bzr/repository/lock/held worked18:44
Pengbjdooks: 1731 hours ago? You sure it's not still being used? ;)18:53
bjdooksPeng: i think it was a failed session, my laptop doesn't usually get to stay on that long19:06
bjdooksright, now to work out what completely broke sftp support on my desktop19:07
bjdooksbzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no attribute 'get_name'19:07
Pengbjdooks: That's been fixed.19:08
Pengbjdooks: A recent release of Paramiko (1.7.3?) changed the API a bit, I think.19:08
* bjdooks wonders if debian has caught up yet19:08
bjdookshmm, downloading 65.6MB of updates...19:09
bjdooksso far I like bzr far more than git19:12
Peng65.6 MB of updates to what?19:16
bjdooksmy debian machine... looks like that's fixed bzr19:16
=== gour is now known as gour|afk
beunohrm, more people seem to be getting "ValueError: I/O operation on closed file20:28
beunoon LP...20:28
PengYeah, on sys.stdout.20:28
beunoPeng, any idea what triggers it?20:29
Pengbeuno: Writing to sys.stdout after it's been closed.20:29
PengOr, doing any other I/O operation, I suppose.20:29
RoAkSoAxbeuno, ok20:30
beunoPeng, http://pastebin.ubuntu.com/16005/20:30
beunoand http://pastebin.ubuntu.com/16006/20:30
RoAkSoAxbeuno, if you need more info, i just upgrade my system to the latest upgrades available for HH20:30
RoAkSoAxincluding the upgrade fixing the ssh key vulnerabilities20:31
beunoRoAkSoAx, could you try the checkout again, but with  --no-plugins?20:32
PengThe warning and error are coming from the server.20:32
PengThe client's plugins are irrelevant.20:32
beunoyeah, which is odd considering it's LP20:32
PengI'm pretty sure that area of the code has been changed since 1.3.20:32
beunorockstar had the same error yesterday20:32
PengLike, the warning was removed, which would make the error go away.20:32
PengLP will upgrade their bzr installation soon.20:33
PengAnyway, I was gonna go 5 minutes ago.20:33
beunoRoAkSoAx, can you try "bzr branch" instead of checkout?20:34
beunoPeng, thanks  :)20:34
Pengbeuno: I got the same thing on a "bzr branch", but I thought it was because the branch is broken.20:34
RoAkSoAxbeuno, ok i will20:34
RoAkSoAxsame thing20:35
RainCT<persia> I found it worked for me with http pull and bzr+ssh push, although it took a couple  tries.20:35
RoAkSoAxhttp://pastebin.ubuntu.com/16053/20:35
RainCT(persia, sistpoty and me have the same problem from paste 16005)20:36
beunoah, right, should would work20:36
PengThe server-side forgot to unlock something, and a warning was emitted and it was automatically unlocked when it was garbage collected (which isn't done it anymore), but stdio had already been closed, so it tracebacked.20:36
* Peng wanders off.20:36
beunoRoAkSoAx, bzr branch http://bazaar.launchpad.net/~planet-ubuntu/config/main planet-ubuntu20:37
RoAkSoAxbeuno, seems to be working now20:39
beunoRoAkSoAx, good, you should be able to push back with bzr+ssh20:39
RoAkSoAxok thanks beuno :)20:40
beunoRoAkSoAx, thank persia  :)20:40
* beuno reports the bug20:40
RoAkSoAxbeuno, how should i push it, bzr push bzr+ssh://yourusername@bazaar.launchpad.net/~planet-ubuntu/config/main  instead of doing a bzr commit?20:42
beunoRoAkSoAx, you should commit first20:44
beunothen, yes, exactly like that20:44
RoAkSoAxok thanks;)20:44
beunoRoAkSoAx, np20:46
beunoRoAkSoAx, bug #23638020:48
RoAkSoAxbeuno, ok cool ;)20:50
pygipoolie, you around?20:57
Pengpush --remember so that you don't need to specify it.21:01
PengIt's also good to pull over bzr+ssh...21:01
RoAkSoAxbeuno, http://pastebin.ubuntu.com/16058/21:06
RoAkSoAxRainCT, how did you push to planet, somthing like this:  bzr push bzr+ssh://andreserl@bazaar.launchpad.net/~planet-ubuntu/config/main21:21
beunoRoAkSoAx, try again21:21
RainCTRoAkSoAx: I have the problems with another branch, but yes, that should be right21:21
RoAkSoAxok thanks guys :), really appreciate it :D21:21
beunoRoAkSoAx, I was reconciling the branch to see if there where any problems21:22
RoAkSoAxbeuno, ok ;), it worked now thanks21:22
RoAkSoAxwell, thanks guys, I'm going to watch the Spain - Perú soccer match, bye all :)21:24
=== blueyed_ is now known as blueyed
=== pbor is now known as pbor|out
PriceChildHey there, this is a support channel, not just development right?22:26
beunoPriceChild, yeap yeap22:26
PriceChildGreat :D Well I'm wondering whether this error: http://pastebin.ubuntu.com/16068/ is something I should be asking you guys for help with, or canonical to fix with launchpad? I am using 1.5.0-1~bazaar1~hardy1 from the bzr ppa on launchpad.net22:28
beunoPriceChild, I reported that error a while ago, bug #23638022:30
beunoit's a problem with bzr on LP22:30
beunothe current workaround I can give you, is branch over http, and then push bzr bzr+ssh22:31
PriceChildThanks beuno. I upgraded to that ppa version because the one in hardy didn't work which was annoying.22:31
beunoyeah, LP is still on 1.3, which might be what is triggering that bug22:31
RainCTgood night22:43
emgentheya22:50
PriceChildbeuno: ok so i branched it, how do i commit it back to the right place? if i do bzr commit -m "message" it gets commited to the directory its in atm :)22:59
beunoPriceChild, right, now that you've committed, you have to push your changes back with:  bzr push location23:00
beuno(in location, use bzr+ssh URL)23:00
PriceChildgreat, thanks23:01
beunoPriceChild, you're welcome  :)23:02
PriceChild*crosses fingers*23:03
PriceChildtis looking good...23:03
pygiPriceChild, you bugging people again? :D23:03
PriceChildpygi: you know what I'm like :D23:04
PriceChildlaunchpad is weird, said i pushed 29 minutes ago. *waits for planet.ubuntu/com to get updated*23:05
DavieyPriceChild: you changed your head?23:12
Davieymaybe your browser is caching the old one, i'm seeing a newish one23:13
beunoPriceChild, the planet gets updated via a cronjob, so expect it to take a while23:13
PriceChildDaviey: supposedly can take 2 hours to update23:13
PriceChildwhat he said23:14
pygiPriceChild, haven't I told you that having your head scrambled is a bad thing? :P23:14
PriceChildYay all done, thanks again beuno!23:17
beunoPriceChild, :)23:17
PriceChildpygi: shh :P23:17
pygiPriceChild, it is rude to shhh people!23:18
=== J-Unit is now known as jdong

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