drawio-desktop: Input file/directory not found on CLI
When running draw.io --no-sandbox --export --format png --output Output\File.png Input\file.drawio
I get a Input file/directory not found:
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 Error: input file/directory not found
I have made sure the file exists and tried with multiple files, and this has been reproduced by someone else. This issue only occurs on the latest release (12.9.3), downgrading to 12.6.5 solves this issue.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
Had same issue with 13.0.3 the but placing
--no-sandboxas the last argument on the line allowed it to rundrawio -x -e -f svg -o test2.svg test.drawio --no-sandboxYes, adding
--no-sandboxas the last argument does work. However, having it as the first argument does not, and it produces an error message which does not make it clear that this is what is wrong.Note to anyone who is reading this: some of this is related to (my) sphinxcontrib-drawio sphinx extension. The headless option and messages from binary landscapes relate to it. This really shouldn’t be in this issue.
FYI @glennaugustus libasound2 is required to from what I can tell; it errors otherwise.