As the remark says,

copy file
/usr/share/gramps/plugins/webreport/NarrativeWeb.py to
/usr/share/gramps/plugins/webreport/NarrativeWeb_orig.py
then edit
/usr/share/gramps/plugins/webreport/NarrativeWeb.py

search for the word "run_thumbnailer". Nine lines lower you see the line:
except IOError:
replace this with
except EnvironmentError:

that should do the trick.

Alternatively, install version 3.3.0 from the download page. It contains the fix, but is a major upgrade, so you need to backup your family trees for safety: just import them to the .gramps xml format (including all private data) and save that in a safe place.

Benny


2011/6/15 Jop Planje <jop.planje@wp.pl>


> Hello,
>
> I hope I can contact you by this email. I saw that my bug-report is
> closed. But how to solve the problem? Have I to waait till next version
> or can I do / have I to do something by myself?
>
> With regards,
>
> Jop
>
>
> Dnia 10-06-2011 o godz. 19:18 Mantis Bug Tracker napisał(a):
> > The following issue has been RESOLVED.
> > ======================================================================
> > http://www.gramps-project.org/bugs/view.php?id=4316
> > ======================================================================
> > Reported By:                jop
> > Assigned To:                MD Nauta
> > ======================================================================
> > Project:                    Gramps 3.2.x
> > Issue ID:                   4316
> > Category:                   Reports
> > Reproducibility:            always
> > Severity:                   crash
> > Priority:                   high
> > Status:                     resolved
> > Resolution:                 fixed
> > Fixed in Version:           3.2.7
> > ======================================================================
> > Date Submitted:             2010-10-25 20:41 CEST
> > Last Modified:              2011-06-10 19:18 CEST
> > ======================================================================
> > Summary:                    [NarWeb] Missing document.png
> > Description:
> > User Information:
> > ===================
> >
> > het maken van een webverslag met media objecten
> >
> >
> > Error Details:
> > ===================
> >
> > 3435: WARNING: Spell.py: line 66: Spellingcontrole is niet
> > geĂŻnstalleerd265230:
> > ERROR: _ReportDialog.py: line 640: Failed to run report.
> > Traceback (most recent call last):
> >   File "/usr/share/gramps/ReportBase/_ReportDialog.py", line 615, in report
> >     MyReport.write_report()
> >   File "/usr/share/gramps/plugins/webreport/NarrativeWeb.py", line 5256, in
> > write_report
> >     self.gallery_pages(source_list)
> >   File "/usr/share/gramps/plugins/webreport/NarrativeWeb.py", line 5491, in
> > gallery_pages
> >     (prev, next, index, total))
> >   File "/usr/share/gramps/plugins/webreport/NarrativeWeb.py", line 2837, in
> > __init__
> >     os.unlink(thmb_path)
> > OSError: [Errno 2] Bestand of map bestaat niet:
> > '/tmp/tmpOsZRni/document.png'
> >
> > System Information:
> > ===================
> >
> > Python version: 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3]
> > BSDDB version: 4.7.3
> > Gramps version: 3.2.3-1
> > LANG: nl_NL.UTF-8
> > OS: Linux
> > Distribution: 2.6.32-25-generic
> >
> > GTK version    : (2, 20, 1)
> > pygtk version  : (2, 17, 0)
> > gobject version: (2, 21, 1)
> > cairo version  : (1, 8, 8)
> > ======================================================================
> > Relationships       ID      Summary
> > ----------------------------------------------------------------------
> > has duplicate       0004659 Crash running the Narrative Website report
> > has duplicate       0004317 Crash while making web report with incl...
> > has duplicate       0004980 loopt vast tijdens maken webverslag
> > ======================================================================
> >
> > ----------------------------------------------------------------------
> >  (0019829) MD Nauta (developer) - 2011-06-10 19:18
> >  http://www.gramps-project.org/bugs/view.php?id=4316#c19829
> > ----------------------------------------------------------------------
> > Thank you for your bug report. Sorry it took so long to provide a fix.
> > This
> > problem should be solved in revision 17742/3/4 (trunk/3.3.0/3.2.7).
> >
> > The problem was that if the thumbnailer failed and did not create a
> > thumbnail,
> > the run_thumbnailer function still returned True. Also in NarWeb only
> > IOErrors
> > were caught, while the missing thumbnail creates a OSError.
> >
> > Reporter, if you don't want to wait for the next release, you could copy
> > file
> > /usr/share/gramps/plugins/webreport/NarrativeWeb.py to
> > /usr/share/gramps/plugins/webreport/NarrativeWeb_orig.py so that in case
> > the
> > next editing goes wrong, you can restore the NarrativeWeb.py file.
> > In the NarrativeWeb.py file search for the word "run_thumbnailer". Nine
> > lines
> > lower you see the line:
> > except IOError:
> > replace this with
> > except EnvironmentError:
> > that should do the trick.
> >
> > Issue History
> > Date Modified    Username       Field                    Change
> > ======================================================================
> > 2010-10-25 20:41 jop            New Issue
> > 2011-02-19 23:16 romjerome      Relationship added       has duplicate
> > 0004659
> > 2011-02-19 23:17 romjerome      Relationship added       has duplicate
> > 0004317
> > 2011-02-20 00:48 dsblank        Summary                  Web report
> > crash =>
> > [NarWeb] Missing document.png
> > 2011-06-09 20:58 romjerome      Relationship added       has duplicate
> > 0004980
> > 2011-06-10 19:18 MD Nauta       Note Added: 0019829
> > 2011-06-10 19:18 MD Nauta       Status                   new => resolved
> > 2011-06-10 19:18 MD Nauta       Fixed in Version          => 3.2.7
> > 2011-06-10 19:18 MD Nauta       Resolution               open => fixed
> > 2011-06-10 19:18 MD Nauta       Assigned To               => MD Nauta
> > ======================================================================
>
> Met vriendelijke groet,
>
> Jop Planje
> www.planje.info
Met vriendelijke groet,

Jop Planje
www.planje.info



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs