fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Problem with put() and tild expansion


From: Mohamed Lrhazi
Subject: [Fab-user] Problem with put() and tild expansion
Date: Tue, 26 Apr 2011 23:24:11 -0400

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]