markdown-preview-plus icon indicating copy to clipboard operation
markdown-preview-plus copied to clipboard

PDF export error

Open Tobias021 opened this issue 3 years ago • 1 comments

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

Tobias021 avatar May 19 '22 20:05 Tobias021

Seems like this issue is caused by Atom itself

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

lierdakil avatar May 25 '22 07:05 lierdakil