]
Jeff Cantrill commented on JBIDE-21869:
---------------------------------------
I believe these characters to be ANSI terminal control codes. This article alludes to it
and I have seen similiar when the
terminal doesnt interpret all the characters. We could probably display this correctly if
we have an ANSI compatible component.
Encoding issue in when streaming Build Logs to the console
----------------------------------------------------------
Key: JBIDE-21869
URL:
https://issues.jboss.org/browse/JBIDE-21869
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Fred Bricon
Assignee: Jeff Cantrill
Priority: Minor
Fix For: 4.4.x
Attachments: screenshot-1.png, screenshot-2.png
Create a new nodejs app, when a build is running, in the OpenShift Explorer, right click
on the build and select the Build Log... menu.
It'll start to spew weird characters eventually :
{noformat}
I0315 10:38:28.749220 1 docker.go:286] Image
"registry.access.redhat.com/openshift3/nodejs-010-rhel7:latest" not available
locally, pulling ...
I0315 10:39:16.195418 1 source.go:197] Downloading
"https://github.com/openshift/nodejs-ex.git" ...
I0315 10:39:19.670243 1 install.go:236] Using "assemble" installed from
"image:///usr/libexec/s2i/assemble"
I0315 10:39:19.670318 1 install.go:236] Using "run" installed from
"image:///usr/libexec/s2i/run"
I0315 10:39:19.670356 1 install.go:236] Using "save-artifacts" installed
from "image:///usr/libexec/s2i/save-artifacts"
---> Installing application source
---> Building your Node application from source
E0315 10:39:21.193046 1 util.go:91] npm info it worked if it ends with ok
E0315 10:39:21.193216 1 util.go:91] npm info using npm(a)2.14.13
E0315 10:39:21.193229 1 util.go:91] npm info using node(a)v0.10.40
...
E0315 10:39:27.511826 1 util.go:91] npm info prepublish nodejs-ex(a)0.0.1
ejs(a)2.4.1 node_modules/ejs
express(a)4.13.4 node_modules/express
��������� escape-html(a)1.0.3
��������� array-flatten(a)1.1.1
��������� utils-merge(a)1.0.0
��������� cookie-signature(a)1.0.6
��������� merge-descriptors(a)1.0.1
��������� fresh(a)0.3.0
��������� methods(a)1.1.2
��������� range-parser(a)1.0.3
��������� vary(a)1.0.1
��������� path-to-regexp(a)0.1.7
��������� cookie(a)0.1.5
��������� parseurl(a)1.3.1
��������� content-type(a)1.0.1
��������� etag(a)1.7.0
��������� content-disposition(a)0.5.1
��������� serve-static(a)1.10.2
��������� depd(a)1.1.0
��������� qs(a)4.0.0
��������� finalhandler(a)0.4.1 (unpipe(a)1.0.0)
��������� on-finished(a)2.3.0 (ee-first(a)1.1.1)
��������� debug(a)2.2.0 (ms(a)0.7.1)
��������� proxy-addr(a)1.0.10 (forwarded(a)0.1.0, ipaddr.js(a)1.0.5)
��������� send(a)0.13.1 (destroy(a)1.0.4, statuses(a)1.2.1, ms(a)0.7.1, mime(a)1.3.4,
http-errors(a)1.3.1)
��������� type-is(a)1.6.12 (media-typer(a)0.3.0, mime-types(a)2.1.10)
��������� accepts(a)1.2.13 (negotiator(a)0.5.3, mime-types(a)2.1.10)
mongodb(a)2.1.8 node_modules/mongodb
��������� es6-promise(a)3.0.2
��������� mongodb-core(a)1.3.5 (bson(a)0.4.22, require_optional(a)1.0.0)
��������� readable-stream(a)1.0.31 (inherits(a)2.0.1, isarray(a)0.0.1, string_decoder(a)0.10.31,
core-util-is(a)1.0.2)
E0315 10:39:27.684535 1 util.go:91] npm info ok
I0315 10:39:42.202321 1 sti.go:245] Using provided push secret for pushing
172.30.183.94:5000/node/nodejs-mongodb-example:latest image
I0315 10:39:42.202361 1 sti.go:249] Pushing
172.30.183.94:5000/node/nodejs-mongodb-example:latest image ...
{noformat}
I'm running on OSX