calc uitests

Markus Mohrhard markus.mohrhard at
Mon Jul 17 07:08:34 UTC 2017

Hey Dennis,

On Mon, Jul 17, 2017 at 8:48 AM, Dennis Francis < at>

> Hi Markus,
> (moving my query from irc here)
> 1) I tried to create a uitest for calc as a testcase for https://bugs.
> .
> In that I load the document referenced in bugzilla which has an empty
> chart object.
> Then I close that doc, and open a blank calc doc, but the uitest throws an
> exception
> on running it. ( For now I have commented out code relevant to reproducing
> the tdf bug. )
> The uitest case and backtrace shown are at

 I have debugged this during the weekend a bit but it seems that during
closing the document we crash. I'm not sure yet why but will need to spend
a bit more time next weekend in looking at the problem. I don't have time
until Thursday evening to look into the problem.

> 2) Another query is about debugging the uitest as explained in your blog
> libreoffice-calc-ui-test/ :
> is to run the uitest as shown in this script :
> tree/uitest/
> I was trying to do that but seems there is no python executable in
> instdir/program
> in my debug build. Using system python does not seem to work.

For system python you need to set PYTHONPATH and URE_BOOTSTRAP either in
the script or in your terminal. If called through the makefiles our build
system already sets the values correctly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the LibreOffice mailing list