[tor-bugs] #5493 [Stem]: run_tests.py fails on Windows

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Mar 27 06:22:00 UTC 2012


#5493: run_tests.py fails on Windows
----------------------+-----------------------------------------------------
 Reporter:  reganeet  |          Owner:  atagar
     Type:  defect    |         Status:  new   
 Priority:  normal    |      Milestone:        
Component:  Stem      |        Version:        
 Keywords:            |         Parent:        
   Points:            |   Actualpoints:        
----------------------+-----------------------------------------------------
 When running run_tests.py on Windows, it will complain that "'module'
 object has no attribute 'sysconf'". The reason it that os.sysconf, which
 is used out of a try/except clause in stem.util.proc, is undefined on
 Windows. It should fail gracefully rather than raise an exception. I've
 fixed it, and my public repo is: https://github.com/beckbaibai/stem

 However, it's not the only bug. The program can't find tor even though
 I've installed it. It says "Unable to start tor, 'tor' does not exists." I
 don't know the reason yet.

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


More information about the tor-bugs mailing list