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

[tor-bugs] #7837 [arm]: arm crashes when I open the conenctions page



#7837: arm crashes when I open the conenctions page
--------------------------+-------------------------------------------------
 Reporter:  SoakedNoodle  |          Owner:  atagar
     Type:  defect        |         Status:  new   
 Priority:  critical      |      Milestone:        
Component:  arm           |        Version:        
 Keywords:  arm           |         Parent:        
   Points:                |   Actualpoints:        
--------------------------+-------------------------------------------------
 When I use the left/right buttons or the menu option.
 version 1.4.6_dev

 {{{
 Traceback (most recent call last):
 Â File "arm/src/starter.py", line 497, in <module>
 ÂÂÂ cli.controller.startTorMonitor(time.time() - initTime)
 Â File "/home/soakednoodle/arm/src/cli/controller.py", line 569, in
 startTorMonitor
 ÂÂÂ curses.wrapper(drawTorMonitor, startTime)
 Â File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
 ÂÂÂ return func(stdscr, *args, **kwds)
 Â File "/home/soakednoodle/arm/src/cli/controller.py", line 624, in
 drawTorMonitor
 ÂÂÂ control.redraw(False)
 Â File "/home/soakednoodle/arm/src/cli/controller.py", line 341, in redraw
 ÂÂÂ panelImpl.redraw(force)
 Â File "/home/soakednoodle/arm/src/util/panel.py", line 408, in redraw
 ÂÂÂ self.draw(self.maxX, self.maxY)
 Â File "/home/soakednoodle/arm/src/cli/connections/connPanel.py", line
 388, in draw
 ÂÂÂ drawEntry = entryLine.getListingEntry(width - scrollOffset -
 len(prefix), currentTime, self._listingType)
 Â File "/home/soakednoodle/arm/src/cli/connections/connEntry.py", line
 290, in getListingEntry
 ÂÂÂ myListing = entries.ConnectionPanelLine.getListingEntry(self, width,
 currentTime, listingType)
 Â File "/home/soakednoodle/arm/src/cli/connections/entries.py", line 136,
 in getListingEntry
 ÂÂÂ self._listingCache = self._getListingEntry(width, currentTime,
 listingType)
 Â File "/home/soakednoodle/arm/src/cli/connections/connEntry.py", line
 324, in _getListingEntry
 ÂÂÂ (self._getListingContent(width - (12 + timeWidth) - 1, listingType),
 lineFormat),
 Â File "/home/soakednoodle/arm/src/cli/connections/connEntry.py", line
 545, in _getListingContent
 ÂÂÂ dstAddress = self.getDestinationLabel(26, includeLocale = True)
 Â File "/home/soakednoodle/arm/src/cli/connections/connEntry.py", line
 828, in getDestinationLabel
 ÂÂÂ foreignLocale = self.foreign.getLocale("??")
 Â File "/home/soakednoodle/arm/src/cli/connections/connEntry.py", line
 111, in getLocale
 ÂÂÂ return conn.getInfo("ip-to-country/%s" % self.ipAddr, default)
 Â File "/home/soakednoodle/arm/src/util/torTools.py", line 441, in getInfo
 ÂÂÂ return self.controller.get_info(param, default)
 Â File "/home/soakednoodle/arm/src/stem/control.py", line 841, in get_info
 ÂÂÂ log.warn("Tor's geoip database is unavailable.")
 Â File "/home/soakednoodle/arm/src/stem/util/log.py", line 153, in warn
 ÂÂÂ def warn(message):ÂÂ log(Runlevel.WARN, message)
 Â File "/home/soakednoodle/arm/src/stem/util/log.py", line 128, in log
 ÂÂÂ LOGGER.log(LOG_VALUES[runlevel], message)
 Â File "/usr/lib/python2.7/logging/__init__.py", line 1203, in log
 ÂÂÂ self._log(level, msg, args, **kwargs)
 Â File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
 ÂÂÂ self.handle(record)
 Â File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
 ÂÂÂ self.callHandlers(record)
 Â File "/usr/lib/python2.7/logging/__init__.py", line 1308, in
 callHandlers
 ÂÂÂ hdlr.handle(record)
 Â File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
 ÂÂÂ self.emit(record)
 Â File "/home/soakednoodle/arm/src/cli/logPanel.py", line 584, in emit
 ÂÂÂ eventColor = RUNLEVEL_EVENT_COLOR[record.levelname]
 KeyError: 'WARNING'
 }}}

 I think "Tor's geoip database is unavailable." shouldn't fail this hard,
 right?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7837>
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