Created attachment 1803268 [details] Screenshot of the error dialog that pops up during installation. Description of problem: When installing the package `cppcheck-gui` with dnf an error dialog is opened: ``` Failed to change the user interface language: Failed to load translation for language English from file /usr/share/Cppcheck/lang/cppcheck_en.qm The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages ``` The file `/usr/share/Cppcheck/lang/cppcheck_en.qm` is indeed missing on my system. Version-Release number of selected component (if applicable): # dnf list cppcheck cppcheck-gui [...] cppcheck.x86_64 2.5-1.fc34 @updates cppcheck-gui.x86_64 2.5-1.fc34 @updates How reproducible: # cppcheck-gui bash: cppcheck-gui: command not found... Install package 'cppcheck-gui' to provide command 'cppcheck-gui'? [N/y] y * Waiting in queue... The following packages have to be installed: cppcheck-gui-2.5-1.fc34.x86_64 Graphical user interface for cppcheck Proceed with changes? [N/y] y * Waiting in queue... * Waiting for authentication... * Waiting in queue... * Downloading packages... * Requesting data... * Testing changes... * Installing packages... QSocketNotifier: Can only be used with threads started with QThread --> GUI dialog (see screenshot) Steps to Reproduce: 1. install the package cppcheck (sudo dnf install cppcheck) 2. install the package cppcheck-gui (sudo dnf install cppcheck-gui) Actual results: Error dialog pops up Expected results: No error dialog. I actually don't know if there *is* an English translation of the cppcheck GUI available or not. It may also be an error caused by the first-time start of the tool, or a default configuration is missing in the package. Anyway, the error message is disturbing and should not be presented. Additional info: - My system is Fedora 34 with all available updates installed: # uname -a Linux inspiron14l 5.12.15-300.fc34.x86_64 #1 SMP Wed Jul 7 19:46:50 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Thanks for your report. Remark: This message is only shown, when cppcheck-gui is started the first time. It does not show up anymore upon subsequent starts of cppcheck-gui.
Confirmed. After the first run of cppcheck-gui I find this configuration file in my $HOME directory: `~/.config/Cppcheck/Cppcheck-GUI.conf`. So, probably, the issue is not related to Fedora or to the cppcheck-gui package, but to the tool itself.
In the meantime I could do some debugging and a fix has been proposed upstream: https://github.com/danmar/cppcheck/pull/3351 Copr builds are available for testing here: https://copr.fedorainfracloud.org/coprs/c72578/cppcheck/
FEDORA-2021-ad8d7727fb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ad8d7727fb
FEDORA-2021-ad8d7727fb has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ad8d7727fb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ad8d7727fb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-7f85b14f8f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7f85b14f8f
FEDORA-2021-7f85b14f8f has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7f85b14f8f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7f85b14f8f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-ad8d7727fb has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-7f85b14f8f has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.