[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Problem using put() in latest revision
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] Problem using put() in latest revision |
Date: |
Tue, 14 Dec 2010 11:54:16 -0500 |
Hey Armon,
I think this is a known issue, but either way it should get fixed come
1.0, which will have a big overhaul of put/get, including the
chmod/mode stuff.
The specific ticket handling mode changes is here:
http://code.fabfile.org/issues/show/121
The "mega-ticket" for the overall put/get effort is:
http://code.fabfile.org/issues/show/140
This put/get stuff is what I'm working on right now, and once it's
done there's only one or two other things to take care of before 1.0
goes out -- so hopefully this will be resolved soon.
Best,
Jeff
On Mon, Dec 13, 2010 at 2:56 AM, Armon Dadgar <address@hidden> wrote:
> Hey,
> I cloned the latest version of Fabric from git last night, and I've been
> running into some issues using the put operation.
> I have a task to copy over SSH configs/keys, defined as such:
> 26 def setup_ssh():
> 27 "Setup the ssh hosts file and keys"
> 28 put("config/known_hosts", "~/.ssh/known_hosts", mode=0700)
> 29 put("config/ssh_hosts", "~/.ssh/config", mode=0700)
> 30 put("config/id_rsa", "~/.ssh/id_rsa", mode=0700)
> 31 put("config/id_rsa.pub", "~/.ssh/id_rsa.pub", mode=0700)
> However, whenever this task is run, it fails on the first put with:
> Error: The put operation failed on xxxxx.dreamhost.com:
> unsupported operand type(s) for &: 'NoneType' and 'int'
> Any ideas on how to resolve this would be appreciated. Thanks.
> Also, is there a way to suppress this warning:
> /Library/Python/2.6/site-packages/pycrypto-2.3-py2.6-macosx-10.6-universal.egg/Crypto/Util/randpool.py:40:
> RandomPool_DeprecationWarning: This application uses RandomPool, which is
> BROKEN in older releases. See http://www.pycrypto.org/randpool-broken
> Best Regards,
>
> Armon Dadgar
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org