[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1039906: libreoffice: FTBFS on riscv64: uitest throws "index out of range"



Source: libreoffice
Version: 4:7.5.4-3
Severity: normal
Tags: ftbfs
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org


Greetings,

Almost all the uitest cases throws such exception:

ERROR: testThemePage (themepage.Test.testThemePage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/cui/qa/uitest/tabpages/themepage.py", line 19, in testThemePage
    with self.ui_test.create_doc_in_start_center("impress") as component:
  File "/usr/lib/python3.11/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/<<PKGBUILDDIR>>/uitest/uitest/test.py", line 195, in create_doc_in_start_center
    self.close_doc()
  File "/<<PKGBUILDDIR>>/uitest/uitest/test.py", line 221, in close_doc
    frames[0].activate()
    ~~~~~~^^^
IndexError: index out of range

This exception is always throwed when closing the doc window. As I described in bugzilla[1], the bug should be located between c++ and python environment.

It seems that the exception only throws in current Debian package. If I build LibreOffice (both 7.6 and 7.5 version) with external tarballs (that means, I pass parameters to autogen.sh as less as possible), this bug disappears. Therefore maybe some system-internal component are not configured correctly.

I am building a debug version of LibreOffice with sbuild to debug uitest.

From,

Sakura286.


[1] https://bugs.documentfoundation.org/show_bug.cgi?id=155937


Reply to: