Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


21.01.2011 15:20, Matthias Erll пишет:
Hi,

I am trying to run a Python macro in LibreOffice 3.3.0 RC4 on Windows 7,
but cannot get it to work.
When I try to run a macro from an ODS file with a shortcut tool bar
button (created in OOo), I get the message "The scripting language
Python is not supported". Python macros also do not show up in the
dialog under Tools->Macros->Organize Macros->Python. Not even the
pre-installed samples are listed there.

A few things I checked:
- OpenOffice.org 3.2 is installed in parallel; Python sample scripts
work there
- LibreOffice 3.3.0 RC4 is installed with Python-UNO bridge
- Sample scripts have been installed, as expected, in
<INSTALL_PATH>\LibreOffice 3\Basis\share\Scripts\python
- Output of<INSTALL_PATH>\program\python.exe -V is "Python 2.6.1"
- Modified<INSTALL_PATH>\Basis\program\pythonscript.py: set
LogLevel.use = LogLevel.ERROR and LOG_STDOUT = False, but no log.txt is
written

Currently, I find no open bug report addressing this issue, so I wonder
if it is still a configuration problem.

Kind regards,
Matthias

Here is the bug report that concerns this: https://bugs.freedesktop.org/show_bug.cgi?id=32939 (maybe we should open a different bug?) I also sent a email to the users lists: http://nabble.documentfoundation.org/unable-to-install-example-extension-on-Windows-td2298712.html In short, there is an extension to test how the scripts in different languages work - https://bugs.freedesktop.org/attachment.cgi?id=42184 . This extension seems to be not possible to install in LibO 3.3.0 rc3/rc4 due to the python script can't be registered.

--
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.