https://bugs.documentfoundation.org/show_bug.cgi?id=165417

--- Comment #2 from Vincent Lefevre <[email protected]> ---
To reproduce the issue:

$ touch file.odt
$ odt2sxw file.odt
/bin/odt2sxw:778: DeprecationWarning: distutils Version classes are deprecated.
Use packaging.version instead.
  if product.ooName not in ('LibreOffice', 'LOdev') or
LooseVersion(product.ooSetupVersion) <= LooseVersion('3.3'):
Traceback (most recent call last):
  File "/bin/odt2sxw", line 1037, in convert
    document.storeToURL(outputurl, tuple(outputprops) )
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
uno.com.sun.star.io.IOException: SfxBaseModel::impl_store
<file:///home/vinc17/file.sxw> failed: 0x81a(Error Area:Io Class:Parameter
Code:26)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/odt2sxw", line 1282, in <module>
    main()
    ~~~~^^
  File "/bin/odt2sxw", line 1198, in main
    convertor.convert(inputfn)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/bin/odt2sxw", 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

where odt2sxw comes from the unoconv Debian package.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to