[reportlab-users] Intermittent failure to find font, followed by IOError
Stevens, Ian
IStevens at globeandmail.com
Tue Jan 20 12:35:23 EST 2009
I've been reading the follow-ups to this, so I'll add as much
information as I can. Unfortunately, I'm not administering the
production machine.
- We're using Reportlab 2.1, both Debian and Ubuntu distributions, and
Django is run under mod_python.
- We've seen the problem under both prefork and threaded Apache configs,
although it appears to happen more often under prefork on production
with unlimited MaxRequestsPerChild.
As for adding logging, I can probably get someone to make changes to a
development server to exhibit the same errors.
Ian.
> -----Original Message-----
> From: reportlab-users-bounces at reportlab.com
> [mailto:reportlab-users-bounces at reportlab.com] On Behalf Of
> Andy Robinson
> Sent: January 19, 2009 5:37 PM
> To: Support list for users of Reportlab software
> Subject: Re: [reportlab-users] Intermittent failure to find
> font,followed by IOError
>
> 2009/1/19 Stevens, Ian <IStevens at globeandmail.com>:
> > This error is intermittent, which is bothersome, and always occurs
> > from the same line, executed within a PageTemplate's
> onPage() method.
> > Here's a stacktrace of the error:
>
> I have no ideas and no experience of anything similar - and
> we've been hosting serious 24x7 apps with a very similar
> architecture to yours for 2 years with no similar
> exceptions. Some more data would help.
> - which ReportLab version?
> - is it some kind of Linux? The OS may affect some paths
> through the code.
> - how are you running Django? FastCGI, mod_python? The font
> cache is once-per-process and does not get explicitly
> unloaded, so I wonder if the intermittent nature means it is
> something happening when the web server restarts Python processes.
> - would you be able to promote live a metered version which
> adds some logging statements? Alternatively, can you force
> similar issues in a test environment which you could then debug?
>
> We do have some code for resetting the font cache but I need
> to speak to a colleague in the (UK) morning to see what could
> trigger it.
>
> Best Regards,
>
>
> --
> Andy Robinson
> CEO/Chief Architect
> ReportLab Europe Ltd.
> Media House, 3 Palmerston Road, Wimbledon, London SW19 1PG,
> UK Tel +44-20-8545-1570
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>
More information about the reportlab-users
mailing list