Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Canvas text is wider than the maxcol specified #7

Open
VictorCano opened this issue Feb 22, 2016 · 4 comments
Open

Canvas text is wider than the maxcol specified #7

VictorCano opened this issue Feb 22, 2016 · 4 comments
Labels
Milestone

Comments

@VictorCano
Copy link

Hi!

I was just using crate-top while stress testing a cluster, and it exited a few times with the following error:

File "/Users/victorcano/Desktop/playground/crate-top/eggs/urwid-1.3.1-py3.5-macosx-10.11-x86_64.egg/urwid/canvas.py", line 356, in init
raise CanvasError("Canvas text is wider than the maxcol specified \n%r\n%r\n%r"%(maxcol,widths,text))
urwid.canvas.CanvasError: Canvas text is wider than the maxcol specified
89
[104]
[b'Jessica D [**************************************************************************************119.8%]']

I believe it's because of the readings giving more than 100% of CPU at the time.

Thanks!

@chaudum
Copy link
Owner

chaudum commented Feb 23, 2016

hi @VictorCano
thanks for reporting. the CPU usage shouldn't actually exceed 100%
need to investigate how/when this can happen.

@chaudum chaudum added the bug label Feb 23, 2016
@chaudum chaudum added this to the 0.1.x milestone Feb 23, 2016
@VictorCano
Copy link
Author

Don't know why but it keeps happening, it only happens when a node is under heavy usage.
To be able to fix it I forced values on progressbar > 100% to 100%.

Tested for over an hour connected to the cluster and it didn't occur again, will reference the change here.

@VictorCano
Copy link
Author

#8

@reversefold
Copy link

reversefold commented Dec 3, 2016

Having this problem as well, just about as soon as I hit "1" or "2" I get the maxcol error, even if I make my terminal size very large.

BTW, here's a sample of the output of /_cat/nodes

Every 2.0s: curl -sS http://172.25.29.98:4200/_cat/nodes?v|awk 'NR<2{print;next}{print|"sort"}'

host                                      ip            heap.percent ram.percent  load node.role master name
crate-client-04.sec.vpc-50c51735.usw1.shn 172.25.10.192           18          51  0.04 -         -      crate-client-04
crate-client-05.sec.vpc-50c51735.usw1.shn 172.25.10.189           36          52  1.45 -         -      crate-client-05
crate-client-06.sec.vpc-50c51735.usw1.shn 172.25.10.186           45          52  0.06 -         -      crate-client-06
crate-client-07.sec.vpc-50c51735.usw1.shn 172.25.10.124           74          57  0.90 -         -      crate-client-07
crate-client-19.sec.vpc-50c51735.usw1.shn 172.25.24.160           71          51  0.15 -         -      crate-client-19
crate-client-20.sec.vpc-50c51735.usw1.shn 172.25.29.98            48          53  1.50 -         -      crate-client-20
crate-client-21.sec.vpc-50c51735.usw1.shn 172.25.31.69            31          51  0.16 -         -      crate-client-21
crate-client-22.sec.vpc-50c51735.usw1.shn 172.25.29.215           40          57  0.75 -         -      crate-client-22
crate-data-01.sec.vpc-50c51735.usw1.shn   172.25.14.145           58          54  5.97 d         -      crate-data-01
crate-data-02.sec.vpc-50c51735.usw1.shn   172.25.24.15            55          54  6.00 d         -      crate-data-02
crate-data-03.sec.vpc-50c51735.usw1.shn   172.25.8.249            63          54  8.63 d         -      crate-data-03
crate-data-04.sec.vpc-50c51735.usw1.shn   172.25.27.25            68          54 11.07 d         -      crate-data-04
crate-data-05.sec.vpc-50c51735.usw1.shn   172.25.15.34            54          54  9.94 d         -      crate-data-05
crate-data-06.sec.vpc-50c51735.usw1.shn   172.25.29.88            68          54  3.77 d         -      crate-data-06
crate-data-07.sec.vpc-50c51735.usw1.shn   172.25.12.226           45          54  5.75 d         -      crate-data-07
crate-data-08.sec.vpc-50c51735.usw1.shn   172.25.26.144           66          54  3.62 d         -      crate-data-08
crate-data-09.sec.vpc-50c51735.usw1.shn   172.25.13.122           71          53  2.78 d         -      crate-data-09
crate-data-10.sec.vpc-50c51735.usw1.shn   172.25.26.51            52          54  6.77 d         -      crate-data-10
crate-data-11.sec.vpc-50c51735.usw1.shn   172.25.14.37            65          54  1.71 d         -      crate-data-11
crate-data-12.sec.vpc-50c51735.usw1.shn   172.25.30.206           53          54  2.78 d         -      crate-data-12
crate-data-13.sec.vpc-50c51735.usw1.shn   172.25.8.127            46          55  4.37 d         -      crate-data-13
crate-data-14.sec.vpc-50c51735.usw1.shn   172.25.28.121           39          54  5.24 d         -      crate-data-14
crate-data-15.sec.vpc-50c51735.usw1.shn   172.25.11.156           43          54  8.51 d         -      crate-data-15
crate-data-16.sec.vpc-50c51735.usw1.shn   172.25.25.158           47          54  5.30 d         -      crate-data-16
crate-data-17.sec.vpc-50c51735.usw1.shn   172.25.10.83            65          54 11.13 d         -      crate-data-17
crate-data-18.sec.vpc-50c51735.usw1.shn   172.25.31.163           62          55  4.95 d         -      crate-data-18
crate-data-19.sec.vpc-50c51735.usw1.shn   172.25.12.35            50          54  4.15 d         -      crate-data-19
crate-data-20.sec.vpc-50c51735.usw1.shn   172.25.27.142           67          54  4.02 d         -      crate-data-20
crate-data-21.sec.vpc-50c51735.usw1.shn   172.25.10.155           45          54  8.34 d         -      crate-data-21
crate-data-22.sec.vpc-50c51735.usw1.shn   172.25.31.181           33          54  4.39 d         -      crate-data-22
crate-data-23.sec.vpc-50c51735.usw1.shn   172.25.14.232           44          54  6.42 d         -      crate-data-23
crate-data-24.sec.vpc-50c51735.usw1.shn   172.25.26.138           43          54  6.88 d         -      crate-data-24
crate-data-25.sec.vpc-50c51735.usw1.shn   172.25.31.22            64          54  6.30 d         -      crate-data-25
crate-data-26.sec.vpc-50c51735.usw1.shn   172.25.12.30            52          54  9.63 d         -      crate-data-26
crate-data-27.sec.vpc-50c51735.usw1.shn   172.25.10.87            53          54  5.60 d         -      crate-data-27
crate-data-28.sec.vpc-50c51735.usw1.shn   172.25.28.102           49          54 11.99 d         -      crate-data-28
crate-data-29.sec.vpc-50c51735.usw1.shn   172.25.15.175           41          54 13.25 d         -      crate-data-29
crate-data-30.sec.vpc-50c51735.usw1.shn   172.25.25.69            54          54  4.48 d         -      crate-data-30
crate-data-31.sec.vpc-50c51735.usw1.shn   172.25.12.224           50          54  6.64 d         -      crate-data-31
crate-data-32.sec.vpc-50c51735.usw1.shn   172.25.24.147           50          54  8.57 d         -      crate-data-32
crate-data-33.sec.vpc-50c51735.usw1.shn   172.25.15.165           55          54 12.75 d         -      crate-data-33
crate-data-34.sec.vpc-50c51735.usw1.shn   172.25.27.253           56          54  6.65 d         -      crate-data-34
crate-data-35.sec.vpc-50c51735.usw1.shn   172.25.14.201           66          54  5.41 d         -      crate-data-35
crate-data-36.sec.vpc-50c51735.usw1.shn   172.25.24.96            51          54 13.69 d         -      crate-data-36
crate-data-37.sec.vpc-50c51735.usw1.shn   172.25.26.162           43          54  4.01 d         -      crate-data-37
crate-data-38.sec.vpc-50c51735.usw1.shn   172.25.9.158            50          54  7.83 d         -      crate-data-38
crate-data-39.sec.vpc-50c51735.usw1.shn   172.25.28.152           47          54 10.93 d         -      crate-data-39
crate-data-40.sec.vpc-50c51735.usw1.shn   172.25.10.187           60          54 11.05 d         -      crate-data-40
crate-data-41.sec.vpc-50c51735.usw1.shn   172.25.29.62            53          54  7.23 d         -      crate-data-41
crate-data-42.sec.vpc-50c51735.usw1.shn   172.25.8.141            39          54  3.92 d         -      crate-data-42
crate-data-43.sec.vpc-50c51735.usw1.shn   172.25.31.66            59          54  4.08 d         -      crate-data-43
crate-data-44.sec.vpc-50c51735.usw1.shn   172.25.29.105           47          54  6.68 d         -      crate-data-44
crate-data-45.sec.vpc-50c51735.usw1.shn   172.25.10.38            71          54  8.29 d         -      crate-data-45
crate-data-46.sec.vpc-50c51735.usw1.shn   172.25.25.216           35          54  8.17 d         -      crate-data-46
crate-master-04.sec.vpc-50c51735.usw1.shn 172.25.4.163             7          60  0.04 -         *      crate-master-04
crate-master-05.sec.vpc-50c51735.usw1.shn 172.25.3.156             4          59  0.00 -         m      crate-master-05
crate-master-06.sec.vpc-50c51735.usw1.shn 172.25.22.246            4          59  0.06 -         m      crate-master-06

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

No branches or pull requests

3 participants