I receive an exception when use Narrated web site export.
45894547: ERROR: _reportdialog.py: line 801: Failed to run report.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gramps/gui/plug/report/_reportdialog.py", line 760, in report
my_report.write_report()
File "/usr/local/lib/python3.10/dist-packages/gramps/plugins/webreport/narrativeweb.py", line 535, in write_report
self.tab["Person"].display_pages(the_lang, the_title)
File "/usr/local/lib/python3.10/dist-packages/gramps/plugins/webreport/person.py", line 178, in display_pages
self.individualpage(self.report, the_lang, the_title, person)
File "/usr/local/lib/python3.10/dist-packages/gramps/plugins/webreport/person.py", line 682, in individualpage
individualdetail += self.display_ind_associations(assocs)
File "/usr/local/lib/python3.10/dist-packages/gramps/plugins/webreport/person.py", line 1592, in display_ind_associations
person_lnk = self.new_person_link(person_ref.ref, uplink=True)
File "/usr/local/lib/python3.10/dist-packages/gramps/plugins/webreport/basepage.py", line 3055, in new_person_link
(link, name, gid) = result
ValueError: not enough values to unpack (expected 3, got 0)
I see something similar discussion here Narrated Web Site report error
But looks like it was already fixed in 5.2 version Use imagesize rather than magic by Nick-Hall · Pull Request #1597 · gramps-project/gramps · GitHub
My Gramps is 5.2.1.
GRAMPS: 5.2.1
Python: 3.10.12
BSDDB: 6.2.9 (5, 3, 28)
sqlite: 3.37.2 (2.6.0)
LANG: en_US.UTF-8
OS: Linux
Distribution: 6.8.0-45-generic
And also I have installed recommended package:
pip show imagesize
Name: imagesize
Version: 1.4.1
Summary: Getting image size from png/jpeg/jpeg2000/gif file
Home-page: https://github.com/shibukawa/imagesize_py
Author: Yoshiki Shibukawa
Author-email: yoshiki@shibu.jp
License: MIT
Location: /home/yurii/.local/lib/python3.10/site-packages
Requires:
Required-by:
What is wrong? Thanks