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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Apr 6 15:16:16 UTC 2012


#5493: run_tests.py fails on Windows
----------------------+-----------------------------------------------------
 Reporter:  reganeet  |          Owner:  atagar           
     Type:  defect    |         Status:  needs_information
 Priority:  normal    |      Milestone:                   
Component:  Stem      |        Version:                   
 Keywords:            |         Parent:                   
   Points:            |   Actualpoints:                   
----------------------+-----------------------------------------------------

Comment(by reganeet):

 Unfortunately, platform.dist() is another Unix-only command. Running is on
 Windows gives me a tuple of empty strings. sys.platform works though.
 {{{
 >>> import platform
 >>> print platform.dist()
 ('', '', '')

 >>> import sys
 >>> sys.platform
 'win32'
 }}}
 You might want to consider using platform.system():
 http://docs.python.org/library/platform.html#platform.system
 It should return 'Windows' no matter the architecture is x86 or x64.

 I know that log does not help, but Stem did not print anything else about
 the integ test, and I didn't find an option like --debug or --verbose.

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


More information about the tor-bugs mailing list