Replies: 1 comment
-
Did you close (as duplicate) on purpose? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Trying to generate a PDF document for download through Shiny for Python.
Sequence is:
tmpfile.qmd
using Jinja in/tmp/tmpfolder
tmpfile.pdf
using Quartorender()
inquarto-dev/quarto-python
with these args:input=/tmp/tmpfolder/tmpfile.qmd
(input)output_format=pdf
output_file=os.path.basename(tmpfile.pdf)
-- quarto complains if name contains pathoutput_dir=os.path.dirname(tmpfile.pdf)
-- expecting file to be placed in this directory; see PRexecute=false
-- didn't want to re-create the shiny app in qmd, data is already in qmd/tmp/tmpfolder/tmpfile.pdf
to client browser using Shiny for PythonQuarto (or pandoc?) places the output file in the current working directory. This happens to be the folder where I am running the shiny app (
shiny run app:app
).How do I get quarto (or pandoc?) to use
/tmp/tmpfolder
? Or should I just move the file over using Python?Thanks
Beta Was this translation helpful? Give feedback.
All reactions