Share

Bibus Bibliographic software

Tracker: Bugs

5 bibus 1.4.3.1 still does not integrate with openoffice 3.0 - ID: 2234787
Last Update: Comment added ( uazure )

I installed bibus 1.4.3.1 and removed my old ~/.bibus directory.

If I start bibus without activating UNO to Ooo3.0, bibus starts and runs
noremally.


After agaIn removing my ~/.bibus folder, I tried to activate UNO with
Ooo3.0 and got the following output:

Traceback (most recent call last):
File "/usr/share/bibus/bibus.py", line 191, in <module>
bibframe1 = BibFrame.BibFrame(None, -1, BIB.TITLE, name=APPNAME)
File "/usr//share/bibus/BibFrame.py", line 33, in __init__
self.__loadConnectionModule()
File "/usr//share/bibus/BibFrame.py", line 1370, in
__loadConnectionModule
import OOo

File "/usr/lib/ooo-3.0/basis-link/program/uno.py", line 258, in
_uno_import
return _g_delegatee( name, *optargs )

File "/usr//share/bibus/OOo.py", line 54, in <module>

from bibOOo.bibOOoPlus import *

File "/usr/lib/ooo-3.0/basis-link/program/uno.py", line 258, in
_uno_import
return _g_delegatee( name, *optargs )

File "/usr//share/bibus/bibOOo/bibOOoPlus.py", line 22, in <module>

from bibOOo.bibOOoBase import *
File "/usr/lib/ooo-3.0/basis-link/program/uno.py", line 258, in
_uno_import
return _g_delegatee( name, *optargs )
File "/usr//share/bibus/bibOOo/bibOOoBase.py", line 39, in <module>
URL = uno.getClass("com.sun.star.util.URL")
File "/usr/lib/ooo-3.0/basis-link/program/uno.py", line 74, in getClass
return pyuno.getClass(typeName)
uno.RuntimeException: pyuno.getClass: uno exception com.sun.star.util.URL
is unknown


The program terminated without opening


Nobody/Anonymous ( nobody ) - 2008-11-07 15:37

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 7 )




Date: 2009-01-19 17:04
Sender: uazure

pmartino, i guess this will not work since /usr/lib is a symlink to
/usr/lib64
I've read this morning installation instructions on wiki page, and found
this notice
> Don't use the version from www.openoffice.org since it will not work
with your system python that bibus requires
And i was using the openoffice-bin package from portage tree (gentoo).
I installed OOo from sources (openoffice package from portage tree - it is
go-oo build btw) and everything started to work as expected.
So, thanks again, Pierre, for your wonderful FREE and OPEN software.

P.S. I'm currently doing a web-based reference database system which
allows to 'attach' pdf files to articles. It is building up on top of
bibus. It uses databases structure of bibus, simply adding the table with
information about attached files. It's written in php, and I'm ready to
make my contribution to the world of Open Source software, if somebody
needs that, of course. I write it here, because you may be interested in
such system (maybe as a part of bibus)


Date: 2009-01-06 08:14
Sender: pmartinoProject Admin

Hi,

the paths are not correct since you use a 64bits OOo.
Your OOo path seems to be "/usr/lib64/openoffice"

change in bibus.cfg the 3 following paths:
oopath = /usr/lib64/openoffice/program
ooure = /usr/lib64/openoffice/ure/lib
oobasis = /usr/lib64/openoffice/basis3.0/program

The 3 paths come from your trace error.

Pierre

PS: if it works, please write a page on the wiki for your linux
distribution and add a link on the home page et
http://bibus-biblio.sourceforge.net/wiki/index.php/Main_Page#Installation_instructions




Date: 2009-01-05 18:10
Sender: uazure

/usr/share/bibus/bibus.cfg:
[PATH]
python = /usr/bin/python
oopath = /usr/lib/openoffice/program
ooure = /usr/lib/openoffice/basis-link/ure-link/lib #originally was
/usr/lib/openoffice.org/basis-link/ure-link/lib
oobasis = /usr/lib/openoffice/basis-link/program
docdir = /usr/share/doc/bibus/html
licence = /usr/share/doc/bibus/copying
localedir = /usr/share/locale
systemconf = /etc/bibus.config

ls -l /usr/lib/openoffice
итого 524
drwxr-xr-x 6 root root 4096 Ноя 22 22:08 basis3.0
lrwxrwxrwx 1 root root 30 Дек 14 08:41 basis-link ->
/usr/lib64/openoffice/basis3.0
-r--r--r-- 1 root root 43433 Сен 30 16:08 LICENSE
-r--r--r-- 1 root root 43902 Сен 30 16:08 LICENSE.html
drwxr-xr-x 2 root root 4096 Ноя 22 22:08 licenses
drwxr-xr-x 3 root root 4096 Ноя 22 22:08 program
-r--r--r-- 1 root root 12702 Сен 30 16:08 README
-r--r--r-- 1 root root 12172 Сен 30 16:08 README.html
drwxr-xr-x 2 root root 4096 Ноя 22 22:08 readmes
drwxr-xr-x 8 root root 4096 Ноя 22 22:08 share
-r--r--r-- 1 root root 385278 Сен 30 16:08
THIRDPARTYLICENSEREADME.html
drwxr-xr-x 5 root root 4096 Ноя 22 22:08 ure


ls /usr/bin/python* -l
lrwxrwxrwx 1 root root 29 Дек 14 08:28 /usr/bin/python ->
../../../../usr/bin/python2.5
lrwxrwxrwx 1 root root 29 Дек 14 08:28 /usr/bin/python2 ->
../../../../usr/bin/python2.5
-rwxr-xr-x 1 root root 4840 Окт 6 2007 /usr/bin/python2.4
-rwxr-xr-x 1 root root 4880 Окт 30 16:47 /usr/bin/python2.5
lrwxrwxrwx 1 root root 37 Дек 14 08:29 /usr/bin/python-config ->
../../../../usr/bin/python-config-2.5
-rwxr-xr-x 1 root root 1626 Окт 6 2007 /usr/bin/python-config-2.4
-rwxr-xr-x 1 root root 1418 Окт 30 16:47 /usr/bin/python-config-2.5


Date: 2008-12-11 08:54
Sender: pmartinoProject Admin

Could you please show me the contend of your file bibus.cfg to be sure that
your correctly configured the paths.
In addition, please give me the paths:
OOo3 ?
OOo3 basis directory
OOo3 base directory
python path

Pierre


Date: 2008-12-11 07:15
Sender: uazure

when starting from console on other machine with gentoo, but x86 (not
x86_64) it writes:

** (python:2010): WARNING **: IPP request failed with status 1030
/usr/lib/openoffice/basis-link/program/uno.py:33: RuntimeWarning: Python C
API version mismatch for module pyuno: This Python has API version 1013,
module pyuno has version 1012.
import pyuno

** (python:2010): WARNING **: IPP request failed with status 1030

** (python:2010): WARNING **: IPP request failed with status 1030
.....
And insert citations just inactive and all other openoffice related
commands r not working. I'm ready to give u access thru ssh to my pc for
you to recognize what the problem is. I still can't move to OOo3 beacause
bibus don't work with it.


Date: 2008-11-22 20:28
Sender: uazure

And i have bibus crash. Just silent crash after i configure a OOO
connection. next starts are silently crashing too. $ strace bibus last
results:

getcwd("/var/home/azure/.bibus", 4096) = 23
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/lib64/openoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/lib64/openoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
lstat("/usr/lib64/openoffice/basis3.0", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/lib64/openoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
lstat("/usr/lib64/openoffice/basis3.0", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat("/usr/lib64/openoffice/basis3.0/program", {st_mode=S_IFDIR|0755,
st_size=8192, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/lib64/openoffice", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
lstat("/usr/lib64/openoffice/basis3.0", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat("/usr/lib64/openoffice/basis3.0/program", {st_mode=S_IFDIR|0755,
st_size=8192, ...}) = 0
lstat("/usr/lib64/openoffice/basis3.0/program/pyunorc", 0x7fff67126120) =
-1 ENOENT (No such file or directory)
access("/usr/lib64/openoffice/basis3.0/program/pyunorc", F_OK) = -1 ENOENT
(No such file or directory)
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7ffc53247000
open("/usr/lib64/openoffice/ure/lib/invocation.uno.so", O_RDONLY) = 18
read(18,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000^\0\0\0\0\0\0"..., 832) =
832
fstat(18, {st_mode=S_IFREG|0444, st_size=78432, ...}) = 0
mmap(NULL, 2174016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 18, 0)
= 0x7ffc4e05b000
mprotect(0x7ffc4e06d000, 2093056, PROT_NONE) = 0
mmap(0x7ffc4e26c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 18, 0x11000) = 0x7ffc4e26c000
close(18) = 0
open("/usr/lib64/openoffice/ure/lib/stocservices.uno.so", O_RDONLY) = 18
read(18,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\252\0\0\0\0\0\0"...,
832) = 832
fstat(18, {st_mode=S_IFREG|0444, st_size=132528, ...}) = 0
mmap(NULL, 2227952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 18, 0)
= 0x7ffc4de3b000
mprotect(0x7ffc4de58000, 2097152, PROT_NONE) = 0
mmap(0x7ffc4e058000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 18, 0x1d000) = 0x7ffc4e058000
close(18) = 0
open("/usr/lib64/openoffice/ure/lib/introspection.uno.so", O_RDONLY) = 18
read(18,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`z\0\0\0\0\0\0"..., 832) =
832
fstat(18, {st_mode=S_IFREG|0444, st_size=144248, ...}) = 0
mmap(NULL, 2239824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 18, 0)
= 0x7ffc4dc18000
mprotect(0x7ffc4dc39000, 2097152, PROT_NONE) = 0
mmap(0x7ffc4de39000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 18, 0x21000) = 0x7ffc4de39000
close(18) = 0
open("/usr/lib64/openoffice/ure/lib/reflection.uno.so", O_RDONLY) = 18
read(18,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\241\0\0\0\0\0\0"..., 832)
= 832
fstat(18, {st_mode=S_IFREG|0444, st_size=143296, ...}) = 0
brk(0x186b000) = 0x186b000
mmap(NULL, 2239176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 18, 0)
= 0x7ffc4d9f5000
mprotect(0x7ffc4da15000, 2097152, PROT_NONE) = 0
mmap(0x7ffc4dc15000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 18, 0x20000) = 0x7ffc4dc15000
close(18) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7ffc53237000
open("/usr/lib64/openoffice/ure/lib/invocadapt.uno.so", O_RDONLY) = 18
read(18,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000>\0\0\0\0\0\0"..., 832) =
832
fstat(18, {st_mode=S_IFREG|0444, st_size=50232, ...}) = 0
mmap(NULL, 2145592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 18, 0)
= 0x7ffc4d7e9000
mprotect(0x7ffc4d7f4000, 2097152, PROT_NONE) = 0
mmap(0x7ffc4d9f4000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 18, 0xb000) = 0x7ffc4d9f4000
close(18) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7ffc53227000
brk(0x188c000) = 0x188c000
close(12) = 0
munmap(0x7ffc5f10a000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

and few lines after that. if u need it, please, inform me

I have Gentoo distribution
$ python --version
Python 2.5.2

$ uname -a
Linux azure 2.6.27.5 #1 SMP Sat Nov 22 18:24:17 EET 2008 x86_64 AMD
Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux

Installed from portage. i was trying to install it by hands, but i have
found that install scripts are not versatile. To correctly install it with
/usr prefix needs some more than just correctly run configure script. I
guess this should be fixed too


Date: 2008-11-10 07:47
Sender: pmartinoProject Admin

Could you please give:
- your system (SUSE ?)
- how did you install bibus ?
- contend of the file bibus.cfg

Pierre


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.