rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

Cannot launch terminal in RStudio 1.1.419 (rocker/verse:3.4.3) #70

Closed RLesur closed 6 years ago

RLesur commented 6 years ago

Since RStudio 1.1.419, I cannot launch any terminal. I use rocker/verse:3.4.3. I test with an older image (rocker/verse:3.4.1 with RStudio 1.1.383), and it works perfectly.


edit
Here is info about rocker/verse:3.4.3 image and system:

IMAGE ID
c073e6900b7d

Docker version 17.12.0-ce, build c97c6d6

System:
Ubuntu 16.04 xenial (x86-64)
Linux kernel:
4.4.0-112-generic
cboettig commented 6 years ago

@RLesur Are you trying to launch the new in-window terminal (tools->terminal->new terminal)?
I can't replicate this, working with a fresh pull of rocker/verse:3.4.3 terminal opens just fine for me in the RStudio pane. Can you pull and try again? (Include the image hash for & docker version and platform for reference as well if it's still not working.)

RLesur commented 6 years ago

@cboettig I pulled a new image (b065861e9f9e) and tried to open a new terminal (Tools > Terminal > New Terminal) and nothing happened.
When I select the opened tab terminal (next to the R console), I have no command line:

image

I've also tested Tools > Shell... and I cannot open any shell.

Opening the menu Tools > Terminal > Terminal Diagnostics..., I get image

I ran my container with:

docker run --rm -p 8787:8787 b065861e9f9e

Is there any docker options to activate shell?


IMAGE ID
b065861e9f9e

Docker version 17.12.0-ce, build c97c6d6

System:
Ubuntu 16.04 xenial (x86-64)
Linux kernel:
4.4.0-112-generic
cboettig commented 6 years ago

Haven't seen this one before, it my instance it just opens. (sometimes there is a few second delay when clicking to the terminal tab before the command prompt appears)

Tools -> Shell doesn't do anything for me either, I assume it's deprecated.

I assume you've tried Tools->Terminal->new terminal as well?

RLesur commented 6 years ago

Yes, I have. I also tried to modify the terminal settings in Global options.

cboettig commented 6 years ago

weird. I'm on Docker 18.01.0-ce, could be it but would surprise me. (I'm also on ubuntu 16.04.03, 4.4.0-109 kernel, basically same as you)

RLesur commented 6 years ago

is there any docker option you use for running the container?

cboettig commented 6 years ago

nope, just docker run --rm -p 8787:8787 rocker/rstudio:3.4.3

RLesur commented 6 years ago

I just found: I deactivated all my firefox extensions and retrieved the terminal panel. I close the issue. Sorry for the inconvenience.

cboettig commented 6 years ago

Ha! glad it's resolved. Will have to remember to include disabling browser plugins next time we're debugging rstudio server behavior. anyway, thanks for the report and the follow-up on resolution