Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#18493 - [openoffice-base] Add a python path export to /etc/profile.d/openoffice.sh
Attached to Project:
Arch Linux
Opened by Tom (reztho) - Sunday, 28 February 2010, 11:40 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 31 March 2010, 20:11 GMT
Opened by Tom (reztho) - Sunday, 28 February 2010, 11:40 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 31 March 2010, 20:11 GMT
|
DetailsDescription:
Adding this line to /etc/profile.d/openoffice.sh: export PYTHONPATH='/usr/lib/openoffice/basis-link/program/' , it will be possible to use unopkg externally in python system-wide. Additional info: * package version(s) openoffice-base 3.2.0-1 Steps to reproduce: - Run python and try: import uno. It will fail. - Run the export line. - Try again. It will work succesfully. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 31 March 2010, 20:11 GMT
Reason for closing: Implemented
Wednesday, 31 March 2010, 20:11 GMT
Reason for closing: Implemented
export PYTHONPATH=$PYTHONPATH:/usr/lib/openoffice/basis-link/program/
, so it won't override the PYTHONPATH export from other packages.
If you wonder why this is needed, some programs need the unopkg python binding like mendeley desktop:
http://feedback.mendeley.com/forums/4941-mendeley-feedback/suggestions/457333-debian-openoffice-writer-unopkg-failed