question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

put() not expanding tildes correctly

See original GitHub issue

Description

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:closed
  • Created 12 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
peterbjorgensencommented, Jan 7, 2021

I think this bug is back. I am using fabric 2.5.0 on Arch linux with python 3.9.1

0reactions
pope1nicommented, Nov 2, 2011

Indeed. And fair point.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found