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 <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
05d3a99aa6
commit
adaea5d10d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
Loading…
Reference in a new issue