Launcher
Launcher copied to clipboard
0.020 W Selected invalid language "", defauting to "en_US"
I met the following message when I start MultiMC on my CentOS7(3.10.0-862.14.4.el7.x86_64). I used mmc-stable-lin64.tar.gz package.
- 0.020 W Selected invalid language "", defaulting to "en_US"
I think I have config the right LANG.
$ echo $LANG en_US.UTF-8 $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8
$ locale -a|grep en_US en_US en_US.iso88591 en_US.iso885915 en_US.utf8
Is there anything that I missed?
Additional information about my environment: java version "18.0.1" 2022-04-19 Java(TM) SE Runtime Environment (build 18.0.1+10-24) Java HotSpot(TM) 64-Bit Server VM (build 18.0.1+10-24, mixed mode, sharing)
The following qt5 package have been installed. qt5-qtbase-5.9.7-5.el7_9.x86_64 qt5-qtbase-gui-5.9.7-5.el7_9.x86_64 qt5-qtbase-common-5.9.7-5.el7_9.noarch
any helps are appreciated. Thanks in advance.
I don't known if MultiMC also need X11 or Desktop? Could you please give me a checklist for running MultiMC?
By the way, I set LANGUAGE in /etc/profile LANGUAGE="en_US.utf8"
echo $LANGUAGE en_US.utf8
$ sh MultiMC -V Launcher Dir: /opt/MultiMC No missing dependencies found. Version 0.6.15-3244 Git 2a2b18ddff3aa9bccf86208d7b98a3e60f006cf4
Please make an investigation about my problem. I am curious how the MultiMC found the language is invalid?
pretty sure that message is coming from Qt and not MultiMC
Hi Phit, Thanks for your response. Could you give some clause to fix this Qt's exception?
Regards, Harry
it's just a warning, is it causing you any actual issues?
It caused MultiMC hang up, and can not startup. So I would like to known which version of Qt you test on? Should I make any configuration after installing qt5-atbase? By the way, I used qt5 RPM package (qt5-qtbase-5.9.7-5.el7_9.x86_64.rpm) , download from the following url: https://pkgs.org/download/qt5-qtbase Is this rpm package ok? Could you provide a suitable qt5 package download url ?
Thanks in advance
can you post your actual MultiMC-0.log file, MultiMC is build with various versions depending on OS, anything from 5.6 to 5.15 should work ok
are you using https://copr.fedorainfracloud.org/coprs/kb1000/multimc/ ?
I download MultiMC from the following url: https://files.multimc.org/downloads/mmc-stable-lin64.tar.gz
Attachment is MultiMC-0.log.
I have browsed the url that you provide. There is no package for Centos 7. MultiMC-0.log
I choosed Centos-stream 8 release and installed MultiMC from the repo that you provided successfully on my CentOS7.

I would like to known how to run MultiMC after installation.
Thanks in advance
$ rpm -ql MultiMC5
/usr/bin/multimc
/usr/share/applications/org.multimc.MultiMC5.desktop
/usr/share/icons/hicolor/scalable/apps/org.multimc.MultiMC5.svg
/usr/share/man/man6/multimc.6.gz
/usr/share/metainfo/org.multimc.MultiMC5.metainfo.xml
I tried to run MultiMC as a general user, but met exception: $ cd /usr/bin $ ./multimc (zenity:24769): Gtk-WARNING **: 20:43:57.562: cannot open display: :0.0 tar (child): mmc-stable-lin64.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now rm: cannot remove ‘mmc-stable-lin64.tar.gz’: No such file or directory chmod: cannot access ‘MultiMC’: No such file or directory ./multimc: line 25: /home/henry/.local/share/multimc/MultiMC: No such file or directory
I executed the following command, and re-start MultiMC, found the exception is different from above. $export DISPLAY=stage-server:1 $multimc 0.041 C Exception: "Unable to open /home/henry/.local/share/multimc/translations/index_v2.json for reading: No such file or directory" 0.042 C Translations Download Failed: index file not readable 0.043 W Selected invalid language "" , defaulting to "en_US" 0.050 C "Failed to read the account list file (accounts.json)." 0.108 C Exception: "Unable to open /home/henry/.local/share/multimc/translations/index_v2.json for reading: No such file or directory" 0.109 C Translations Download Failed: index file not readable 1.245 W QAbstractItemModel::endInsertRows: Invalid index ( 56 , 1 ) in model TranslationsModel(0x16af4c0) 1.246 W QAbstractItemModel::endInsertRows: Invalid index ( 56 , 0 ) in model TranslationsModel(0x16af4c0)
ctrl + c terminate process, then I checked index_v2.jsn file: [henry@stage-server ~]$ cd /home/henry/.local/share/multimc/translations/ [henry@stage-server translations]$ ls -l -rw-rw-r--. 1 henry henry 15627 Jun 26 20:33 index_v2.json
Next, I tried to start MultiMC again, $multimc the result is : No missing dependence found. 0.025 W Selected invalid language "", defaulting to "en_US" 0.027 C "Failed to read the account list file (accounts.json)."
Hang up, cannot start MultiMC. I found that the accounts.json file did not generate in /home/henry/.local/share/multimc folder.
[henry@stage-server multimc]$ multimc -V Launcher Dir: /home/henry/.local/share/multimc No missing dependencies found. Version 0.6.16-3430 Git c6b60969bb64211927a2514c1eb478fd80f2f250
[henry@stage-server multimc]$ rpm -qa|grep MultiMC MultiMC5-1.6-4.el8.x86_64 [henry@stage-server multimc]$ rpm -ql MultiMC5-1.6-4.el8.x86_64 /usr/bin/multimc /usr/share/applications/org.multimc.MultiMC5.desktop /usr/share/icons/hicolor/scalable/apps/org.multimc.MultiMC5.svg /usr/share/man/man6/multimc.6.gz /usr/share/metainfo/org.multimc.MultiMC5.metainfo.xml
[henry@stage-server multimc]$ rpm -qa|grep qt5 qt5-qtbase-5.9.7-5.el7_9.x86_64 qt5-qtbase-gui-5.9.7-5.el7_9.x86_64 qt5-qtbase-common-5.9.7-5.el7_9.noarch
Please make a further investigation. Thanks in advance.
Your logs are pretty incomplete, it looks like you didn't just filter any private details out you selectively chose 1 line (originally) and 2 lines on the second attempt. Cannot use those logs to substantiate MultiMC hanging at all.
Hi TacoGS,
Thanks for your reply. If the logs are pretty incomplete, how do I generate a complete log for you, so that you can make an investigation for this issue. What additional information do you need ?
Regards, Harry