Skip to content
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

Too many output in Circle CI #609

Closed
yosupo06 opened this issue Nov 14, 2019 · 1 comment · Fixed by #611
Closed

Too many output in Circle CI #609

yosupo06 opened this issue Nov 14, 2019 · 1 comment · Fixed by #611
Labels

Comments

@yosupo06
Copy link
Contributor

yosupo06 commented Nov 14, 2019

https://circleci.com/gh/yosupo06/Algorithm/31 などを見てもらうと早いのですが、Circle CI上でojを使用するとstripが働かず全てを出力します。

shutil.get_terminal_size()がos.terminal_size(columns=0, lines=0)を返し(https://circleci.com/gh/yosupo06/Algorithm/30 )、それが _implementation/utils.py -> snip_large_file_content.snip_char_basedのfont[-char_in_line * tail:]をバグらせているのではないか、と予想しています。

もし想定した挙動だったらすいません(手元で動かすとstripして、CI上ではstripしないというのはらしい挙動に思えたので)

@kmyk kmyk added the bug label Nov 14, 2019
@kmyk
Copy link
Member

kmyk commented Nov 14, 2019

報告ありがとうございます。想定外の挙動です。
CI 上だとしてもこれはよくないので修正します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants