Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Distill Blog in RStudio 1.3 results in /rmd_output/{n}/{path} not found error in preview pane #6945

Closed
4 tasks done
tjpalanca opened this issue May 23, 2020 · 5 comments · Fixed by #7008
Closed
4 tasks done

Comments

@tjpalanca
Copy link

System details

RStudio Edition : Server
RStudio Version : 1.3.959
OS Version      : Debian Linux 9 (stretch)
R Version       : 3.6.1

Steps to reproduce the problem

  1. Create a new distill blog.
  2. Build the website (using Ctrl + Shift + B) to generate the _site directory.
  3. Go to the welcome.Rmd
  4. Knit the document by pressing the Knit button or using Ctrl + Shift + K.
  5. The document renders correctly, but the preview does not display correctly and shows /rmd_output/{n}/{relative path to _site folder} not found.
  6. If you press "Open in Browser", it opens the correct document.

Describe the problem in detail

I am unable to easily build Distill blogs using the new RStudio.

Describe the behavior you expected

I expect the preview to be correct. This happens when I downgrade to RStudio 1.2.

@tjpalanca
Copy link
Author

For ease of reproduction:

  1. Used rocker/geospatial:3.6.1 as base image and installed the current latest RStudio Server version on top of it in the Dockerfile.
  2. Installed {distill}
  3. Created a new "Distill Blog"
  4. Build the Website
  5. Attempted to knit welcome.Rmd

Screenshot
image

When you click "open in browser" it works well.
Downgrading to RStudio Server 1.2 fixes it.

@jmcphers
Copy link
Member

Regression from 9fada22

@R-Hannibal
Copy link

@tjpalanca, thanks so much for finding and reporting this issue.

We have a fix in place in our latest preview build (available HERE). If you get the chance will you let us know if the issue is resolved for you in that build?

@tjpalanca
Copy link
Author

Hello, @R-Hannibal, apologies for the delayed reply.

I can confirm that the issue is resolved!

@R-Hannibal
Copy link

Thanks so much for the assist @tjpalanca! I ended up testing this one out myself as well (never used a Distill project before, very cool stuff), entering a verification comment below:

Verified Fixed on: RStudio Version - 1.3.1054, R Version - 4.0.2, Windows - Desktop

Comparison test run between 1.3.959 (current stable) and 1.3.1054 (current preview), on the older version the not found error is produced as described, new build welcome.Rmd is knitting/opening successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants