[tor-bugs] #16048 [Stem]: Cannot access bandwidth attribute on RouterV3StatusEntry

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 16 16:06:03 UTC 2015


#16048: Cannot access bandwidth attribute on RouterV3StatusEntry
------------------------+--------------------
     Reporter:  tom     |      Owner:  atagar
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:
    Component:  Stem    |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------

Comment (by atagar):

 Interesting! Would you mind attaching the file it's choking on, or making
 a dump on https://paste.debian.net/?

 The stacktrace is because we expect parsing functions to only raise
 ValueErrors or KeyErrors. That aside though, I wouldn't expect that
 particular line to be raising anything so it'll take a little digging once
 I have a repro.

 On a side note, for DepicTor you might want to consider opting into
 [https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html
 #validating-the-descriptors-content decriptor validation]. Stem 1.4.0
 changes validation from being opt-out to opt-in for performance reasons,
 but for your use case the extra validation checks might be more useful
 than speed. Up to you.

 Validation would likely sidestep this particular error but still something
 we obviously should fix (and probably get a hotfix for the release).

 Thanks for the catch!

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


More information about the tor-bugs mailing list