Hi :)

Probably the quickest easiest way to check if it is a configuration problem is 
to rename the .libreoffice config folder.  See if the new defaults give the 
same 
error.  Then just copy the backup you just made back over the top of the new 
config folder to get back to where you started.

Regards from
Tom :)




________________________________
From: Matthias Erll <[email protected]>
To: [email protected]
Sent: Fri, 21 January, 2011 19:20:58
Subject: [libreoffice-users] Python scripting not available

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

-- 
Unsubscribe instructions: E-mail to [email protected]
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***


      
-- 
Unsubscribe instructions: E-mail to [email protected]
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

Reply via email to