Comments (7)
Thanks so much for reporting this @adRn-s !! What an annoying error. I can definitely see how this would concern users. I will pass this along upstream and see what we can do to make this a bit better 😄
from rstudio-docker-products.
@adRn-s To see where this is coming from can you please run this in a new R session, and show us the output?
options(warn = 2)
library(tidyverse)
# error happens here
traceback()
Thanks!
from rstudio-docker-products.
Sure. This is what I got,
> options(warn = 2)
> library(tidyverse)
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: package or namespace load failed for ‘lubridate’:
.onLoad failed in loadNamespace() for 'lubridate', details:
call: system("timedatectl", intern = TRUE)
error: (converted from warning) running command 'timedatectl' had status 1
> library(lubridate)
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Error: package or namespace load failed for ‘lubridate’:
.onLoad failed in loadNamespace() for 'lubridate', details:
call: system("timedatectl", intern = TRUE)
error: (converted from warning) running command 'timedatectl' had status 1
> Sys.timezone()
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Error in system("timedatectl", intern = TRUE) :
(converted from warning) running command 'timedatectl' had status 1
:) I will next check customizing the Renviron.site with TZ env-var. Hopefully that solves the issue (following, tidyverse/lubridate#957 (comment) ). Before opening this issue here, I did try to set TZ env-var because I read it somewhere else, but it failed because I set it on our Dockerfile, and it wasn't really inherited into the rsession
processes of the users on workbench (I tested with env
in the built-in Terminal of the IDE). Anyway, let me come back to you soon.
Btw, I'm running the repon from commit b11f202 (november 2023).
from rstudio-docker-products.
Can you please run the last line as well, after the error? I.e.
traceback()
That's show us where the error is coming from. It is almost surely from base R, but still worth to include proof here.
from rstudio-docker-products.
Interestingly, Sys.timezone only fails after I loaded lubridate, and according to the traceback it's calling timedatectl. Else, without having lubridate, it returns UTC. Anyway, I will close the issue now. The issue is fixed after setting TZ at Renviron. Thanks!
from rstudio-docker-products.
Thanks for reporting this @adRn-s ! Setting the TZ
variable in #725 should hopefully mean that this error message will not be shown to hundreds of folks in the future 😄 Appreciate your help making things better every day 🎉
from rstudio-docker-products.
Before opening this issue here, I did try to set TZ env-var because I read it somewhere else, but it failed because I set it on our Dockerfile, and it wasn't really inherited into the
rsession
processes of the users on workbench (I tested withenv
in the built-in Terminal of the IDE).
You're welcome. Btw, keep in mind that the fix on your PR won't work really. There's a reason why I decided on using Renviron.site
... it's the only way I found to pass env-vars down to the users' R
process/ console/ session.
from rstudio-docker-products.
Related Issues (20)
- r-session-complete image crashes when selecting/changing the project HOT 10
- Upgrade floating license server to Ubuntu 22.04
- Support multiple regions for Google Cloud Workstations image HOT 1
- Automatically check for and PR new product and tool releases
- Quick question: Shouldn't we have a default /etc/rstudio/rsession.conf ?
- Move/rename things to say posit?
- Provide supported base image(s) for SageMaker HOT 3
- RStudio Connect unistalls in docker image when updating curl to v8.4.0 HOT 5
- Upgrade Workbench for GCW to Workbench 2023.09.1
- Investigate improved image support for ARM64 architecture
- RStudio Workbench CVEs
- Incorrect env ARG means URL construction fails in Docker HOT 1
- Install virtualenv and build in the Package Manager image for git-builders HOT 1
- ClamAV reporting virus with az cli HOT 5
- Unify the docker image build matrix to easy run locally and on CI
- Evaluate if we still need to pin `virtualenv<20` HOT 2
- Implement `buildx bake` for build orchestration HOT 1
- Update python versions used in our images HOT 1
- Combine shared scripts to be operating system agnostic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rstudio-docker-products.