AttributeError: 'RouterStatusEntryV3' object has no attribute 'measured'
measured (int) -- bandwidth measured to be available by the relay, this is a unit-less heuristic generated by the Bandwidth authoritites to weight relay selection (https://stem.torproject.org/api/descriptor/router_status_entry.html#stem.descriptor.router_status_entry.RouterStatusEntry)
What's going on?
Edit:
Relevant code:
print TOR_CONTROLLER.get_network_status('e9c8154418544764619d2ccd0596b355d7dff236').measured
output:
******>python tor.py
Jun 25 12:29:25.000 [notice] Bootstrapped 0%: Starting
Jun 25 12:29:36.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Jun 25 12:29:37.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Jun 25 12:29:38.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Jun 25 12:29:38.000 [notice] Bootstrapped 100%: Done
>authenticating...
Traceback (most recent call last):
File "tor.py", line 271, in <module>
print TOR_CONTROLLER.get_network_status('e9c8154418544764619d2ccd0596b355d7d
ff236').measured
File "C:\Anaconda\lib\site-packages\stem\descriptor\__init__.py", line 611, in
__getattr__
return super(Descriptor, self).__getattribute__(name)
AttributeError: 'RouterStatusEntryV3' object has no attribute 'measured'
It prints the bandwidth attribute just fine, also the address attribute.