Summary: | app-office/libreoffice-6.4.6.2 breaks app-office/unoconv | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Moon <triffid.hunter> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | graaff, jstein, robert |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Moon
2020-09-10 05:23:20 UTC
I can confirm, that I get the same exact error using unoconv with libreoffice 6.4.6.2 I can also confirm that downgrading to libreoffice 6.4.5.2 works. As Michael mentioned, it's probably an upstream bug. * I can confirm the problem * The actual API of libreoffice didn't change between 6.4.3 and 6.4.6 * uno.py didn't change either OK everyone involved, here's something to test: As root, open /usr/lib/python3.7/site-packages/uno.py with your favourite text editor. The third line is os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:/usr/lib64/libreoffice/libreoffice/program/fundamentalrc') Edit it to remove the duplicate "libreoffice/", i.e. it should be os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:/usr/lib64/libreoffice/program/fundamentalrc') Save the file and test unoconv again. Please report back. (In reply to Andreas K. Hüttel from comment #3) > OK everyone involved, here's something to test: > > As root, open /usr/lib/python3.7/site-packages/uno.py with your favourite > text editor. The third line is > > os.putenv('URE_BOOTSTRAP', > 'vnd.sun.star.pathname:/usr/lib64/libreoffice/libreoffice/program/ > fundamentalrc') > > Edit it to remove the duplicate "libreoffice/", i.e. it should be > > os.putenv('URE_BOOTSTRAP', > 'vnd.sun.star.pathname:/usr/lib64/libreoffice/program/fundamentalrc') > > Save the file and test unoconv again. Please report back. $ unoconv unoconv: you have to provide a filename or url as argument Try `unoconv -h' for more information. That looks like a huge improvement to me - fix confirmed, merge it :D The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9592c658d2ddfc42c735d03db03f6a746478aa58 commit 9592c658d2ddfc42c735d03db03f6a746478aa58 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2020-09-26 10:53:32 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2020-09-26 10:53:51 +0000 app-office/libreoffice: 6.4.6.2-r2 revbump fixing uno.py installation Closes: https://bugs.gentoo.org/741478 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> .../libreoffice/libreoffice-6.4.6.2-r2.ebuild | 593 +++++++++++++++++++++ 1 file changed, 593 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7adb140190e5f33b405f74700508678aebab2e commit 4b7adb140190e5f33b405f74700508678aebab2e Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2020-09-27 18:51:42 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2020-09-27 18:52:21 +0000 app-office/libreoffice-bin-debug: Revision bump for bug 741478 Bug: https://bugs.gentoo.org/741478 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-office/libreoffice-bin-debug/Manifest | 12 +++ .../libreoffice-bin-debug-6.4.6.2-r2.ebuild | 87 ++++++++++++++++++++++ 2 files changed, 99 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1b0f236970fe53e43b657dcb1cd3ec03a7ec74 commit df1b0f236970fe53e43b657dcb1cd3ec03a7ec74 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2020-09-27 18:39:40 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2020-09-27 18:52:17 +0000 app-office/libreoffice-bin: Revision bump for bug 741478 Bug: https://bugs.gentoo.org/741478 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-office/libreoffice-bin/Manifest | 12 + .../libreoffice-bin-6.4.6.2-r2.ebuild | 251 +++++++++++++++++++++ 2 files changed, 263 insertions(+) |