musescore sttop with 'Mscore: fatal error: cannot load internal font' on openSuse 12.3 linux

• May 20, 2013 - 19:27

Since an update of packages (I think less then 3 weeks ago), mscore stopped working. If started from the command line, It complains:
Mscore: fatal error: cannot load internal font
It seems to disagree with the version of some of the dynamic libraries. But which one? And what version should I have?

My musescore is MuseScore:
Music Score Editor; Version 1.3; Build 5702
Installed from musescore-1.3-7.18.src.rpm


Comments

It seems to disagree with the version of some of the dynamic libraries.
How do you know? Do you have more output that just the internal font error?

In reply to by [DELETED] 5

Summary: my assumprtion is that I have an incompatible version of the library than contains the QFontDatabase::addApplicationFont routine.

If I start mscore without any argument, I get

$ mscore
Mscore: fatal error: cannot load internal font

I peeked in the source code and found the fatal error comes from the following lines:

      if (-1 == QFontDatabase::addApplicationFont(":/fonts/mscore-20.ttf")) {
            fprintf(stderr, "Mscore: fatal error: cannot load internal font\n");
            if (!debugMode)
                  exit(-1);
            }

(This also explains why it more or less works with the -d option.)

With the -d option, it says

$ mscore -d
global share: 
configured localeName 
real localeName 
load translator 
load translator  from 
load translator  failed
Mscore: fatal error: cannot load internal font
Mscore: fatal error: cannot load internal font
Mscore: fatal error: cannot load internal font MuseJazz.ttf
ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
using PortAudio Version: PortAudio V19-devel (built Apr  2 2012 11:03:56)
connect to midi input 
load soundfont 
printer DPI 96.000000(96) display PDPI 96.000000(96) DPMM 3.779528
LibraryPath: 
LibraryPath: 
LibraryPath: 
Plugin Path 
Plugin Path 
Register Plugin 
add Menu 
add action 
Register Plugin 
add action 
Register Plugin 
add menu 
add action 
Register Plugin 
add action 
Register Plugin 
add action 
Register Plugin 
add action 
Register Plugin 
registerPlugin: add action idx 6
Load plugin: no menu property
MuseScore::changeState: STATE_DISABLED
start event loop...
preferences.checkUpdateStartup: 24
lastupdate: 21.05.2013 19:53:45.937
enterState <>
enterState 
MuseScore::changeState: STATE_NORMAL
enterState <>
enterState 
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (suse-8.14.5-i386)
OpenJDK Client VM (build 23.7-b01, mixed mode)

Do you still have an unanswered question? Please log in first to post your question.