[tor-bugs] #8698 [Torflow]: TypeError: __init__() got an unexpected keyword argument 'use_unmeasured'

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Apr 14 11:18:43 UTC 2013


#8698: TypeError: __init__() got an unexpected keyword argument 'use_unmeasured'
----------------------+-----------------------------------------------------
 Reporter:  ln5       |          Owner:  aagbsn
     Type:  defect    |         Status:  new   
 Priority:  critical  |      Milestone:        
Component:  Torflow   |        Version:        
 Keywords:            |         Parent:        
   Points:            |   Actualpoints:        
----------------------+-----------------------------------------------------

Comment(by ln5):

 That's what I'm running.
 {{{
 bash-4.2$ pwd
 /home/bwscanner/torflow/TorCtl
 bash-4.2$ git log --oneline | head
 68bc5de 8399 - Do not return 0 from get_unmeasured_bw
 e6c7fd7 8273 - Remove Fast Flag requirement for measurements
 e27fb55 6131 - BwAuths learn to recognize Unmeasured=1 in consensus
 853cb1e Mention stem and txtorcon as alternatives.
 305a759 Turn an exception into a log.
 3de9176 Make memory-only sqlite work.
 391b439 Don't round the circ fail rate.
 66ed91b Merge commit 'a58246918f58f3fc5663f8772df39cdcd3ccce8d'
 a582469 Add TorCtl piece of the fix for #1984.
 e15ed99 Bug #4097: Clear old last_exit before requesting a new one
 bash-4.2$ git status --untracked-files=no
 # On branch master
 nothing to commit (use -u to show untracked files)
 }}}

 There is no such thing as use_unmeasured in
 PathSupport.SelectionManager.__init__() (or its superclass)
 though. Should it? 2ce8f6d7 in torflow.git does try to use it:

 {{{
 bash-4.2$ egrep -n use_unm *.py
 bwauthority_child.py:69:      use_unmeasured=True)
 }}}

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


More information about the tor-bugs mailing list