-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pseudo-tty verbosity #2664
Comments
I wonder how people using gitlab are dealing with stuff like wget and other tools that have progress bars? I have run into similar issues previously and using |
CC @BernMcCarty |
Looks like the issue was that -q is not working #2665 , so there is no need for any of those possible solutions. |
It appears gitlab has known about their \r problem for two years. |
As @BernMcCarty mentions, |
Redirecting stderr to a file in order to get the progress to turn itself off worries me because if there is one thing that I really need to see in my CI logs it is errors. I'd rather manually turn progress off with something like a |
@BernMcCarty I usually do something like:
that way if mycmd fails, I get the last part of the log with the errors. |
doesn't |
@casperdcl I think you are right. Seems to work. Clever. |
much hack such fun |
closing as stale. |
continuing discussion from #2659,
Envs like gitlab don't support carriage return
\r
so progressbar updates get printed on new lines (https://github.com/tqdm/tqdm#faq-and-known-issues).possible solutions
To disable and/or reduce progress frequency:
os.environ
for gitlab (and other CI?) env varsdvc ... 2>/tmp/dvc-stderr.log
)dvc ... 2>&1 | tee
)related to #2329, #2332
The text was updated successfully, but these errors were encountered: