Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #24401

Closed
Open
Opened Nov 25, 2017 by Trac@tracbot

Nyx crashed when scrolling down on the Tor Configuration File page

Nyx crashed when scrolling down on the Tor Configuration File page. Here is the traceback.

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 243, in draw_loop

    keybinding.handle(key)

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

    self._action(key)

  File "/usr/local/lib/python3.5/dist-packages/nyx/panel/config.py", line 232, in _scroll

    self.redraw()

  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 746, in draw

    func(_Subwindow(subwindow_width, subwindow_height, curses_subwindow))

  File "/usr/local/lib/python3.5/dist-packages/nyx/panel/config.py", line 315, in _draw

    _draw_line(subwindow, scroll_offset, DETAILS_HEIGHT + i, entry, entry == selected, value_width, description_width)

  File "/usr/local/lib/python3.5/dist-packages/nyx/panel/config.py", line 335, in _draw_line

    attr = [CONFIG['attr.config.category_color'].get(entry.category, WHITE)]

  File "/usr/local/lib/python3.5/dist-packages/nyx/panel/config.py", line 136, in category

    return getattr(manual(self.name), 'category')

AttributeError: 'NoneType' object has no attribute 'category'

Trac:
Username: Dbryrtfbcbhgf

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#24401