pdf2svg icon indicating copy to clipboard operation
pdf2svg copied to clipboard

Conversion silently fails resulting in a 0-byte .svg and exit code 0xC06D007E (Unknown Software Exception) on Windows

Open ericwj opened this issue 6 years ago • 4 comments

I am converting a bunch of .pdfs created with AutoCAD, but for about half of them the conversion silently fails resulting in a 0-byte .svg.

The only information I get from the pdf2svg tool is an exit code of 0xC06D007E which looks like a proper HRESULT (Unknown Software Exception) on Windows. 0x7E is ERROR_MOD_NOT_FOUND, 0xC means Failure, Reserved and facility 0x6D is FACILITY_VISUALCPP.

Seeing that nothing is logged to the console and I am not aware whether or how the tool does any logging, I would like to learn how to diagnose this error or how to work around it.

ericwj avatar Jun 07 '19 18:06 ericwj

Are you able to share a sample PDF?

dawbarton avatar Jun 08 '19 11:06 dawbarton

Not publicly. I can send it to the e-mail address at bristol.ac.uk that I found through your profile though, if that's OK with you?

ericwj avatar Jun 08 '19 22:06 ericwj

I also have the same problem. @ericwj Did you find a way to make it work?

dunzhichen avatar Apr 15 '21 16:04 dunzhichen

I think you need to upgrade poppler. If that doesn't work, try downgrading to version 0.68.0.

ericwj avatar Jun 28 '21 16:06 ericwj