NewGraphEnvironment / safety_plan_peace_2024

https://newgraphenvironment.github.io/safety_plan_peace_2024
0 stars 1 forks source link

`pagedown::chrome_print` error #8

Open NewGraphEnvironment opened 3 weeks ago

NewGraphEnvironment commented 3 weeks ago
Error in force(expr) : 
  Failed to generate output. Reason: Failed to open http://127.0.0.1:7712/favicon.ico (HTTP status code: 404)

known issue discussed here https://github.com/rstudio/pagedown/issues/329

with workaround for now linked through above to here https://stackoverflow.com/questions/78928374/how-to-solve-pagedown-chrome-print-failed-to-generate-output-due-to-fail-to-open

"Does putting a dummy favicon in "test.html"s directory help?"

so we just type

touch favicon.ico into terminal (or make a text file and rename - former is quicker and better) and then we are good to go

NewGraphEnvironment commented 2 weeks ago

Should be dealt with in pagedown without our touch hack - due to upstream hack fix in servr version 0.31

https://github.com/yihui/servr/blob/main/NEWS.md

NewGraphEnvironment commented 2 weeks ago

the sat number wont to come into the pdf for some odd reason. it is building old vefsion of the pdf

could be related to https://github.com/NewGraphEnvironment/safety_plan_peace_2024/issues/8

could just be scattered user error

guessing pagedown and/or servr needs to be updated. really strange though

works if knit button is used - will do that for now

NewGraphEnvironment commented 2 weeks ago

amazingly changes to old version of pdf even with cpy and paste. giving up for now