I'm getting error running custom processor with the args of pandoc while adding a .bib that is inside my iCloud Drive

Jvet's Avatar

Jvet

21 Apr, 2021 10:12 PM

Hi!

This are the args: -f markdown+smart -t html5 --citeproc --bibliography /Users/julio/Library/Mobile Documents/com~apple~CloudDocs/Documentos/Biblioteca/Bibliografia/Referencias.bib

I get "error running custom processor" with this: pandoc: Documents/com~apple~CloudDocs/Documentos/Biblioteca/Bibliografia/Referencias.bib: openBinaryFile: does not exist (No such file or directory)

If I change the location to my local drive with another .bib file the error goes away. I don't know what is causing the trouble using the .bib file inside iCloud.

  1. Support Staff 1 Posted by Brett on 21 Apr, 2021 11:01 PM

    Brett's Avatar

    You need to escape the space in Mobile Documents, either with a backslash or double quote the whole path.

    Thanks,
    Brett

  2. 2 Posted by Jvet on 23 Apr, 2021 02:10 PM

    Jvet's Avatar

    Thank you, it worked. All the spaces need to have a "\ ".

  3. Support Staff 3 Posted by Brett on 23 Apr, 2021 02:12 PM

    Brett's Avatar

    Correct. It works just like on a Terminal command line where spaces
    would cause it to assume it was a new argument.

    Thanks,
    Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac