MS4 doesn’t launch from double-clicking a file (Linux)
I haven’t used MS for a bit, but I notice that it now does not launch from a (newly created) file. After starting MS I can open the same file from within the program and everything (editing, playback, etc) seems fine.
Trying to open the file from a terminal with xdg-open
give an error about MuseSampler as does just running mscore
from a terminal. Launched in a terminal or from the usual .desktop file, it sometimes takes a bit longer than normal to start, sometimes doesn’t start at all and sometimes starts quickly. As far as I know the program has just been updated in the usual way, so not sure what’s come unstuck. It’s version 4.3.2-1, installed from the (Manjaro) official extras repository.
From inside the program if I look at Diagnostic | Muse Sampler | Check Muse Sampler it says Muse Sampler Library is detected, version 0.3.2. The path mentioned in the error below does not exist though. Where should the Muse Sampler library be? It’s definitely exists in /usr/lib
so should I just change it to that in MuseScore4.ini
? What’s the value in checking for a file that doesn’t exist at startup? Is there some reason to have a per-user library?
I can’t see that MuseHub does much any more either. I noticed new Guitar sounds, but if I try to download, it just says “Something went wrong, please try again later, ID: 146bcefa-1588-44e4-9782-59ddc78daa36, Type: Instrument”. Clicking on the play (guitar) sample crashed the program and when I restarted it, it immediately gave me the same error for all instruments, then shows all the instruments I already have as not installed. The updates notification has download buttons, but they don’t seem to do anything. I think when I first installed instruments from MuseHub I used a custom path, but changed it back to the default ( /srv/muse-hub/downloads
) since it didn’t work at all. The option to automatically keeps sounds updated is checked, but it’s not clear if it’s doing that or not.
What is going on?
$ 15:20:31.867 | INFO | main_thread | GlobalModule::onPreInit | log path: /home/sean/.local/share/MuseScore/MuseScore4/logs/MuseScore_240820_152031.log
15:20:31.867 | INFO | main_thread | GlobalModule::onPreInit | === Started MuseScore 4.3.2, build number ===
15:20:31.870 | WARN | main_thread | IpcSocket::connect | failed connect to server
15:20:31.870 | WARN | main_thread | IpcSocket::connect | failed connect to server
15:20:31.870 | INFO | main_thread | IpcSocket::connect | success connected to ipc server
15:20:31.870 | INFO | 127630454032064 | IpcServer::listen | id: "a11fa54d24b44d66a8a95a312b4c7fcb"
15:20:31.904 | WARN | main_thread | DiagnosticsModule::onInit | crash handling disabled
15:20:32.124 | ERROR | main_thread | MuseSamplerLibHandler::MuseSamplerLibHandler | Unable to open MuseSampler library, path: /home/sean/.local/share/MuseSampler/lib/libMuseSamplerCoreLib.so
15:20:32.124 | ERROR | main_thread | MuseSamplerResolver::doInit | Incompatible MuseSampler library; ignoring
15:20:32.210 | WARN | main_thread | AbstractCloudService::readTokens | Could not find the tokens file: /home/sean/.local/share/MuseScore/MuseScore4/musescorecom_cred.dat
15:20:32.210 | WARN | main_thread | AbstractCloudService::readTokens | Could not find the tokens file: /home/sean/.local/share/MuseScore/MuseScore4/audiocom_cred.dat
/usr/include/c++/14.1.1/array:217: constexpr const std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator const [with _Tp = mu::engraving::PropertyValue; long unsigned int _Nm = 1437; const_reference = const mu::engraving::PropertyValue&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (memory dumped)