TheAxeDude / ZiniGo

Utility to backup magazines from the Zinio service as PDF, bypassing/Removing their DRM.
MIT License
49 stars 9 forks source link

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

Open morriscox opened 3 years ago

morriscox commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

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

turkeyphant commented 2 years ago

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

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

wyfky commented 1 year ago

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.