Bugs item #2618858, was opened at 2009-02-20 07:39
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=261885…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: NicDumZ — Nicolas Dumazet (nicdumz)
Assigned to: Russell Blau (russblau)
Summary: logfiles format
Initial Comment:
output created in pagegenerators log after running "python
pywikibot/pagegenerators.py -cat:1918 -debug" contains control characters :
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT Grippe de 1918
[0m
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT 1918 en bande dessinée
[0m
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT Armistice de Moudros
[0m
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT Déclaration d'indépendance de
la Lituanie
[0m
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT Guerre d'indépendance
lettone
[0m
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT 1918
[0m
and so on...
Also, I find it strange to have terminal_interface logging STDOUT, when in fact
pagegenerators is calling output() =)
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-02-25 05:06
Message:
To clarify my unclear "I find it strange to have terminal_interface logging
STDOUT, when in
fact pagegenerators is calling output()":
Is it possible to have, instead of :
2009-02-20 15:28:59 terminal_interface.py, 126: STDOUT
2009-02-20 15:28:59 pagegenerators.py, xxx: STDOUT ? I believe that the
file and line calling output() would be more relevant here than the line
calling logging.log !
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-02-25 05:01
Message:
Well, the logs are okay since that rev, but the terminal output is broken
now :P
$python pywikibot/pagegenerators.py -cat:1918 -debug
Found 1 wikipedia:fr processes running, including this one.
Password for user DumZiBoT on wikipedia:fr:
Logging in to wikipedia:fr as DumZiBoT
Should be logged in now
Grippe de 19181918 en bande dessinéeArmistice de MoudrosDéclaration
d'indépendance de la LituanieGuerre d'indépendance lettone19181918 en
Suisse1918 dans les parcs d'attractions1918 en littérature1918 en musique
classiqueInsurrection de Grande-Pologne (1918-1919)Guerres d'indépendance
lituaniennesRéforme d'OctobreGrève générale de 1918 en Suisse1918 dans
les chemins de fer1918 (Chronologie de Dada et du surréalisme)1918 au
théâtreQuébec, Printemps 19181918 en architectureRévolution
allemande1918 en France1918 en science1918 en aéronautiqueIl tritticoSuor
AngelicaTraité de Brest-LitovskAmerican Expeditionary Force1918 en
musiqueTraité de Bucarest (1918)Guerre polono-ukrainienne1918 au Québec$
It seems that the ending lines are stripped for terminal output :)
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-02-23 21:32
Message:
This should be fixed after r6431; please advise if the problem is resolved
on your machine.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=261885…