Repository: yzane/vscode-markdown-pdf

Issue #166: Unable to export to pdf from markdown
Created: 2019-12-02T12:31:20Z
I dont know much about this stuff, im using VS code for a project and im facing a problem while converting the markdown file to pdf.
I'm using WSL Remote in VScode
I,ve  opened the .md file from my project folder
then i right click and  select Markdown PDF: export from the list
it gives out 2 errors
1.
ERROR: exportPdf()
2.

Error: Failed to launch chrome!
[1202/125726.601876:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0x7fb01cc86879 
#1 0x7fb01cbe3c63 
#2 0x7fb01cbf8013 
#3 0x7fb01e39295e 
#4 0x7fb01c827adc 
#5 0x7fb01c87372c 
#6 0x7fb01c8260b1 
#7 0x7fb01c87299d 
#8 0x7fb01c87270b 
#9 0x7fb01a6031b8 
#10 0x7fb011241b97 
#11 0x7fb01a60302a 
Received signal 6
#0 0x7fb01cc86879 
#1 0x7fb01cbe3c63 
#2 0x7fb01cc86401 
#3 0x7fb0175e2890 
#4 0x7fb01125ee97 
#5 0x7fb011260801 
#6 0x7fb01cc85265 
#7 0x7fb01cbf8461 
#8 0x7fb01e39295e 
#9 0x7fb01c827adc 
#10 0x7fb01c87372c 
#11 0x7fb01c8260b1 
#12 0x7fb01c87299d 
#13 0x7fb01c87270b 
#14 0x7fb01a6031b8 
#15 0x7fb011241b97 
#16 0x7fb01a60302a 
r8: 0000000000000000  r9: 00007fffc4b96da0 r10: 0000000000000008 r11: 0000000000000008
r12: 00007fffc4b98068 r13: 00007fffc4b97048 r14: 00007fffc4b97048 r15: 00007fffc4b97060
di: 0000000000000002  si: 00007fffc4b96da0  bp: 00007fffc4b96ff0  bx: 00007fb01160c840
dx: 0000000000000000  ax: 0000000000000000  cx: 0000000000000008  sp: 00007fffc4b96da0
ip: 00007fb01125ee97 efl: 0000000000000246 cgf: 00000053002b0033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

please tell me how to fix this
Extension version: 1.4.1
VS Code version: Code 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-25T14:54:45.096Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info



Item
Value




CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)


GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled


Load (avg)
undefined


Memory (System)
15.90GB (8.98GB free)


Process Argv
--folder-uri vscode-remote://wsl%2Bubuntu-18.04/mnt/c/Users/Parimi/Desktop/homeworks/CFD/cricket%20ball%20project


Screen Reader
no


VM
0%






Item
Value




Remote
WSL: Ubuntu-18.04


OS
Linux x64 4.4.0-18362-Microsoft


CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2901)


Memory (System)
15.90GB (8.98GB free)


VM
0%




Process Info
CPU %	Mem MB	   PID	Process
    0	    87	 10976	code main
    0	    14	  2208	   electron-crash-reporter
    0	   230	 10788	   window (main-project-readme.md - Untitled (Workspace) - Visual Studio Code)
    0	    52	 15216	     extensionHost
    0	    29	  7884	       electron_node wslDaemon.js 
    0	     6	 17580	         C:\WINDOWS\System32\wsl.exe -d ubuntu-18.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" f359dd69833dd8800b54d458f6d37ab7c78df520 stable .vscode-server 0  '
    0	    11	  8944	           console-window-host (Windows internal process)
    0	     5	 11844	           C:\WINDOWS\System32\lxss\wslhost.exe {09e56f22-914e-4f1f-8dd6-a83b31e0a4dc} 460 468 472
    0	    12	  6944	             console-window-host (Windows internal process)
    0	   307	 13280	   gpu-process
    0	    76	 18156	   shared-process
    0	    77	 21272	   window (Issue Reporter)

Remote: WSL: Ubuntu-18.04
CPU %	Mem MB	   PID	Process
    0	     0	 12617	remote agent
    0	     0	  1230	   watcherService
    0	     0	  1960	   /bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	  1961	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 12680	   watcherService
    0	     0	 13216	   extensionHost
    0	     0	  1231	     /home/akhilparimi/.vscode-server/bin/f359dd69833dd8800b54d458f6d37ab7c78df520/node /home/akhilparimi/.vscode-server/bin/f359dd69833dd8800b54d458f6d37ab7c78df520/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=13216
    0	     0	  1270	     /bin/bash
    0	     0	 13229	     /bin/bash
    0	     0	 15082	     /bin/bash
    0	     0	   350	       freecad orifice.FCStd
    0	     0	 18187	     /bin/bash



Workspace Info

|  Remote: WSL: Ubuntu-18.04|    Folder (exercise1): 8 files|      File types: gitignore(1) md(1) html(1) pdf(1)
|      Conf files: makefile(1)|    Folder (project01): 61 files|      File types: stl(2) foam(2) py(2) md(1) html(1) FCStd(1) FCStd1(1)
|                  fms(1) cartesianMesh(1) surfaceFeatureEdges(1)
|      Conf files:;

Duplicate issue #161: exportPdf protocol error
Created: 2019-11-13T02:10:10Z
Issue Type: Bug
Error: Protocol error (IO.read): Invalid parameters handle: string value expected
Export png, html and jpeg are ok!
Extension version: 1.4.1
VS Code version: Code 1.40.0 (86405ea23e3937316009fc27c9361deee66ffbf5, 2019-11-06T17:02:13.381Z)
OS version: Windows_NT x64 10.0.16299

System Info



Item
Value




CPUs
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3600)


GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled


Load (avg)
undefined


Memory (System)
15.89GB (5.28GB free)


Process Argv



Screen Reader
no


VM
40%

Closing comment (2020-03-02T12:18:16Z): Same as #166