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

Tabview crashes when sorting a column #168

Open
doronaco opened this issue Nov 18, 2020 · 1 comment
Open

Tabview crashes when sorting a column #168

doronaco opened this issue Nov 18, 2020 · 1 comment

Comments

@doronaco
Copy link

doronaco commented Nov 18, 2020

Reproduce

  • Run tabview raw-results.csv
  • Sort by column short_before by clicking s
  • Alternatively just scroll with page down until it crashes

Crash:

Traceback (most recent call last):
  File "/Users/doron/Library/Python/3.8/bin/tabview", line 108, in <module>
    view(data, enc=args.encoding, start_pos=start_pos,
  File "/Users/doron/Library/Python/3.8/lib/python/site-packages/tabview/tabview.py", line 1319, in view
    curses.wrapper(main, buf,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/curses/__init__.py", line 105, in wrapper
    return func(stdscr, *args, **kwds)
  File "/Users/doron/Library/Python/3.8/lib/python/site-packages/tabview/tabview.py", line 1250, in main
    Viewer(stdscr, *args, **kwargs).run()
  File "/Users/doron/Library/Python/3.8/lib/python/site-packages/tabview/tabview.py", line 711, in run
    self.display()
  File "/Users/doron/Library/Python/3.8/lib/python/site-packages/tabview/tabview.py", line 867, in display
    addstr(self.scr, yc, xc, s, attr)
  File "/Users/doron/Library/Python/3.8/lib/python/site-packages/tabview/tabview.py", line 37, in addstr
    return scr.addstr(*args)
_curses.error: addwstr() returned ERR

System:
OSX: 10.15.6 (19G2021)
tabview: 1.4.4

raw-results.csv.zip

@doronaco
Copy link
Author

looks related to #132

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

No branches or pull requests

1 participant