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.

In reply to by Jojo-Schmitz

I have done the Factory Reset (several times) and I am still getting this problem.

I am on Mac OS 11.5.1, MuseScore 3.6.2 (recently upgraded from 3.2)

$ /Applications/MuseScore\ 3.app/Contents/MacOS/mscore --version
dlopen error : dlopen(libjack.0.dylib, 1): no suitable image found.  Did find:
    .: not a file 
dlopen error : dlopen(/usr/local/lib/libjack.0.dylib, 1): image not found 
MuseScore3 3.6.2

Also, I do not know if it is relevant, but the plist file is pretty weird:

$ cat ~/Library/Preferences/org.musescore.MuseScore3.plist
bplist00?6


!"#$%&'()*+,-./0123456789:;7;79>9@A79C7DE7FGH;JKLM97C7OP77Q777R77S77;797;777Yrecent-14_Geometries.Startcenter_MainWindow.showSelectionWindow_application.paths.mySoundfonts_MainWindow.splitYrecent-15_application.telemetry.allowedYrecent-16_synthControlVisible_MainWindow.state_MainWindow.showPianoKeyboard_pplication.paths.myPlugins_application.keyboardLaainWindow.debuggerSplitter_ui.application.language^GAnalytics-cid_MainWindow.showInspector_application.paths.myStyles_Geometries.MuseScore_Update.lastUpdateDateXrecent-0_MainWindow.splitScreenXrecent-1\currentScoreXrecent-2_MainWindow.splitter_application.paths.myScores_lastSaveCopyDirectoryXrecent-3_application.paths.myTemplatesXrecent-4Xrecent-5Xrecent-6_application.paths.myExtensionsXrecent-7Xrecent-8_.application.startup.telemetry_access_requested_lastSaveCopyFormatXrecent-9_MainWindow.showPanel_lastSaveDirectory\mixerVisibleYrecent-10_ ui.application.startup.showToursYrecent-11Yrecent-12Yrecent-13PO2???????????_*/Users/amw/Documents/MuseScore3/SoundFonts           O??
                                                          )??palette-widget^)????SelectionWindow????Z????)??inspector^)Z????
Mixer??????????Timeline????F????&ScoreComparisonTool?????????
piano???????text-tools????B????file-operations????transport-toolsE????pitch-tools?????foto-tools????feedback-toolsX????entry-tools???? workspaces-tools???_'/Users/amw/Documents/MuseScore3/PluginsYUS-QWERTUBasic_&/Users/amw/Documents/MuseScore3/ImagesO??d????Vsystem__&/Users/amw/Documents/MuseScore3/StylesO2???2]?25]??3A?c,(K?l_:/data/My_First_Score.mscO????_&/Users/amw/Documents/MuseScore3/Scores_)/Users/amw/Documents/MuseScore3/Templates_*/Users/amw/Documents/MuseScore3/ExtensionsU3.4.1 w??????#9Lk???????!?Yh???????&C[d???????!8LYc???????

?       D   M   j   k   ?   ?   ?




W

And it's even weirder if I try to edit it directly in vi (see attached).

Is it supposed to look like that?
I tried deleting it and letting MuseScore recreate it on load. Same result.

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