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

High Fan Speed when attempt export to HTML or PDF - Unable to export from Markdown #350

Open
codewizard13 opened this issue Dec 20, 2023 · 0 comments

Comments

@codewizard13
Copy link

The last time I used Markdown PDF was in February (almost a year ago). I'm not sure what changed in the interim, but suddenly my fan speed is high and noisy and Visual Studio power usage is "very high" when trying to export to html or pdf (or any format). More importantly, the export never happens. If I had to guess, I'd say this feels like an infinite loop scenario -- as in perhaps the fan speed is high because the extension is continuously trying to execute the process, but is being blocked somehow. Is that possible? This only happens when I try to export from Markdown PDF.

screen-elsm-s--LAR_DEV-540d--09--err--vscode-cant-export-md-html--after-disable-all-ext

My System:

  • Windows 10 64-bit

What I have tried:

  • Updated VSCode
  • Updated all extensions
  • Disabled all extensions except Markdown PDF - same issue
  • Generated a code.profile file, but GitHub won't let me attach it (if that would be of use)
  • Tried changing the chrome.exe Executable Path to: "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" (as per https://github.com/yzane/vscode-markdown-pdf?tab=readme-ov-file#markdown-pdfexecutablepath) -- I have no idea why to do this, but it was recommended in the official readme so I gave it a try
  • There are no error messages
  • Attempted extension bisect but that didn't fix it either
  • Tried running this apt-get code somebody posted over here:
before_script:
  - apt-get update
  - apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 \
    libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \
    libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 \
    libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
    libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
    libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release \
    xdg-utils wget
  • Rebooted my laptop several times
  • Restarted VSCode several times

image

This was a great extension, but suddenly it doesn't work. I've done everything I know of to troubleshoot, to no avail.

GitHub Repo Link: https://github.com/codewizard13/ehw-tutwrk-techiepress-wp-custom-elementor-widgets/tree/2023-12-20/Debugging_VSCode_MarkdownPDf

If you need more info let me know and I can try to get it.

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

1 participant