[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718403: libreoffice: python scripting language not supported after migration from 4.0.4-3 to 4.1.0-3



[ sigh, you should have upgraded earlier so I knew before the latest upload.. ]

Hi,

On Wed, Jul 31, 2013 at 09:27:45AM +0200, Sébastien KALT wrote:
> After Libreoffice update from 4.0.4-3 to 4.1.0-2 yesterday, and 4.1.0-3 today,
> python scripting language is not working anymore.

Hmm. 4.1.0-1 was broken completely wrt pyUNO, yes, but -2 and -3 should work...

> Even if no packages were removed during the migration, I now have this error
> message when I try to launch a python script from Calc : "A scripting framework
> error occurred while running the python script my_script.py$my_macro. Message :
> the scripting language python is not supported".

Hmm.

> I was using old python-uno (python 2.x), so I updated to python3-uno, but I
> still have the error.

OK.

> As far as I remember, I need libreoffice-script-provider-python and python-uno
> or python3-uno installed for python scripting to be supported, and both
> packages are installed.

Yeah, and python3-uno is preferred. python-uno is just for smooth(er) upgrades and
not breaking all kinds of extra stuff not ported for python2..

> If I re-install testing version (1:4.0.3-3), python scripting is working both
> with python-uno and python3.3-uno.
> 
> If you need more informations, feel free to ask.

Something printed on the console/somewhere else except that error?
Do you have step-by-step instructions how to reproduce?

"Normal" pyUNO stuff (unoconv, Wizards, ..) *do* work, so.. As is
(reportedly) libreoffice-librelogo which uses the script-framework-python
(that was one of the fixes in -3, before that it had only python?-uno in
Depends which was not sufficient..)

Regards,

Rene


Reply to: