-
Notifications
You must be signed in to change notification settings - Fork 141
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
pressing escape to exit a popup makes s-tui crash #50
Comments
Thank you for opening a bug report, |
maybe I wasn't clear about the mouse part:
|
Could be terminal related? |
well I was doing it in screen when it failed, so I tried it in a gnome terminal (I use xfce) and it was harder to get it to do it, but I just went all spazzy clicking on help and hitting escape, and eventually it failed. |
Bars used to alternate in color which might be confusing. Now the are kept in the original color they were created. + Add fix for #50, an attribute error in urwid causes a crash, this will restart the view when this happens
@nixomose I have added a fix for this bug in the latest version. |
that seems to have fixed it, thanks. |
Step 1: Describe your environment
Step 2: Describe the problem:
Observed Results:
open up the help window, hit escape once or twice, then click help again
Traceback (most recent call last):
File "/usr/local/bin/s-tui", line 9, in
load_entry_point('s-tui==0.6.7.2', 'console_scripts', 's-tui')()
File "/usr/local/lib/python3.5/dist-packages/s_tui/s_tui.py", line 680, in main
graph_controller.main()
File "/usr/local/lib/python3.5/dist-packages/s_tui/s_tui.py", line 544, in main
self.loop.run()
File "/usr/local/lib/python3.5/dist-packages/urwid/main_loop.py", line 278, in run
self._run()
File "/usr/local/lib/python3.5/dist-packages/urwid/main_loop.py", line 376, in _run
self.event_loop.run()
File "/usr/local/lib/python3.5/dist-packages/urwid/main_loop.py", line 682, in run
self._loop()
File "/usr/local/lib/python3.5/dist-packages/urwid/main_loop.py", line 719, in _loop
self._watch_filesfd
File "/usr/local/lib/python3.5/dist-packages/urwid/raw_display.py", line 393, in
event_loop, callback, self.get_available_raw_input())
File "/usr/local/lib/python3.5/dist-packages/urwid/raw_display.py", line 466, in parse_input
codes, wait_for_more)
File "/usr/local/lib/python3.5/dist-packages/urwid/escape.py", line 385, in process_keyqueue
if run[0] == "esc" or run[0].find("meta ") >= 0:
AttributeError: 'tuple' object has no attribute 'find'
Debug Results, output of
s-tui -d
created in a file_s-tui.log
:Step 3: Reproduce the problem:
Steps to reproduce:
The text was updated successfully, but these errors were encountered: