Provide a way to supress progressbar, but display exceptions
See original GitHub issueI we provide the --quiet option, pip does not display exceptions like this:
install_requires=get_install_requires(),
File "/tmp/pip-build-QuFDf8/selectable-tbz/setup.py", line 7, in get_install_requires
return [str(entry.req) for entry in requirements if not entry.editable]
File "/home/modwork_vums_di995/lib/python2.7/site-packages/pip/req/req_file.py", line 31, in parse_requirements
"parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'
Please give us an option to supress the progressbar, but display exceptions.
Thank you.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:6
- Comments:29 (11 by maintainers)
Top Results From Across the Web
curl hide progress bar output on Linux/Unix shell scripts
Linux/Unix curl hide progress bar output: Explains how to hide progress bar output when using the curl command at the CLI.
Read more >How do I get cURL to not show the progress bar but still ...
So you can use: curl -Lo /dev/null --no-progress-meter stackoverflow.com. That will print nothing on success, and the error on failure.
Read more >Hide PowerShell Progress Bars
SilentlyContinue – Executes the command without displaying a progress bar. Temporarily change $ProgressPreference. We don't have to decide to ...
Read more >Curl: Display progress bar but supress errors
I have the following command: curl --progress-bar -f url --output file | some command. Progress bar is send to some command for editing....
Read more >Write-Progress (Microsoft.PowerShell.Utility)
The Write-Progress cmdlet displays a progress bar in a PowerShell command window ... how PowerShell displays certain information using ANSI escape sequences.
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 Free
Top 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

A little more forcefully this time since it clearly got lost in the mess above (two years ago, sigh):
Regardless of whether pip9 allows turning the progress bar off or not, the fact that
--quietsuppresses FATAL ERRORS AND STACK TRACES cannot reasonably be described as anything other than a bug.The linked message from the distutils-sig mailing list suggests that the full release of pip 10 is “one or two months away” in…October of 2017 (nearly five months ago). And even once 10 comes out of beta, it can be safely assumed that given the API differences that many shops will continue using pip9 for months or years to come as they prioritize their conversions.
@AvnerCohen if I managed to put together a PR for pip9 that fixed only this misbehavior, is there any chance at all that it would be accepted and released?
+1 on this. Hilariously, I ran into this issue in the exact same context: installation of cffi failed in a jenkins build that didn’t have libffi.so available, and
--quietsuppressed the error completely.Adding an option to disable only the progress bar would be nice, but having
--quietsuppress stack traces / fatal error output from inside pip seems like an outright bug. If I wanted to suppress all output including fatal errors, I already know how to use2>&1 >/dev/null😃