#1087368 unoconv: odt2sdw and odt2sxw do not work: Error Area:Io Class:Parameter Code:26 / soffice.bin process left behind

#1087368#5
Date:
2024-11-12 09:26:58 UTC
From:
To:
odt2sxw does not work. I get the following error, which seems to
occur on any .odt file, such as the simple one attached (I created
a new document, wrote "test", and saved):

qaa:~> odt2sxw test.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/test.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

#1087368#10
Date:
2024-11-12 16:04:17 UTC
From:
To:
Control: retitle -1 unoconv: odt2sdw and odt2sxw do not work: Error Area:Io Class:Parameter Code:26 / soffice.bin process left behind

Same error with odt2sdw.

Moreover a soffice.bin process is left behind:

vlefevre    5923       1 33 17:03 pts/12   00:00:01 /usr/lib/libreoffice/program/soffice.bin --headless --invisible --nocrashreport --nodefault --nofirststartwizard --nologo --norestore --accept=socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext

And the consequence is that libreoffice no longer works!
(Running libreoffice has no effect.)

#1087368#17
Date:
2026-09-18 11:44:34 UTC
From:
To:
Dear submitter,

as the package unoconv has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1139690

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)