[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5493 [Stem]: run_tests.py fails on Windows
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs