You are not logged in.
Pages: 1
Hello here,
Where can I get the libreoffice-pyuno to import uno module for pythoning?
Thanks in advance!
Offline
This one?
$ pacman -Ss libreoffice uno
extra/unoconv 0.4-4
Libreoffice-based document converter"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Nope. It's converter. I need Libreoffice python module.
Offline
Libefoffice-common has usr/lib/libreoffice/program/libpyuno.so .
That suggests the functionality you need is already present in your libreoffice install, check libreoffice documentation.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
.so is library, however I need python module to export it to certain script that requires uno module, like following:
Traceback (most recent call last):
File "lptest.py", line 2, in <module>
import uno
ImportError: No module named unoLast edited by SkyTod (2012-07-19 13:47:45)
Offline
$ locate uno.py
/usr/lib/libreoffice/program/uno.py
$ pacman -Qo /usr/lib/libreoffice/program/uno.py
/usr/lib/libreoffice/program/uno.py is owned by libreoffice-common 3.5.5-1Offline
hm...after...
sudo chmod +x /usr/lib/libreoffice/program/uno.py
export PYTHONPATH=$PYTHONPATH:/usr/lib/libreoffice/program/It works. Thank you all!
Offline
Pages: 1