ondemand icon indicating copy to clipboard operation
ondemand copied to clipboard

Shell app doesn't render mamba output.

Open nlvw opened this issue 3 years ago • 3 comments

The shell app, as provided in v2.0.28, doesn't render most apps that have progress bars and similar text graphics. A good example of this is the mamba package manager.

Easy way to reproduce the broken rendering is to install the mambaforge conda distribution and try to use mamba to install a new environment. Normal terminal this works fine but in the OOD shell app it doesn't render.

I've tested this same thing with xterm.js, using my ttyd interactive app, and it works fine there. So it is most likely a problem with hterm.

$ mamba clean -a -y
$ mamba create -n test python ipykernel jupyterlab

Regular Terminal/xterm.js: image ... ... image

OOD shell / hterm: image ... ... image ... ... image

After the broken rending you get the final output but the yes/no prompt ends up missing.

┆Issue is synchronized with this Asana task by Unito

nlvw avatar Aug 31 '22 21:08 nlvw

Thanks for the ticket, and the details.

johrstrom avatar Sep 01 '22 13:09 johrstrom

According to my colleague shell works in firefox, but chrome gives the following javascript error where Firefox does not in hterm_all_1.8.5.js Uncaught TypeError: it.next is not a function

moskalenko avatar Sep 23 '22 14:09 moskalenko

Upgrading hterm in OnDemand to 1.91 appears to resolve the issue in Chrome.

moskalenko avatar Sep 23 '22 14:09 moskalenko