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.

AttributeError: 'function' object has no attribute 'isatty' (progress.py, line 163)

See original GitHub issue

The library is throwing the following exception w. MacOS High Sierra 10.13.6 (17G8030):

  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/alive_progress/progress.py", line 163, in alive_bar
    if sys.stdout.isatty() or config.force_tty:
AttributeError: 'function' object has no attribute 'isatty'
```. Need to first check if sys.stdout is not null in case output is being supressed?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rsalmeicommented, Jan 26, 2020

Fixed in 1.3.3, please let me know if that’s ok.

0reactions
rsalmeicommented, Jan 26, 2020

Related to #20

Read more comments on GitHub >

github_iconTop Results From Across the Web

ConsoleBuffer' object has no attribute 'isatty' - Stack Overflow
From the title of your question, it sounds like you're hitting a AttributeError: 'ConsoleBuffer' object has no attribute 'isatty' error in a ...
Read more >
mod_wsgi Documentation - Read the Docs
mod_wsgi from the command line with an automatically generated configuration. ... AttributeError: 'module' object has no attribute 'B'.
Read more >
IPython Documentation
1. Provide an interactive shell superior to Python's default. IPython has many features for object in- trospection, system shell access, ...
Read more >
AttributeError: '_WriteStream' object has no attribute 'isatty'
While trying to run pytest on a package in REPL (for https://github.com/pyodide/pyodide/issues/1791), >>> import pytest >>> import micropip ...
Read more >
Change history — Celery 2.3.5 documentation
Similarly, the task.accept_magic_kwargs attribute will no longer have any effect ... saying: AttributeError: 'module' object has no attribute 'system' ,.
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