cognidox / OfficeToPDF

A command line tool to convert Microsoft Office documents to PDFs
https://www.cognidox.com/
Other
610 stars 137 forks source link

Error HRESULT E_FAIL has been returned from a call to a COM component #23

Closed mikeyww closed 6 years ago

mikeyww commented 6 years ago

Seems to have broken after a Windows update.

vittala commented 6 years ago

Hi

We'll need to know a bit more - "broken after a Windows update" is a bit too cryptic!

Regards Vittal

mikeyww commented 6 years ago

Sorry I did not provide enough information. It worked when I tried it again. Perhaps rebooting helped.

Switches: /bookmarks /hidden /readonly

Files: DOCX to PDF

I don't think there were dialog boxes. I did not try with other file types. I'm not sure which Windows updates were applied (but the most recent ones in the past week or so)!

Microsoft Word 2016 MSO (16.0.9126.2109) 64-bit

Computer: TOSHIBA PORTEGE R930 Operating system: Microsoft Windows 7 Professional 64-bit Version 6.1.7601 Service pack: 1.0 Total physical memory (MB): 16262 Available physical memory (MB): 11296 Processor: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz 64-bit Processor type: Intel64 Family 6 Model 58 Stepping 9 BIOS: TOSHIBA Default System BIOS Version 6.80
Motherboard: TOSHIBA PORTEGE R930 Version A0 Display name: Intel(R) HD Graphics 4000 Display resolution: 1366 x 768 Display dots per inch (DPI): 120

Mike


On 4/2/2018 8:23 PM, Vittal Aithal notifications@github.com wrote:

Hi We'll need to know a bit more - "broken after a Windows update" is a bit too cryptic! What version of Windows?What version of Office?What were the updates applied?Was Windows restarted after the update?Does this affect all Office applications or just particular ones?What command line switches were being used?What file types are being converted?Are any dialog boxes shown by Office during conversion? Regards Vittal — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/cognidox/OfficeToPDF","title":"cognidox/OfficeToPDF","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/cognidox/OfficeToPDF"}},"updates":{"snippets":[{"icon":"PERSON","message":"@vittala in #23: Hi\r\n\r\nWe'll need to know a bit more - \"broken after a Windows update\" is a bit too cryptic!\r\n\r\n What version of Windows?\r\n What version of Office?\r\n What were the updates applied?\r\n Was Windows restarted after the update?\r\n Does this affect all Office applications or just particular ones?\r\n What command line switches were being used?\r\n What file types are being converted?\r\n Are any dialog boxes shown by Office during conversion?\r\n\r\nRegards\r\nVittal"}],"action":{"name":"View Issue","url":"https://github.com/cognidox/OfficeToPDF/issues/23#issuecomment-378089013"}}}

vittala commented 6 years ago

Hi Mike

Thanks for the update.

There's nothing inherent in the latest updates that would stop things working, so I'd say it was probably a Word.exe process hanging around causing the problems. The reboot would have started you off with a clean slate and resolved things.

Regards Vittal