[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



Hi,

On Wed, Jul 31, 2013 at 11:43:03AM +0200, Sébastien Kalt wrote:
> 2013/7/31 Rene Engelhard <rene@debian.org>:
> > Hi again,
> >
> > On Wed, Jul 31, 2013 at 10:00:54AM +0200, Rene Engelhard wrote:
> >> > If you need more informations, feel free to ask.
> >>
> >> Something printed on the console/somewhere else except that error?
> I forgot to say that I have nothing on the console, with or without error.
[...]
> I tried with DEBUG, ERROR, LOG_STDOUT = True, False, but nothing on
> console nor Scripts/python/log.txt file.

OK...

> Well, if I create a new spreadsheet with 4.1.0-3, then menu Tools ->
> Macros -> Organize Macros -> Python, I can't find any of my macros,
> which are in $HOME/.config/libreoffice/4/user/Scripts/python. And if I
> try to attach a macro to a button, I can only select LO macros, none
> of my python scripts appears.
> 
> I only trigger the error using an existing spreadsheet with a macro
> already attached. So you'll find attached a simple spreadsheet, and

Ehm, do I understand that right in that you mean that new spreadsheets with
python macros work but only "old" ones fail?

> the script to put in $HOME/.config/libreoffice/4/user/Scripts/python :
> it works with LO 4.0.3-3 and python3.3-uno, and triggers the message
> with 4.1.0-3.

OK, will try.
(Note that if you use python3 you want to fix the shebang
to actually tell that. I don't think that matters here as you say python-uno
doesn't work either and I _think_ it's ran in the embedded python
anyways..)

Regards,

Rene


Reply to: