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 <[email protected]> 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 <[email protected]> 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 >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/fab-user > _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
