[Libreoffice-bugs] [Bug 122545] Error on creating script provider for Python script from location=document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 8 14:11:54 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=122545

spinnau at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bisected

--- Comment #5 from spinnau at gmail.com ---
The error is caused by commit
https://cgit.freedesktop.org/libreoffice/core/commit/?id=693953dd4699887bd3f5bca2c3582b5fae1d6992


I think there's an indirect connection between this commit and the error. Maybe
the evaluation of the cell and the calculation of the row height is done before
the Python scripts inside the document actually are loaded:

* The test document works fine and opens without any error if the row height
for cell "B3" (with the user-defined function calling the Python code) is
changed from optimal to a fixed value.

* It also works and opens without error if the script is changed to
location=user and the appropriate Python file is copied to the user profile
directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190108/87652217/attachment.html>


More information about the Libreoffice-bugs mailing list