mikepqr / resume.md

Write your resume in Markdown, style it with CSS, output to HTML and PDF
MIT License
569 stars 229 forks source link

Fix Chrome SIGABRT on macOS #12

Closed mikepqr closed 2 years ago

mikepqr commented 3 years ago

python resume.py on macOS results in:

Wrote resume.html
Found Chrome or Chromium at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[0316/071703.668323:WARNING:crash_report_exception_handler.cc(240)] UniversalExceptionRaise: (os/kern) failure (5)
Chrome died with <Signals.SIGABRT: 6> but you may find resume.pdf was created succesfully.

This appears to be harmless. resume.pdf is created just fine. But it's not a great UX.

mikepqr commented 3 years ago

Idea for this: compare the mtime before and after running chrome. If it's changed, assume resume.pdf was written succesfully and log SIGABRT at info level. Then raise chrome --log-level to get rid of its warning.

mikepqr commented 2 years ago

No longer seeing this in CI or locally, so closing, but may need to reopen.