Created
April 21, 2020 04:20
-
-
Save fujitayy/87cf18c02bb2273c6a940a40f8bb910d to your computer and use it in GitHub Desktop.
dstat OverflowError 記念
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/bin/dstat", line 2842, in <module> | |
main() | |
File "/usr/bin/dstat", line 2687, in main | |
scheduler.run() | |
File "/usr/lib/python3.7/sched.py", line 151, in run | |
action(*argument, **kwargs) | |
File "/usr/bin/dstat", line 2799, in perform | |
line = line + o.show() + o.showend(totlist, vislist) | |
File "/usr/bin/dstat", line 519, in show | |
line = line + cprintlist(self.val[name], ctype, self.width, scale) | |
File "/usr/bin/dstat", line 2087, in cprintlist | |
ret = ret + sep + cprint(var, ctype, width, scale) | |
File "/usr/bin/dstat", line 2137, in cprint | |
ret, c = dchg(var, width, base) | |
File "/usr/bin/dstat", line 2037, in dchg | |
ret = str(int(round(var))) | |
OverflowError: cannot convert float infinity to integer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment