Generated an error with the Narrated Web Site report using just the example.gramps files to the local documents folder. Including the following:
<module name="navwebpage Example">
<option name="contactimg" value="O0009"/>
<option name="contactnote" value="N0011"/>
<option name="footernote" value="N0006"/>
<option name="headernote" value="N0010"/>
<option name="homeimg" value="O0010"/>
<option name="homenote" value="N0007"/>
<option name="introimg" value="O0011"/>
<option name="intronote" value="N0005"/>
<option name="pid" value="I0106"/>
</module>
4101140: ERROR: _reportdialog.py: line 801: Failed to run report.
Traceback (most recent call last):
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/plug/report/_reportdialog.py", line 760, in report
my_report.write_report()
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/plugins/webreport/narrativeweb.py", line 560, in write_report
self.tab["Media"].display_pages(the_lang, the_title)
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/plugins/webreport/media.py", line 162, in display_pages
self.mediapage(
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/plugins/webreport/media.py", line 481, in mediapage
(width, height) = image_size(orig_image_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/utils/image.py", line 197, in image_size
img = magic.from_file(source)
^^^^^^^^^^^^^^^
AttributeError: module 'magic' has no attribute 'from_file'