Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghYoon93 opened this issue Jan 25, 2024 · 1 comment

Comments

@ghYoon93
Copy link

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:

  • The problem arises specifically during the creation of UnoConverter, when assigning self.context.ServiceManager to self.service.
    This error seems to occur post-initialization of the service manager in the UnoConverter process.
  • I have checked the installation paths and configurations, and they seem to be correct.

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
Copy link
Member

regebro commented May 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants