Python script TableSample.py on master build executes with error

Alexander Thurgood alex.thurgood at gmail.com
Mon Apr 22 08:10:00 PDT 2013


Hi all,

Testing (i.e. invoking via the Macro menu entry) the included
TableSample python script on master build with Mac OSX leads to the
following error :

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 )])




Alex


More information about the LibreOffice mailing list