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

Alex <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #5 from Alex <[email protected]> ---
(In reply to Alex Thurgood from comment #1)
> @Alex : let's start with some questions
> 
> 1) which python extension in the SDK ?

The "toolpanel" extension in LibreOffice5.1_SDK/examples/python/toolpanel


> 2) which version of python did the compilation pick up on (when you ran
> make) ?

To my understanding, the make command only zipped the package and did not
compile anything since it's a python extension.

For information "python --version" gives "Python 2.7.10" on my system. I also
have python3.5 installed.

The python bundled in Libre Office seems to be the 3.5
$ /Applications/LibreOffice.app/Contents/MacOS/python --version
Python 3.5.0


> 3) can you start LO from the command line with the python extension included
> and provide any output you see on the terminal ?
> 
> As a general point, from what I recall, the using the SDK on Mac for
> development of extensions in languages other than StarBasic and C++ has
> always been problematic (Java and Python being most notably the two main
> languages posing a problem) :
> 
> - Java because of JNI instantiation into the threads of an LO process
> (instantiation itself depend on JRE/JDK version, attempts to instantiate an
> AWT process outside of the main LO thread, etc)
> 
> - Python because of the requirement that the python code be completely
> executable from within the LO application environment (as far as I can
> remember)
> 
> Setting to NEEDINFO

Started with the following commands does not produce any output to console upon
crash.

1. /Applications/LibreOffice.app/Contents/MacOS/soffice
 - Loads the startcenter without issues.
 - When i open an new Calc document 80% chance of crash. 
 - If it crashes, I am presented with a window "Due to an unexpected error,
LibreOffice has crashed". It not everything seems to be ok, although the
extension does not seem to run.
- The Startcenter is restarted and I am also presented with a document recovery
window.
- If I choose to "discard the recovery data" LibreOffice will crash leaving me
on the StartCenter window.
- If I choose "Start recovery" it will recover successfully and present me the
spreadsheet, but will crash again if I save, close the file and open it again.

2. /Applications/LibreOffice.app/Contents/MacOS/soffice --calc
- Crashes immediately on startup
- Loads the Startcenter
- the rest is essentially the same behavior...

Is there a debug mode I can start LibreOffice for it to be more verbose?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to