← Back to team overview

dhis2-users team mailing list archive

Re: Cannot generate Standard reports

 

I found that installing  ttf-dejavu and ttf-liberation did the trick when
using openjdk.

Lars world know better, but I think the standard reports use dejavu fonts,
 Liberation provides some replacements for proprietary fonts like arial.


On 9 November 2012 08:58, Jason Pickering <jason.p.pickering@xxxxxxxxx>wrote:

> Hi there.
>
> sudo apt-get install ttf-mscorefonts-installer
>
> should solve this.
>
> Regards,
> Jason
>
>
> On Fri, Nov 9, 2012 at 2:52 PM, subodha manoj <subodha.manoj@xxxxxxxxx>
> wrote:
> > Hi,
> >
> > Just migrated to a new testing server
> >
> > (Application details)
> > Version: 2.9
> > Build revision: 7976
> > Build date: 2012-11-09 02:02
> > Database type: MySQL
> > Java version:1.6.0_24
> > OS name: Linux
> > OS architecture: amd64
> > OS version: 2.6.32-042stab063.2
> >
> > Now system fails to generate standard reports.
> >
> >
> > error is logged as
> >
> > Nov 9, 2012 6:09:21 AM org.apache.catalina.core.StandardWrapperValve
> invoke
> > SEVERE: Servlet.service() for servlet [webapiServlet] in context with
> path
> > [/dhis] threw exception [Handler processing failed; nested exception is
> > java.lang.Error: Probable fatal error:No fonts found.] with root cause
> > java.lang.Error: Probable fatal error:No fonts found.
> > at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1087)
> >
> > 1. Report tables re-generated
> > 2. Template re-created
> > 3. Font is "SansSerif" both in the report table output and the template.
> >
> > What might be the problem ?
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dhis2-users
> > Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dhis2-users
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References