Re: [Fab-user] err: stdin: is not a tty

2009-05-24 Thread s s
Sleep, NOW, or we're going to have to put you out of your misery... S On May 24, 2009, at 11:09 PM, Jeff Forcier wrote: On Sun, May 24, 2009 at 11:08 PM, Jeff Forcier wrote: See for example http://platonic.techfiz.info/2008/10/13/stdin-is-not-a-tty/ . Blast, that's actually not the link

Re: [Fab-user] err: stdin: is not a tty

2009-05-24 Thread Jeff Forcier
On Sun, May 24, 2009 at 11:08 PM, Jeff Forcier wrote: >> See for example http://platonic.techfiz.info/2008/10/13/stdin-is-not-a-tty/ . > > Blast, that's actually not the link I intended to paste, but this > other, more informative one: > > http://www.hjackson.org/blog/archives/2008/10/18/ssh-stdin

Re: [Fab-user] err: stdin: is not a tty

2009-05-24 Thread Jeff Forcier
> See for example http://platonic.techfiz.info/2008/10/13/stdin-is-not-a-tty/ . Blast, that's actually not the link I intended to paste, but this other, more informative one: http://www.hjackson.org/blog/archives/2008/10/18/ssh-stdin-is-not-a-tty -Jeff _

Re: [Fab-user] err: stdin: is not a tty

2009-05-24 Thread Jeff Forcier
Hi Erik, Did a quick google and it sounds like you've got something in your bashrc or other RCfile that expects an interactive shell, which Fabric doesn't do by default (it does a noninteractive login shell). See for example http://platonic.techfiz.info/2008/10/13/stdin-is-not-a-tty/ . So there'

[Fab-user] err: stdin: is not a tty

2009-05-24 Thread Erik Wickstrom
Hi, When I run a command on a remote host, Fabric always has this err. Do I have something mis-configured? [...@domain.com] run: cd /home/clm/crs/; git pull origin master [...@domain.com] err: stdin: is not a tty [...@domain.com] out: Already up-to-date. Thanks! Erik ___

Re: [Fab-user] [patch] better error reporting on state

2009-05-24 Thread Jorge Vargas
On Sun, May 24, 2009 at 12:34 PM, Jeff Forcier wrote: > Hi Jorge, Christian, > > Jorge makes some decent points and I also verified that his use of > AttributeError (instantiating it with a key string) does result in > slightly more useful output. I've pushed this change as commit > f282856. Thank

[Fab-user] ANN: Fabric alpha 3 released

2009-05-24 Thread Jeff Forcier
Hi all, Just tagged Fabric alpha 3, which contains a ton of changes over alpha 2 [1]. I think the biggest visible feature is the addition of output controls: you can now hide/show various levels of Fabric's output in a granular fashion (plus some useful aggregate aliases). However, this represents

Re: [Fab-user] Error with arguments for local

2009-05-24 Thread Jeff Forcier
On Sun, May 24, 2009 at 4:55 PM, Nicolas Steinmetz wrote: > 2009/5/24 Jeff Forcier > You're absolutely right, I did not see this at a first glance. With > rewriting "local" and "prod" roles, I fall into this caveat :-ยง > Now fixed with renaming the "local" function, it works like a charm :-) Gl

Re: [Fab-user] Error with arguments for local

2009-05-24 Thread Nicolas Steinmetz
2009/5/24 Jeff Forcier > Hey Nicolas, > > I'm guessing you may be defining your own function called 'local' > somewhere in your fabfile (or otherwise importing something with the > same name into your fabfile.) Can you check on that for me? Can't > think of any other possible reason why fabric.op

Re: [Fab-user] Bug in multiline append

2009-05-24 Thread Jeff Forcier
Hi all, I've just applied re.escape() to the input string during the call to contains() (and only during that call, so the text appended to the file is untouched). This seems to work OK for me when passing in strings similar to the one that was tripping Jorge up. This change is in commit 534fc9f.

Re: [Fab-user] Trouble authenticating with ssh key

2009-05-24 Thread Erik Wickstrom
Hi Jeff, It's working for me now!! Thanks for your help! Erik On Sun, May 24, 2009 at 11:09 AM, Jeff Forcier wrote: > Hi all, > > Just spent some time poking around and figured this out; just pushed a > fix. You'll now see a prompt asking for your SSH key passphrase > instead of seeing the "r

Re: [Fab-user] Trouble authenticating with ssh key

2009-05-24 Thread Jeff Forcier
Hi all, Just spent some time poking around and figured this out; just pushed a fix. You'll now see a prompt asking for your SSH key passphrase instead of seeing the "regular" password prompt. Long story short, this was due to oddball behavior on Paramiko's end, end result being that we don't have

Re: [Fab-user] [patch] better error reporting on state

2009-05-24 Thread Jeff Forcier
Hi Jorge, Christian, Jorge makes some decent points and I also verified that his use of AttributeError (instantiating it with a key string) does result in slightly more useful output. I've pushed this change as commit f282856. Thanks Jorge! Best, Jeff On Thu, May 21, 2009 at 9:02 AM, Jorge Varga

[Fab-user] wiki.fabfile.org

2009-05-24 Thread Jeff Forcier
Hi all, Looks like the spambots have found the wiki as well as the mailing list, so I'm currently updating it so users must log in to make any changes. Apologies for any inconvenience :) Thanks, Jeff ___ Fab-user mailing list Fab-user@nongnu.org http: