[tor-bugs] #7990 [arm]: NameError: global name 'enumeration' is not defined

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 19 07:08:24 UTC 2013


#7990: NameError: global name 'enumeration' is not defined
------------------------+---------------------------------------------------
    Reporter:  gsathya  |       Owner:  atagar  
        Type:  defect   |      Status:  reopened
    Priority:  normal   |   Milestone:          
   Component:  arm      |     Version:          
  Resolution:           |    Keywords:          
      Parent:           |      Points:          
Actualpoints:           |  
------------------------+---------------------------------------------------
Changes (by gsathya):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 fun. new stacktrace for the same bug

 {{{
 gsathya at nub:~/arm$ ./armTraceback (most recent call last):
   File "./src/starter.py", line 478, in <module>
     cli.controller.startTorMonitor(time.time() - initTime)
   File "/home/gsathya/arm/src/cli/controller.py", line 564, in
 startTorMonitor
     curses.wrapper(drawTorMonitor, startTime)
   File "/usr/lib/python2.6/curses/wrapper.py", line 43, in wrapper
     return func(stdscr, *args, **kwds)
   File "/home/gsathya/arm/src/cli/controller.py", line 635, in
 drawTorMonitor
     cli.menu.menu.showMenu()
   File "/home/gsathya/arm/src/cli/menu/menu.py", line 114, in showMenu
     cursor.handleKey(key)
   File "/home/gsathya/arm/src/cli/menu/menu.py", line 46, in handleKey
     else: self._isDone = self._selection.select()
   File "/home/gsathya/arm/src/cli/menu/item.py", line 198, in select
     self._group.action(self._arg)
   File "/home/gsathya/arm/src/cli/connections/connPanel.py", line 186, in
 setListingType
     armConf.set("features.connection.listingType",
 listingType.keys()[Listing.index_of(listingType)])
 AttributeError: 'str' object has no attribute 'keys'
 Exception in thread Thread-5 (most likely raised during interpreter
 shutdown):
 Traceback (most recent call last):
   File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
   File "/home/gsathya/arm/src/cli/connections/connPanel.py", line 303, in
 run
   File "/usr/lib/python2.6/threading.py", line 137, in release
 <type 'exceptions.TypeError'>: 'NoneType' object is not callable
 Exception in thread Thread-2 (most likely raised during interpreter
 shutdown):
 Traceback (most recent call last):
   File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
   File "/home/gsathya/arm/src/cli/headerPanel.py", line 407, in run
   File "/usr/lib/python2.6/threading.py", line 137, in release
 <type 'exceptions.TypeError'>: 'NoneType' object is not callable
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7990#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list