solenv/gdb/libreoffice/sw_writerfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit adaea5d10d157bacf858a31f611bf3f72ec881a2 Author: Miklos Vajna <[email protected]> AuthorDate: Fri Apr 26 14:54:47 2024 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Apr 27 19:06:19 2024 +0200 solenv, gdb fix error while loading the sw_writerfilter pretty printer Fixes: Traceback (most recent call last): File "/home/vmiklos/git/libreoffice/core-clang/instdir/program/libsw_writerfilterlo.so-gdb.py", line 23, in <module> module = importlib.import_module('libreoffice.' + mod) File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked ModuleNotFoundError: No module named 'libreoffice.sw_writerfilter' When loading a DOCX file while gdb is attached to the soffice process. Change-Id: I383cadfe6afcd3673adecf46388376a6341dbc93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166742 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/solenv/gdb/libreoffice/writerfilter.py b/solenv/gdb/libreoffice/sw_writerfilter.py similarity index 97% rename from solenv/gdb/libreoffice/writerfilter.py rename to solenv/gdb/libreoffice/sw_writerfilter.py index 487263e92b99..53a5e9a56436 100644 --- a/solenv/gdb/libreoffice/writerfilter.py +++ b/solenv/gdb/libreoffice/sw_writerfilter.py @@ -72,7 +72,7 @@ printer = None def build_pretty_printers(): global printer - printer = printing.Printer("libreoffice/writerfilter") + printer = printing.Printer("libreoffice/sw_writerfilter") printer.add('writerfilter::ooxml::OOXMLProperty', OOXMLPropertyPrinter) printer.add('writerfilter::ooxml::OOXMLPropertySet', OOXMLPropertySetPrinter) printer.add('writerfilter::ooxml::OOXMLPropertySetValue', OOXMLPropertySetValuePrinter)
