<div dir="ltr">Hey Dennis,<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 17, 2017 at 8:48 AM, Dennis Francis <span dir="ltr"><<a href="mailto:dennisfrancis.in@gmail.com" target="_blank">dennisfrancis.in@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Markus,<br></div><div><br></div><div>(moving my query from irc here)</div><div><br></div><div>1) I tried to create a uitest for calc as a testcase for <a href="https://bugs.documentfoundation.org/show_bug.cgi?id=108881" target="_blank">https://bugs.<wbr>documentfoundation.org/show_<wbr>bug.cgi?id=108881</a> . </div><div><br></div><div>In that I load the document referenced in bugzilla which has an empty chart object.</div><div>Then I close that doc, and open a blank calc doc, but the uitest throws an exception</div><div>on running it. ( For now I have commented out code relevant to reproducing the tdf bug. )</div><div><br></div><div>The uitest case and backtrace shown are at <a href="https://pastebin.com/TbpfSJ8J" target="_blank">https://pastebin.com/TbpfSJ8J</a></div></div></blockquote><div><br></div><div> 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.<br><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>2) Another query is about debugging the uitest as explained in your blog </div><div><a href="https://mmohrhard.wordpress.com/2016/09/10/writing-a-libreoffice-calc-ui-test/" target="_blank">https://mmohrhard.wordpress.<wbr>com/2016/09/10/writing-a-<wbr>libreoffice-calc-ui-test/</a> :</div><div>is to run the uitest as shown in this script :</div><div><a href="https://cgit.freedesktop.org/libreoffice/contrib/dev-tools/tree/uitest/execute.sh" target="_blank">https://cgit.freedesktop.org/<wbr>libreoffice/contrib/dev-tools/<wbr>tree/uitest/execute.sh</a><br></div><div>I was trying to do that but seems there is no python executable in instdir/program</div><div>in my debug build. Using system python does not seem to work.</div><br></div></blockquote></div><br><br></div><div class="gmail_extra">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.<br><br></div><div class="gmail_extra">Regards,<br></div><div class="gmail_extra">Markus<br></div></div>