atom-community / markdown-preview-plus

Markdown Preview + Community Features
https://atom.io/packages/markdown-preview-plus
Other
370 stars 85 forks source link

PDF export error #537

Open Tobias021 opened 2 years ago

Tobias021 commented 2 years ago

Description

When trying to export .md file to PDF mpp throws this popup error:

Failed saving to PDF

Error: Failed to generate PDF

No additional info could be gathered - dev tools could not be opened. I couldn't get it to work even with a blank file. HTML exports fine.

Resolution

First i tried to fix DevTools (via Can't open DevTools). Atom was launched from terminal:

$ atom --no-sandbox

Dev tools can now be opened. Error does not occur again. Seems like this issue is caused by Atom itself (maybe kernel problem?).

Versions

Atom : 1.60.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1

Pop!_OS 22.04 LTS

lierdakil commented 2 years ago

Seems like this issue is caused by Atom itself

TL;DR: yes. I have no workaround (aside from --no-sandbox thing)