-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input file/directory not found on CLI #249
Comments
This occurs on 13.0.3 as well but if --no-sandbox is removed from cli command it works correctly |
Had same issue with 13.0.3 the but placing
|
We have also got it work with removing that. Still leaving this open since this is something that might be worth fixing still? Not super sure about the cause, so not doing anything quite yet |
@glennaugustus does it work if you are converting to png without --no-sandbox? Also are you headless or non-headless. Cause anything other than png used to hang my sphinx build. Now with 13.0.3 and .7 of extension I can build jpg, svg and png but svg would throw a weird error. But I have found that is due to forcing headless=true in svg output caused it. My setup for whatever reason does not require headless config for svg output. |
About running headless, this option was originally presumably added for that. But we switched to using Xvfb, without that we kept on getting issues. |
@ItayZiv yea not sure. All I can say is that using my CentOS8 WSL and my Ubuntu WSL instance if I configure to output in svg I can mark headless=False and if I leave true then I get the following error but it does build
For png output I must use headless=True for document to build. This may due to the packages I have for my setup which for CentOS8, the WSL instance is built from https://github.com/binarylandscapes/CentWSL/blob/master/Makefile For Ubuntu (cause I haven't been able to find time to setup a similar autobuild environment yet. I just install from Windows Store and run a script or paste commands installing the matching packages from CentOS8. I do have that in git yet but I attached it. |
lemme clarify, headless mode has nothing to do with draw.io, its our own thing where we just run Xvfb, see this issue for why we use it #146 . This issue has to do with running --no-sandbox making exports not work, not sure if this is something to be solved or if it's better to just be left this way... (That's the reason I'm not closing this yet). |
@binarylandscapes
|
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. |
@modelmat Apologies that was my fault, I didn't pay attention to the repo of issue when I commented. |
I'll close this issue as it is not directly related to this project |
I think the root issue is still a problem? |
A solution in the comments is |
Yes, adding |
Check your settings. I think one of the last updates to WSL2 defaulted everyone to the x-windows features and I had to change some stuff around cause my sphinx would just hang until I disabled the plugin narrowing the issue which lead to me turn off headless on a new WSL2 ubuntu install and clean some stuff up and it works. |
When running
draw.io --no-sandbox --export --format png --output Output\File.png Input\file.drawio
I get a 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.
The text was updated successfully, but these errors were encountered: