Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #3128
Closed
Open
Created May 08, 2011 by George Kadianakis@asn

"AttributeError: 'NoneType' object has no attribute 'getDetails'" by trying to select a connection, when there are no connections

Hi,

if the connection tab is empty (for example, when bootstrapping a new relay) and I press "Enter" inside it, arm crashes and I get this trace:

Traceback (most recent call last): File "./src/starter.py", line 398, in cli.controller.startTorMonitor(time.time() - initTime, expandedEvents, param["startup.blindModeEnabled"]) File "/home/user/arm/src/cli/controller.py", line 1441, in startTorMonitor curses.wrapper(drawTorMonitor, startTime, loggedEvents, isBlindMode) File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/home/user/arm/src/cli/controller.py", line 1429, in drawTorMonitor panels["conn"].handleKey(key) File "/home/user/arm/src/cli/connections/connPanel.py", line 153, in handleKey self.redraw(True) File "/home/user/arm/src/util/panel.py", line 355, in redraw self.draw(self.maxX - 1, self.maxY) File "/home/user/arm/src/cli/connections/connPanel.py", line 231, in draw drawEntries = cursorSelection.getDetails(width) AttributeError: 'NoneType' object has no attribute 'getDetails' Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner File "/home/user/arm/src/util/connections.py", line 457, in run File "/usr/lib/python2.5/threading.py", line 115, in release <type 'exceptions.TypeError'>: 'NoneType' object is not callable Exception in thread conn (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner File "/home/user/arm/src/cli/connections/connPanel.py", line 187, in run File "/usr/lib/python2.5/threading.py", line 115, in release <type 'exceptions.TypeError'>: 'NoneType' object is not callable Exception in thread header (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner File "/home/user/arm/src/cli/headerPanel.py", line 286, in run File "/usr/lib/python2.5/threading.py", line 115, in release <type 'exceptions.TypeError'>: 'NoneType' object is not callable

It's nothing important but I felt like I should report it.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking