Skip to content
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

cmd.Run() failed with exec: "D:\x00": file does not exist #19

Open
morriscox opened this issue Jul 19, 2021 · 5 comments
Open

cmd.Run() failed with exec: "D:\x00": file does not exist #19

morriscox opened this issue Jul 19, 2021 · 5 comments

Comments

@morriscox
Copy link

D:\zinigo>Zinigo_Windows_x64.exe
Config file loaded
Username taken from config file
password taken from config file
chromepath taken from config file
Loading HTML template
Resolved working directory to: D:\zinigo
Checking if issue exists: D:\zinigo/issue/Seventeen - December_January 2017.pdf
Downloading issue: Seventeen - December_January 2017
Source https://cdn2.audiencemedia.com/var/site_869/storage/issues/83/svg/page-002.svg
ID: 0
[D: --headless --disable-gpu --print-to-pdf=D:\zinigo/issue/47889_0.pdf --no-margins D:\zinigo/issue/47889_0.html]
cmd.Run() failed with exec: "D:\x00": file does not exist
. You should retry this page.Source https://cdn2.audiencemedia.com/var/site_869/storage/issues/83/svg/page-003.svg
ID: 1
[D: --headless --disable-gpu --print-to-pdf=D:\zinigo/issue/47889_1.pdf --no-margins D:\zinigo/issue/47889_1.html]
cmd.Run() failed with exec: "D:\x00": file does not exist
. You should retry this page.Source https://cdn2.audiencemedia.com/var/site_869/storage/issues/83/svg/page-004.svg

@TheAxeDude
Copy link
Owner

TheAxeDude commented Jul 23, 2021

@morriscox it looks to me like there is something wrong with the chromepath in your config file - can you double check that?

Edit: Or a dreaded file-encoding issue.

@morriscox
Copy link
Author

I changed it from the PortableApps version to the regular Windows version, with no success. It would claim that "C:" does not exist.

"chromepath":"C:\Program Files\Google\Chrome\Application\chrome.exe"

I finally copied all the contents in the Application folder to the Zinigo folder and pointed to that and everything works now.

@morriscox
Copy link
Author

I just realized that I didn't escape the backslashes.

@turkeyphant
Copy link

I got this same issue using the default config.json.

My chrome executable was where it specified but it still didn't work.

@wyfky
Copy link

wyfky commented Mar 21, 2023

I met same problem that is show "C:" does not exist as using json file. My solution is change chrome path to "C:/Program Files/Google/Chrome/Application/chrome.exe" in config.json, and run Zinigo within cmd prompt. Then it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants