I was writing a bash function to generally support showing different files in text form. For some document types I was using ‘unoconv’ which is packaged in Fedora 41 as package “unoconv” but the project page shows this is becoming unsupported
If I try to use unoconv against many filetypes it throws python errors because the Python3 in Fedora 41 is too new for unoconv
/usr/bin/unoconv:828: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if product.ooName not in ('LibreOffice', 'LOdev') or LooseVersion(product.ooSetupVersion) <= LooseVersion('3.3'):
unoconv: UnoException during export phase:
Unable to store document to file:///home/mos/Downloads/Transactions%2013-Dec-2024%2019-24-17.pdf (Error (com.sun.star.io.IOException){ (com.sun.star.uno.Exception){ Message = (string)"SfxBaseModel::impl_store <file:///home/mos/Downloads/Transactions%2013-Dec-2024%2019-24-17.pdf> failed: 0x4c0c(Error Area:Sfx Class:Write Code:12)", Context = (com.sun.star.uno.XInterface)0x0{} } })
Just to show what the errors are that are occurring due to unoconv getting old. Unoserver seems to be a rewrite and improvement on unoconv and not just a version that would be compatible to python3 3.13
I don’t think unoserver is packaged yet, but you can install it with pip install or pipx install --system-site-packages. AFAIU it is meant to pick up and use the system installed LibreOffice and python module. It works over here, in a first quick test.