[tor-bugs] #10855 [arm]: Arm crashes when run remotely
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Feb 9 18:55:19 UTC 2014
#10855: Arm crashes when run remotely
--------------------+------------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: arm | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+------------------------
Filing on behalf of johnakabean...
{{{
Traceback (most recent call last):
File "/usr/share/arm/starter.py", line 578, in <module>
cli.controller.startTorMonitor(time.time() - initTime)
File "/usr/share/arm/cli/controller.py", line 700, in
startTorMonitor
curses.wrapper(drawTorMonitor, startTime)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/share/arm/cli/controller.py", line 720, in
drawTorMonitor
initController(stdscr, startTime)
File "/usr/share/arm/cli/controller.py", line 86, in initController
firstPagePanels.append(cli.logPanel.LogPanel(stdscr,
expandedEvents, config))
File "/usr/share/arm/cli/logPanel.py", line 652, in __init__
self.reprepopulateEvents()
File "/usr/share/arm/cli/logPanel.py", line 696, in
reprepopulateEvents
torEventBacklog = getLogFileEntries(setRunlevels, readLimit,
addLimit, self._config)
File "/usr/share/arm/cli/logPanel.py", line 251, in
getLogFileEntries
sIndex = runlevels.index(loggingTypes)
ValueError: '[HTTP,OR,PROTOCOL,EDGE,APP,CIRC]NOTICE' is not in list
}}}
If you connect to tor's console remotely, of course ARM is unable to
read the log. I see by the python that its supposed to say, in this
case, "unable to read tor's logfile" but, instead, it crashes with the
above. The workaround is to disable it executing this part of pything,
by putting, in the armrc, "features.panels.show.log false"
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10855>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list