Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
sys.stderr does not always have an attribute isatty() #16659
Comments
|
I tried the following workaround but it didn't work:
When I call |
|
Something in your setup patches |
|
Yeah, I know something does that. The problem is youtube-dl should work
with it. It’s not like it’s necessary when I am invoking youtube-dl from
within Python in the quiet mode.
…On Fri, Jun 8, 2018 at 11:26 PM Sergey M. ***@***.***> wrote:
Closed #16659 <#16659>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16659 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Aii--qYiUgCKwluQ7qWuxiv29kuFuPbNks5t6sjXgaJpZM4UdIXr>
.
|
|
Quoted from Python 2.7 official documentation:
This buf effects some advanced GUI programs that redirect |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.06.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
I even have the quiet mode activated. You should add something like
hasattr(sys.stdout, "isatty")there.BTW, this problem arises only when I run the script via iPython in an SSH session. I guess the SSH terminal is 'weak'? If so, can't I just somehow make it fake a more powerful terminal?