pangeo-data / jupyter-earth

Jupyter meets the Earth: combining research use cases in geosciences with technical developments within the Jupyter and Pangeo ecosystems.
https://jupytearth.org
Creative Commons Zero v1.0 Universal
28 stars 6 forks source link

code-server (VSCode) not working correctly #137

Closed JordiBolibar closed 2 years ago

JordiBolibar commented 2 years ago

Since the last days I have started encountering different issues with code-server (VSCode in the browser). The colour themes no longer apply in the IDE and running code directly on VSCode is no longer possible. I seem to remember that this might have happened soon after a code-server update.

consideRatio commented 2 years ago

I've seen how the coloring in my terminal has changed as part of upgrading to ubuntu 22.04, which has also happened in the base image.

When you describe "running code on vscode is no longer possible", I don't yet understand what you mean. You could mean that you open a terminal and write python mycodefile.py, or press a button from a python code file to run the code, or that you browse a jupyter notebook etc and try to run code.

@JordiBolibar maybe you could provide a screenshot or gif animation? Preferably, an error message or a clear indication of the failure is included in it.

JordiBolibar commented 2 years ago

This is strange. The colour theme of VSCode is something that can be configured. Even when apply new ones now I cannot see any difference. The colour scheme changes on the bars and menus, but not on the IDE text, which seems to be overwritten somehow.

Regarding the running of code, the terminal seems to be dead (see image). Also, keyboard shortcuts or the "play" button don't work in order to run the code.

image
consideRatio commented 2 years ago

Thanks @JordiBolibar that was very helpful! I've opened #138 to address the coloring at least. I could reproduce the failure to open a functional bash terminal as well, and hopefully that is resolved by downgrading to code-server 4.4.0 as well.

I'm unsure how to get further logs from code-server erroring when opening a terminal, but i could get a definitive error message when using ctrl+shift+p and running the Create terminal command entry.

image

consideRatio commented 2 years ago

@JordiBolibar this is now resolved, a downgrade to 4.4.0 resolved both issues! I've linked out to both the upstream code-server issues and commented on them to help them know its a regression in 4.5.0 specifically.

JordiBolibar commented 2 years ago

I confirm everything is working well now. Thanks so much @consideRatio! 😄