From the bibus website: http://sourceforge.net/p/bibus-biblio/patches/33/ "This should fix the uno.RuntimeException: pyuno.getConstantByName: com.sun.star.beans.PropertyState.DIRECT_VALUEis not a constant error when using LibOOo >= 4.1.1" Using the patch from the above bug fixes the problem. BillK
Hi, I can confirm this bug: $ bibus Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/bibus/bibus.py", line 232, in <module> bibframe1 = BibFrame.BibFrame(None, -1, BIB.TITLE, name=APPNAME) File "/usr/lib64/python2.7/site-packages/bibus/BibFrame.py", line 31, in __init__ self.__loadConnectionModule() File "/usr/lib64/python2.7/site-packages/bibus/BibFrame.py", line 1432, in __loadConnectionModule import OOo File "/usr/lib64/libreoffice/program/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib64/python2.7/site-packages/bibus/OOo.py", line 54, in <module> from bibOOo.bibOOoPlus import * File "/usr/lib64/libreoffice/program/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib64/python2.7/site-packages/bibus/bibOOo/bibOOoPlus.py", line 22, in <module> from bibOOo.bibOOoBase import * File "/usr/lib64/libreoffice/program/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib64/python2.7/site-packages/bibus/bibOOo/bibOOoBase.py", line 45, in <module> DIRECT_VALUE = uno.getConstantByName("com.sun.star.beans.PropertyState.DIRECT_VALUE") File "/usr/lib64/libreoffice/program/uno.py", line 52, in getConstantByName return pyuno.getConstantByName( constant ) uno.RuntimeException: pyuno.getConstantByName: com.sun.star.beans.PropertyState.DIRECT_VALUEis not a constant After downloading the "patch" in the upstream bug report bibus works again: wget http://sourceforge.net/p/bibus-biblio/patches/33/attachment/bibOOoBase.py -O /usr/lib/python2.7/site-packages/bibus/bibOOo/bibOOoBase.py Thanks, Sascha.
before this can be tested bug #562214 must be solved: $ mv -vi /usr/lib/python-exec/python2.7/bibus /usr/lib64/python2.7/site-packages/bibus/ $ ln -s /usr/lib64/python2.7/site-packages/bibus/bibus /usr/lib/python-exec/python2.7/ Thanks, Sascha.
commit e10be8fca2dbab93315cd90eb28245194ebf7c44 Author: Justin Lecher <jlec@gentoo.org> Date: Thu Oct 22 12:08:49 2015 +0200 app-text/bibus: Fix for gentoo specific paths and fix for lo-4 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=485396 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562214 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e10be8fca2dbab93315cd90eb28245194ebf7c44