Lots of warnings in command line utility
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?
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?
Do you still have an unanswered question? Please log in first to post your question.
Comments
Probably leftover debug messages.
Do you have more context?
What version exactly and from where, on what operating system?
In reply to Probably leftover debug… 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 $ mscore --version dlopen… 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 codeIn reply to Interesting... none of that… by Jojo-Schmitz
No such warnings on Linux either.
In reply to Interesting... none of that… 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 Without looking into the… by kontrafuss
See above for the exact location that message comes from
I too suspect some QML, probably a plugin
In reply to See above for the exact… by Jojo-Schmitz
Nope, not plugins. I just wiped my plugins folder and did a restart. Same messages.
In reply to Nope, not plugins. I just… by kontrafuss
Some custom palettes?
Any of the plugins that come as part of MuseScore?
In reply to $ mscore --version dlopen… 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 MuseScoreStyleType was used… by jeetee
Ah, thanks for digging that up!
In reply to MuseScoreStyleType was used… 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 That makes sense, since… by kontrafuss
Check MuseScore3.ini
In reply to Check MuseScore3.ini 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 I dont't think I have an ini… by kontrafuss
Indeed Macs don't have .ini files, it should be in
~/Library/Preferences/org.musescore.MuseScore3.plist
, see https://musescore.org/en/handbook/3/revert-factory-settings#instruction…In reply to I dont't think I have an ini… by kontrafuss
You can try to see whether reverting MuseScore to factory settings gets rid of that debug message
In reply to You can try to see whether… by Jojo-Schmitz
I did
mscore -F
and that cleared the warnings. Still wondering what went wrong, though.Thanks for help and support!
In reply to I did mscore -F and that… by kontrafuss
There got to have been a remnant of that old preference setting somewhere
In reply to There got to have been a… 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)
Also, I do not know if it is relevant, but the
plist
file is pretty weird: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.
In reply to I have done the Factory… by Adam Wood1
That "b" in the "bplist" marker at the start of the file indicates that it is a binary format plist file; so yes, opening it straight up with a text editor won't make much sense to most.
See the plutil man page on how to convert between the binary format and an xml or JSON format.