Last modified: 2013-04-24 12:22:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42335, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40335 - Trim color codes in console output
Trim color codes in console output
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
OpenStackManager (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-18 19:21 UTC by Chad H.
Modified: 2013-04-24 12:22 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chad H. 2012-09-18 19:21:55 UTC
Lines in the console output contain color codes that make sense on a real console but not in the web UI.

Either they should be transformed, or stripped. The latter is probably easier.

Sample output:
 [0;36mnotice: Finished catalog run in 198.17 seconds[0m
Comment 1 Antoine "hashar" Musso (WMF) 2012-09-18 19:22:25 UTC
What about rendering the colors ? :-]
Comment 2 Chad H. 2012-09-18 20:10:29 UTC
Either or....I just figured stripping was easier.
Comment 3 Antoine "hashar" Musso (WMF) 2012-09-19 12:56:39 UTC
So I am pretty sure I looked at that already. IIRC, the ANSI escape sequence is stripped out by OpenStack so we cant reliably replace or strip them.  Need to find out with Ryan what strip them.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links