Built-in Python Create Table Sample script fails on LO master OSX

Alexander Thurgood alex.thurgood at gmail.com
Fri Apr 19 03:42:49 PDT 2013


Hi all,

Master build on OSX :

Version: 4.1.0.0.alpha0+
Build ID: f182521948f0d31b0f6ad7b98eb5fc32562ba3d


When trying to run the included python script via

Tools > Macros > Organize > Python > PythonSamples>TableSample>
createTable :

com.sun.star.uno.RuntimeExceptionError during invoking function
createTable in module
file:///Applications/LibreOfficeDev.app/Contents/share/Scripts/python/pythonSamples/TableSample.py
(<class 'AttributeError'>: 'NoneType' object has no attribute 'Text'

/Applications/LibreOfficeDev.app/Contents/share/Scripts/python/pythonSamples/TableSample.py:44
in function createTable() [text = doc.Text]
  /Applications/LibreOfficeDev.app/Contents/program/pythonscript.py:830
in function invoke() [ret = self.func( *args )]
)

The Experimental features option is enabled.


Alex




More information about the LibreOffice mailing list