[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #24382 [Core Tor/Nyx]: I resized my terminal window and nyx crashed.



#24382: I resized my terminal window and nyx crashed.
-------------------------------+--------------------
     Reporter:  Dbryrtfbcbhgf  |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  High           |  Milestone:
    Component:  Core Tor/Nyx   |    Version:
     Severity:  Major          |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 I resized my terminal window and nyx crashed. Here is the traceback.

 {{{
 Traceback (most recent call last):

   File "/usr/local/bin/nyx", line 11, in <module>

     sys.exit(main())

   File "/usr/local/lib/python3.5/dist-packages/nyx/__init__.py", line 176,
 in main

     nyx.starter.main()

   File "/usr/local/lib/python3.5/dist-packages/stem/util/conf.py", line
 289, in wrapped

     return func(*args, config = config, **kwargs)

   File "/usr/local/lib/python3.5/dist-packages/nyx/starter.py", line 118,
 in main

     nyx.curses.start(nyx.draw_loop, acs_support =
 config.get('acs_support', True), transparent_background = True, cursor =
 False)

   File "/usr/local/lib/python3.5/dist-packages/nyx/curses.py", line 217,
 in start

     curses.wrapper(_wrapper)

   File "/usr/lib/python3.5/curses/__init__.py", line 94, in wrapper

     return func(stdscr, *args, **kwds)

   File "/usr/local/lib/python3.5/dist-packages/nyx/curses.py", line 215,
 in _wrapper

     function()

   File "/usr/local/lib/python3.5/dist-packages/nyx/__init__.py", line 245,
 in draw_loop

     interface.redraw(force = not key.is_null())

   File "/usr/local/lib/python3.5/dist-packages/nyx/__init__.py", line 716,
 in redraw

     panel.redraw(force = force, top = occupied)

   File "/usr/local/lib/python3.5/dist-packages/nyx/panel/__init__.py",
 line 175, in redraw

     self._last_draw_size = nyx.curses.draw(self._draw, top = self._top,
 height = self.get_height(), draw_if_resized = draw_dimension)

   File "/usr/local/lib/python3.5/dist-packages/nyx/curses.py", line 740,
 in draw

     curses_subwindow = CURSES_SCREEN.subwin(subwindow_height,
 subwindow_width, top, left)

 _curses.error: curses function returned NULL
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24382>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs