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

version graph

Package: unoconv; Maintainer for unoconv is Vincent Bernat <[email protected]>; Source for unoconv is src:unoconv (PTS, buildd, popcon).

Reported by: Vincent Lefevre <[email protected]>

Date: Tue, 12 Nov 2024 09:30:01 UTC

Severity: important

Found in version unoconv/0.7-2

Full log


Message #10 received at [email protected] (full text, mbox, reply):

Received: (at 1087368) by bugs.debian.org; 12 Nov 2024 16:04:20 +0000
From [email protected] Tue Nov 12 16:04:20 2024
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.9 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_CONTROL,BODY_INCLUDES_CONTROL_RETITLE,FOURLA,
	FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 26; hammy, 150; neutral, 146; spammy,
	0. spammytokens: hammytokens:0.000-+--python3,
	0.000-+--H*F:D*vinc17.net, 0.000-+--H*rp:D*vinc17.net,
	0.000-+--HX-Mailer-Info:mutt, 0.000-+--HX-Mailer-Info:www.vinc17.net
Return-path: <[email protected]>
Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:44938)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tAtNL-00FdxO-RG
	for [email protected]; Tue, 12 Nov 2024 16:04:20 +0000
Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98)
	(envelope-from <[email protected]>)
	id 1tAtNJ-000000001Yn-1c8Y;
	Tue, 12 Nov 2024 17:04:17 +0100
Date: Tue, 12 Nov 2024 17:04:17 +0100
From: Vincent Lefevre <[email protected]>
To: [email protected]
Subject: unoconv: odt2sdw and odt2sxw do not work: Error Area:Io
 Class:Parameter Code:26 / soffice.bin process left behind
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <[email protected]>
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/2.2.13+77 (9dc98409) vl-169878 (2024-06-20)
Control: retitle -1 unoconv: odt2sdw and odt2sxw do not work: Error Area:Io Class:Parameter Code:26 / soffice.bin process left behind

On 2024-11-12 10:26:58 +0100, Vincent Lefevre wrote:
> 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

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.)

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 18:36:20 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.