Sicos1977 / ChromiumHtmlToPdf

Convert HTML to PDF with a Chromium based browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stuck in - Chrome Process Started running from the Command line

FilmDeveloper opened this issue · comments

I'm running:

C:\TEMP\ChromeHTMLToPDF>ChromeHtmlToPdfConsole.exe --input "https://www.bing.com" --output google.pdf

C:\TEMP\ChromeHTMLToPDF>ChromeHtmlToPdfConsole.exe --input "https://www.bing.com" --output google.pdf
2021-08-17T11:32:15.527 - Starting Chrome from location 'C:\TEMP\ChromeHTMLToPDF\chrome.exe' with working directory 'C:\TEMP\ChromeHTMLToPDF'
2021-08-17T11:32:15.531 - "C:\TEMP\ChromeHTMLToPDF\chrome.exe" --headless --disable-gpu --hide-scrollbars --mute-audio --disable-background-networking --disable-background-timer-throttling --disable-default-apps --disable-extensions --disable-hang-monitor --disable-prompt-on-repost --disable-sync --disable-translate --metrics-recording-only --no-first-run --disable-crash-reporter --remote-debugging-port="0" --window-size="1366,768"
2021-08-17T11:32:15.540 - Chrome process started

Cursor blinks and blinks, and it never gets past the point of "- Chrome process started"

On the other hand, Chrome.exe alone opens up fine when run from the same CMD window. No firewall issues, can browse just fine.

Windows 10 Build 1809 / Porable Chrome Version 92.0.4515.159 (Official Build) (32-bit) / Running as Administrator

Thank you!

commented

Look like a rights issue to me

commented

What happens if you just install Chrome on your system the normal way? You don't have to put the Chrome.exe in the same folder as where the console application is. ChromeHtmlToPdflib has a built in system that tries to figure out where Chrome is installed