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

Convert .cdr to .svg failed #612

Open
Rombersoft opened this issue Feb 22, 2024 · 0 comments
Open

Convert .cdr to .svg failed #612

Rombersoft opened this issue Feb 22, 2024 · 0 comments

Comments

@Rombersoft
Copy link

On the Debian 11 desktop, it converts well but on the Debian docker I get such the error:

`# unoconv -f svg -T 30 test.cdr
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1037, in convert
document.storeToURL(outputurl, tuple(outputprops) )
uno.com.sun.star.io.IOException: SfxBaseModel::impl_store file:///mnt/test.svg failed: 0xc10(Error Area:Io Class:Write Code:16) at ./sfx2/source/doc/sfxbasemodel.cxx:3207 at ./sfx2/source/doc/sfxbasemodel.cxx:1783

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/unoconv", line 1282, in
main()
File "/usr/bin/unoconv", line 1198, in main
convertor.convert(inputfn)
File "/usr/bin/unoconv", line 1039, in convert
raise UnoException("Unable to store document to %s (ErrCode %d)\n\nProperties: %s" % (outputurl, e.ErrCode, outputprops), None)
^^^^^^^^^
File "/usr/lib/python3/dist-packages/uno.py", line 507, in uno_struct__getattr_
return getattr(self.dict["value"], name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ErrCode`

But it converts .cdr to .jpg well.
The LibreOffice version on docker is 7.4.7.2, and on Desktop Debian 11 is 7.0.4.2.

What can be the cause of this error?

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

1 participant