[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Problem with put() and tild expansion
From: |
Mohamed Lrhazi |
Subject: |
Re: [Fab-user] Problem with put() and tild expansion |
Date: |
Wed, 27 Apr 2011 11:50:24 -0400 |
am using Fabric-1.0.1-py2.7.egg-info, installed via PIP
I also realized HOME is the default current dir anyways, so I just
replaced "~" with ".", easy workaround for me.
Thanks a lot.
Mohamed.
On Wed, Apr 27, 2011 at 11:22 AM, Jeff Forcier <address@hidden> wrote:
> Hi Mohamed,
>
> What version of Fabric are you using at the moment? There were a few bugs
> with tildes, some fixed recently, though some may still be outstanding.
>
> Thanks,
> Jeff
>
> Sent from my iPad
>
> On Apr 26, 2011, at 8:24 PM, Mohamed Lrhazi <address@hidden> wrote:
>
>> I have code does calls put() with the a destination path of ~/filename
>> and fails:
>>
>>
>>
>> put("/home/ml623/tmp/ntpupdate/test.sh","~/test.sh",mirror_local_mode=True)
>>
>> the output :
>>
>> [b-10] put: /home/ml623/tmp/ntpupdate/test.sh -> ~/test.sh
>>
>> Warning: put() encountered an exception while uploading
>> '/home/ml623/tmp/ntpupdate/test.sh'
>>
>> Underlying exception message:
>> No such file
>>
>>
>> How do I debug this further?
>> If I hard code the destination as '/home/ml623/test.sh' it works fine.
>>
>> Thanks,
>> Mohamed.
>>
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/fab-user
>