You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the most important packages for Jupyter does not work correctly in Helium. Each update of the progress bar is drawn on a new line. This is due to incorrect processing of the CR character.
The main problem right now is that we don't handle text streams in a way that supports overwriting the previous line as is done by tqdm. While this is definitely a bug, right now I don't have the time to fix it, since this would most likely include a partial rewrite of the code displaying and printing outputs. Since something like this is planned anyways, this will not be fixed right now.
Activity
cgahr commentedon Oct 9, 2021
If you give me a MWE (or not working in this case), I can look into it.
AlexPublicProfile commentedon Oct 10, 2021
tqdm home: https://github.com/tqdm/tqdm
MWE:
This works correctly in any normal console. But with Helium we get:
AlexPublicProfile commentedon Oct 10, 2021
But you can consider a simpler example. This code:
should print
2rather than1<CR>2cgahr commentedon Oct 10, 2021
Thanks. If you also send me your Helium config file, I can look into it.
AlexPublicProfile commentedon Oct 10, 2021
There is nothing interesting there:
{ "complete": false, "output_code": true, "jupyter_path": "C:/SDK/Python/share/jupyter" }cgahr commentedon Oct 12, 2021
A similar bug is described in nteract/hydrogen#466.
The main problem right now is that we don't handle text streams in a way that supports overwriting the previous line as is done by
tqdm. While this is definitely a bug, right now I don't have the time to fix it, since this would most likely include a partial rewrite of the code displaying and printing outputs. Since something like this is planned anyways, this will not be fixed right now.Sorry!