Lots of warnings in command line utility

• Mar 9, 2021 - 09:36

Since version 3.6 the command line utility prints out quite a few of these warnings:

QVariant::load: unknown user type with name Ms::MuseScoreStyleType.

Is that a bug? Or my system configuration?


Comments

In reply to by Jojo-Schmitz

$ mscore --version
dlopen error : dlopen(libjack.0.dylib, 1): image not found
dlopen error : dlopen(/usr/local/lib/libjack.0.dylib, 1): image not found
MuseScore3 3.6.2

$ mscore --long-version
dlopen error : dlopen(libjack.0.dylib, 1): image not found
dlopen error : dlopen(/usr/local/lib/libjack.0.dylib, 1): image not found
MuseScore: Music Score Editor; Version 3.6.2; Build 3224f34

$ mscore -o test.pdf test.mscz > test.out
dlopen error : dlopen(libjack.0.dylib, 1): image not found
dlopen error : dlopen(/usr/local/lib/libjack.0.dylib, 1): image not found
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
Hauptfenster erstellen…
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
QVariant::load: unknown user type with name Ms::MuseScoreStyleType.
ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded from 1.000000)
Übersetzungen einlesen…
convert ...
Kann Datei test.mscz nicht lesen:
No such file or directory

Operating system is macOS 10.14.6.

In reply to by kontrafuss

Interesting... none of that in the Windows version. These messages seem to come directly from Qt, not from MuseScore itself though, see https://github.com/qt/qtbase/blob/2f9a3352b25417845375c47382f6e5fe931c1…
Even more intersting: something like "MuseScoreStyleType" doesn't exist within the MuseScore source code.
Is this some plugin of your's maybe?

Workaround:
mscore -o test.pdf test.mscz > test.out 2>/dev/null

Only message we could be doing something about is that
ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded from 1.000000)
which is a qDebug() statement in the MuseScore code

In reply to by Jojo-Schmitz

Without looking into the code – it's been a while since I've messed with Qt – but I think this warning comes from the QVariant constructor, or possibly from deserialization code. Could also be related to QML. The warnings do not appear if I use the command line tool to invoke the GUI, like so:

mscore test.mscz

In reply to by kontrafuss

MuseScoreStyleType was used for the theme preference setting up to 3.5.2 and replaced by MuseScorePreferredStyleType and MuseScoreEffectiveStyleType for 3.6+ (see https://github.com/musescore/MuseScore/commit/beaf03cabf0f87537c10b5d6f… )

Thus these messages come from loading an old preferences file with a newer release and should disappear as soon as your preferences have been saved with the new version.

In reply to by jeetee

That makes sense, since these warnings started appearing in 3.6. However, I still haven't found out what I can do to stop them. What preference file is it you're talking about? I've been working with 3.6 for a while now, and my style files (mss) have been updated with 3.6. Or is this some other preference file?

In reply to by Jojo-Schmitz

I don't think I have an ini file. This is on a mac. I checked the preference file ~/Library/Preferences/org.musescore.MuseScore3.plist, but cannot see any suspicious entry. Also, should be up to date by now.

grep -r MuseScoreStyleType Library/Application\ Support/MuseScore/ doesn't give any results.

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