SyntaxError: invalid syntax in DetailedDescendantBookReport.py (Gramps 6.0.0)

I found it in terminal logs right after installing on Ubuntu 22.04 via Gramps addons manager

2025-03-24 09:49:33.111: WARNING: _manager.py: line 328: Plugin error (from 'differences'): cannot import name 'to_struct' from 'gramps.gen.merge.diff' (/usr/lib/python3/dist-packages/gramps/gen/merge/diff.py)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gramps/gen/plug/_manager.py", line 270, in load_plugin
    _module = self.import_plugin(pdata)
  File "/usr/lib/python3/dist-packages/gramps/gen/plug/_manager.py", line 304, in import_plugin
    module = __import__(pdata.mod_name)
  File "/home/yurii/.local/share/gramps/gramps60/plugins/DescendantBooks/DetailedDescendantBookReport.py", line 696
    self.doc.write_text(self._(
                        ^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?

Reported as bug 0013705: DetailedDescendantBookReport error - Gramps - Bugtracker – Free Genealogy Software

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.