k6control icon indicating copy to clipboard operation
k6control copied to clipboard

curses error: TypeError: integer argument expected, got float

Open thorstenkampe opened this issue 6 years ago • 2 comments

Traceback (most recent call last):
  File "k6control.py", line 293, in <module>
    main()
  File "k6control.py", line 46, in main
    curses.wrapper(run)
  File "F:\PortableApps\Python\lib\curses\__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "k6control.py", line 70, in run
    status_window = StatusWindow(stdscr)
  File "k6control.py", line 215, in __init__
    self.resize()
  File "k6control.py", line 220, in resize
    self.win = self.stdscr.subwin(self.height, self.width, 0, 0)
TypeError: integer argument expected, got float

thorstenkampe avatar Oct 11 '18 18:10 thorstenkampe

Same in line 226

thorstenkampe avatar Oct 11 '18 18:10 thorstenkampe

and in line 250

thorstenkampe avatar Oct 11 '18 18:10 thorstenkampe