[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 atagar):
Hi reganeet. Thanks for the fix. I'd like to wrap it in an 'is windows'
check - what does platform.dist() and sys.platform give for you under
Windows?
{{{
>>> import platform
>>> print platform.dist()
('Ubuntu', '11.04', 'natty')
>>> import sys
>>> sys.platform
'linux2'
}}}
> One is "AttributeError: 'module' object has no attribute 'uname'", which
is expected since those functions using os.uname() are not designed for
windows.
Uggg, why does OS detection need to be such a pita?
> Here is the log
Please upload the full test log to pastebin then add link to it.
Unfortunately this doesn't include the important bits for debugging (the
stacktraces).
Cheers! -Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5493#comment:5>
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