Console.log output not showing up
Please see attached screenshot. None of the plugins I have tried are displaying any of the console.log() messages in the console. In googling around for this I can't find anyone else having that problem - except for folks who hadn't opened the console window in the plugin creator editor or weren't running the plugin from the editor. I believe I do have that window open, and am running the plugins from the editor, yet no messages appear. Again, please take a look at the attached screenshot. (I am running -- OS: Fedora 32 (KDE Plasma), Arch.: x86_64, MuseScore version (64-bit): 3.5.0, revision: 43c5553)
Any help appreciated!
UPDATE: I just tried this using a development Linux Appimage (Musescore version 3.5.0, revision: 85ab20d) and it works (see 3rd attached screenshot). So...what is this telling me? The version from the fedora repo has a bug? Something simple I'm missing?
Attachment | Size |
---|---|
Musescore-Plugin_loggingToConsoleNoWork.png | 320.08 KB |
Musescore-Plugin_loggingToConsoleNoWork_2.png | 434.35 KB |
Musescore-Plugin_loggingToConsole_OKOnDevBuild3.5.0.png | 307.53 KB |
Comments
Guess you'd need to report that to the Fedora MuseScore maintainer
In reply to Guess you'd need to report… by Jojo-Schmitz
Yep - I just posted it to fedora bugzilla. fwiw, the flatpak version also works fine. Perhaps there is some Qt dependency missing from the fedora repo build, like a Qt development library or such.
For anyone stumbling across this - the issue is that Qt debugging output was disabled. This might be true some other distros as well I suppose. Below is the response from the fedora Musescore package maintainer, which did fix the issue:
The issue is that the Fedora Qt packages disable debug output by default. Try creating: ~/.config/QtProject/qtlogging.ini with the following contents:
[Rules]
*.debug=true
qt.*.debug=false