[tor-bugs] #6206 [Stem]: logging error of integ tests on Windows
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sun Jul 8 03:49:51 UTC 2012
#6206: logging error of integ tests on Windows
----------------------+-----------------------------------------------------
Reporter: reganeet | Owner: reganeet
Type: defect | Status: needs_information
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
Changes (by atagar):
* status: new => needs_information
Comment:
> This problem might be related to time.strftime() on Windows
Yup, turns out that time.strftime is partly platform specific...
http://stackoverflow.com/questions/10807164/python-time-formatting-
different-in-windows
Issue is probably our two "datefmt = '%D %H:%M:%S'" entries...
https://gitweb.torproject.org/stem.git/blob/HEAD:/stem/util/log.py#l164
The strftime pydocs has %H, %M, and %S but not %D so that's probably Linux
specific. I'm using it to provide the date, for example...
{{{
07/07/12 20:40:27 [INFO] We made a PROTOCOLINFO version 1 query...
}}}
Pushed a change that should fix this...
https://gitweb.torproject.org/stem.git/commitdiff/a325a40
Mind checking if it works now?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6206#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list