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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 19 06:51:20 UTC 2013


#7990: NameError: global name 'enumeration' is not defined
---------------------+------------------------------------------------------
 Reporter:  gsathya  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  arm      |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------
 steps to reproduce -
 1) menu -> view -> connections
 2) menu -> connections -> fingerprint

 running on latest arm master(69e196defd289e9e160cf938fc2b5228082ea5c4)
 {{{
 gsathya at nub:~/arm$ ./arm
 Traceback (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 189, in
 setListingType
     armConf.set("features.connection.listingType",
 enumeration.keys()[Listing.index_of(listingType)])
 NameError: global name 'enumeration' is not defined
 }}}

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


More information about the tor-bugs mailing list