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

[tor-talk] tor_autocircuit script



Hi,

I am playing around with the tor_autocircuit script 
(http://www.thesprawl.org/projects/tor-autocircuit/). When I start it, it 
always aborts with an error from torctl lib:

[...]
INFO [ Thu Jan 26 16:05:18 2012 ]: kznx: Country code not found
INFO [ Thu Jan 26 16:05:18 2012 ]: Pakalolo1984: Country code not found
INFO [ Thu Jan 26 16:05:18 2012 ]: noiseexit01b: Country code not found
INFO [ Thu Jan 26 16:05:18 2012 ]: Zwiebelschale: Country code not found
DEBUG [ Thu Jan 26 16:05:18 2012 ]: Reconfigure
ERROR [ Thu Jan 26 16:05:18 2012 ]: No routers left after restrictions 
applied!
Traceback (most recent call last):
  File "./tor-autocircuit.py", line 108, in <module>
    handler = PathSupport.StreamHandler(c, selmgr, num_circs, 
GeoIPSupport.GeoIPRouter)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 1381, 
in __init__
    CircuitHandler.__init__(self, c, selmgr, num_circs, RouterClass)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 1270, 
in __init__
    PathBuilder.__init__(self, c, selmgr, RouterClass)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 967, 
in __init__
    self.selmgr.reconfigure(self.sorted_r)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 855, 
in reconfigure
    exitgen = BwWeightedGenerator(sorted_r, self.exit_rstr, self.pathlen, 
exit=True)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 580, 
in __init__
    NodeGenerator.__init__(self, sorted_r, rstr_list)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 142, 
in __init__
    self.rewind()
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 583, 
in rewind
    NodeGenerator.rewind(self)
  File "/home/d023868/make/tor-autocircuit/TorCtl/PathSupport.py", line 157, 
in rewind
    raise RestrictionError()
TorCtl.PathSupport.RestrictionError

I played around with the parameter, but the error always seems to happen even 
if I left the script unchanged with the default values. Can someone give me a 
hint what I have to do to avoid this error.

Thanks,

Klaus

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk