put() not expanding tildes correctly
See original GitHub issueDescription
IRC user mercurial
reports that when he calls put('blah.tar.gz', '~/target_existing_directory')
, Fabric spits out a “File not found” IOError abort. Replacing the tilde with an absolute path works correctly. This implies that the tilde replacement is broken.
For reference, his local system is OS X 10.6 and his remote is Ubuntu 10.04.
Originally submitted by Jeff Forcier (bitprophet) on 2011-03-18 at 07:37pm EDT
Issue Analytics
- State:
- Created 12 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Tildes (~) not expanding in command-line options for ... - GitHub
So it looks like there's only a problem when the tilde needs to be expanded. And now that my classpath includes two paths,...
Read more >Prevent bash expansion of tilde ("~") when assigned to a ...
Don't build up a string (or at least, a single string) and expect word-splitting to break it correctly into two arguments. scpcloud() {...
Read more >Tilde/Backtick button not working on Windows 10 - Super User
I experienced a similar issue with the backtick key not working directly -- on the second keypress, it would type two backticks.
Read more >3.4. Shell expansion
A correctly-formed brace expansion must contain unquoted opening and closing braces, and at least one unquoted comma. Any incorrectly formed brace expansion is ......
Read more >Why couldn't I use ' ~ ' instead of ' /home/username/ ' when ...
Tilde expansion in python. The answer is short & simple: python does not expand ~ unless you use: import os os ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this bug is back. I am using fabric 2.5.0 on Arch linux with python 3.9.1
Indeed. And fair point.