Cannot generate Standard reports

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 ?

error log.txt (667 KB)

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@gmail.com> 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: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

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@gmail.com 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@gmail.com 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
  1. Template re-created
  1. 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thanks Bob…

Thanks