unoconv / unoserver

MIT License
586 stars 81 forks source link

Issue with unoconverter initialization: Binary URP bridge disposed during call on Windows 10 #101

Open ghYoon93 opened 9 months ago

ghYoon93 commented 9 months ago

Hello

I am encountering an issue with unoconverter during PDF conversion in a Windows 10 environment. I am using unoserver version 2.0.1 and LibreOffice 7.6.4.

Description of the Problem:

I successfully launched unoserver using the command:

.\unoserver.exe --executable soffice

However, when attempting to convert a DOCX file to PDF using unoconverter with the following command:

.\unoconvert --convert-to pdf "C:\Users\USER\a.docx" "C:\Users\USER\b.pdf"

I faced an error during the initialization of unoconverter, specifically a "Binary URP bridge disposed during call" message.

Steps to Reproduce:

  1. Start unoserver with the command: .\unoserver.exe --executable soffice
  2. Attempt to convert a DOCX file to PDF using unoconverter: .\unoconvert --convert-to pdf "C:\Users\USER\a.docx" "C:\Users\USER\b.pdf"

Expected Behavior:

The DOCX file should be successfully converted to a PDF without errors.

Actual Behavior:

The conversion process is interrupted with the error message "Binary URP bridge disposed during call."

Additional Context:

I would appreciate any guidance or suggestions on how to resolve this issue. Please let me know if additional information is required.

Thank you for your assistance.

Best regards, ghYoon93

regebro commented 6 months ago

I've gotten errors like that but only when the Libreoffice server has crashed (or hasn't started yet), so I don't have any good ideas here.