I've tried using the suggestions in this thread to no avail: How to use copyfile when there are spaces in the directory name?. To be clear, the directory I'm using is already in double-quotes, and I've tried escaping the spaces, but still get the same error. This is the error message I get:
Error: Failed to open PDF file:
C:/Documents
Error: Failed to open PDF file:
and
Error: Failed to open PDF file:
Settings/cpengelly/My
Error: Failed to open PDF file:
Documents/Dropbox/theproject/tmp/working/main
Error: Failed to open PDF file:
pdf.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
What is going on here?