-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Problem fetching bootstrap #29
Comments
Was this on a hosted RStudioServer session or were you running it locally? |
Hosted. |
Which injections exactly? This sounds like something I can tweak in the pandoc arguments. |
So I tried deleting the actual not injected and <script> lines and then it would knit. For the injections I was referring to e.g:
And the one at the end, but I don't think that's the issue. (Just a coincidence of timing maybe). |
So what I was able to do is to remove the and <script> tags from the pandoc template and then after rendering add the links back in. Then the postcards work fine. It's not the same as actually pulling in the minified css and scripts the way that it happens now, but it works fine for this purpose. |
https://github.com/seankross/postcards/compare/main...elinw:rsserver?expand=1 Seems to have things working on my server ... I don't know how to know if there is a more general problem or if it is my particular combination of libraries, version and server. Having done this, it seems like there are still problems with jolla-blue if I make a lot of postcards in a row. (took out jolla which seems to work now but jolla blue is not picking up the css). |
Hi, I also encounter similar issues. Below is my sessionInfo. ==================================================================
[1] C:/Users/phere/Dropbox/My PC (DESKTOP-5O211OK)/Documents/R/win-library/4.0 D -- DLL MD5 mismatch, broken installation. ============================================================== And error messages are like below: Could not fetch https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css |
Hey @elinw and @pherephobia in the environment where you are encountering this error what version of pandoc are you using? (check with |
@seankross When I encounter the issue, I reinstalled the markdown pandoc using
And the version is like below:
|
@pherephobia that is good for me to know, so now is it still not working? |
@seankross It still shows the same error when I try to knit the index.Rmd. Could not fetch https://code.jquery.com/jquery-3.5.1.slim.min.js |
@pherephobia would you mind trying the following?
output:
postcards::jolla:
self_contained: false
|
SOLVED: Dear @seankross, It knitted HTML but it broke. When I changed my directory to local, it works perfectly. |
Based on the error above, that's socket 443 issue...
https://zhuanlan.zhihu.com/p/99950177 https://sectigostore.com/blog/port-443-everything-you-need-to-know-about-https-443
That's same error which is socket 443 problem as well... The problem for me is that my local Linux 🐧 same with RStudio.Cloud... Somebody take a look and discuss?
|
Back on November 27 I was able to create postcards on RStudioServer. But now when I try it with the current version of Postcards I get
Maybe this has to do with cross-site scripting or something like that. Do you have any thoughts?
The text was updated successfully, but these errors were encountered: