Bug 1242143 - [abrt] system-config-language: subprocess.py:573:check_output:CalledProcessError: Command 'dnf langinfo en' returned non-zero exit status 1
Summary: [abrt] system-config-language: subprocess.py:573:check_output:CalledProcessEr...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: 23
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:58ac40390b788159f7a2266da14...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-11 12:41 UTC by Giulio 'juliuxpigface'
Modified: 2015-08-18 07:17 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-18 07:15:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.05 KB, text/plain)
2015-07-11 12:42 UTC, Giulio 'juliuxpigface'
no flags Details
File: environ (212 bytes, text/plain)
2015-07-11 12:42 UTC, Giulio 'juliuxpigface'
no flags Details

Description Giulio 'juliuxpigface' 2015-07-11 12:41:55 UTC
Description of problem:
Description of problem:
system-config-language doesn't seem to work in the Rawhide I'm currently testing.

Version-Release number of selected component (if applicable):
system-config-language-3.0.0-2.fc23.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install KDE i686 spin from Fedora Nightly 20150704 compose, and select the Italian language.
2. Run system-config-language from K menu nor from Konsole.
3. Change the language to English (USA).

Actual results:
1. The language isn't changed.
2. system-config-language freezes and then crashes.


Expected results:
1. system-config-language should change the language accordingly to user's input.
2. system-config-language should exit cleanly.

Additional info:
1. Does this depend on https://bugzilla.redhat.com/show_bug.cgi?id=1114422?
2. This report is generated from KDE, but I've also - obviously - had trouble within Mate.

Version-Release number of selected component:
system-config-language-3.0.0-2.fc23

Additional info:
reporter:       libreport-2.6.0
cmdline:        /usr/bin/python2 /usr/share/system-config-language/system-config-language.py
dso_list:       python-libs-2.7.10-4.fc23.i686
executable:     /usr/share/system-config-language/system-config-language.py
kernel:         4.2.0-0.rc0.git4.1.fc23.i686
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
subprocess.py:573:check_output:CalledProcessError: Command 'dnf langinfo en' returned non-zero exit status 1

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 300, in ok_btn
    installed = self.instpkg.install_packages3(dlang)
  File "/usr/share/system-config-language/install_packages3.py", line 247, in install_packages3
    all_pkg_list = self.get_language_packages(langcode)
  File "/usr/share/system-config-language/install_packages3.py", line 151, in get_language_packages
    cmdoutput = subprocess.check_output(cmd, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command 'dnf langinfo en' returned non-zero exit status 1

Local variables in innermost frame:
retcode: 1
process: <subprocess.Popen object at 0xb729e4ec>
cmd: 'dnf langinfo en'
unused_err: None
kwargs: {'shell': True}
output: 'It could be a DNF plugin command, try: "dnf install \'dnf-command(langinfo)\'"\n'
popenargs: ('dnf langinfo en',)

Comment 1 Giulio 'juliuxpigface' 2015-07-11 12:42:03 UTC
Created attachment 1050882 [details]
File: backtrace

Comment 2 Giulio 'juliuxpigface' 2015-07-11 12:42:05 UTC
Created attachment 1050883 [details]
File: environ

Comment 3 Parag Nemade 2015-07-11 15:31:56 UTC
Can you confirm output of following command on your machine?
rpm -qa | grep dnf

Comment 4 Giulio 'juliuxpigface' 2015-07-12 13:11:13 UTC
(In reply to Parag from comment #3)
> Can you confirm output of following command on your machine?
> rpm -qa | grep dnf

[giulio@enceladus ~]$ rpm -qa dnf

dnf-1.0.1-3.fc23.noarch

Comment 5 Giulio 'juliuxpigface' 2015-07-12 13:12:36 UTC
(In reply to Giulio 'juliuxpigface' from comment #4)
> (In reply to Parag from comment #3)
> > Can you confirm output of following command on your machine?
> > rpm -qa | grep dnf
> 
> [giulio@enceladus ~]$ rpm -qa dnf
> 
> dnf-1.0.1-3.fc23.noarch

Uh sorry, I missed a part of the request. Here's the complete output:

[giulio@enceladus ~]$ rpm -qa | grep dnf
python3-dnf-1.0.1-3.fc23.noarch
python3-dnf-plugins-core-0.1.9-1.fc23.noarch
dnf-yum-1.0.1-3.fc23.noarch
dnf-langpacks-0.10.0-2.fc23.noarch
python-dnf-plugins-core-0.1.9-1.fc23.noarch
dnf-1.0.1-3.fc23.noarch
dnf-plugins-core-0.1.9-1.fc23.noarch
python-dnf-1.0.1-3.fc23.noarch
dnf-conf-1.0.1-3.fc23.noarch

Comment 6 Jan Kurik 2015-07-15 13:18:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 7 Nate Guerin 2015-08-10 11:22:49 UTC
Hey,

I'm looking into this bug and trying to reproduce it.  My Italian isn't the best, and I was wondering if you could explain the steps to change the language from the desktop (without using the console?)

Comment 8 Giulio 'juliuxpigface' 2015-08-10 18:59:18 UTC
Here are the steps I'd normally go through:

1. Open KDE's main menu from the bottom-left icon (in Italian it's called 'avviatore di applicazioni', I don't remember the english spelling, but might be 'application launcher' or something similar).
2. Type 'lang'. One of the found applications should be 'system-config-language', translated as 'Lingua' with the description 'Modificare la lingua predefinita del sistema'. Just click on that icon in order to launch the 'Language Selection' window.
3. Here, you only have to select the desired language and click the 'Ok' button.

Hope that helps, feel free to request further information, when needed.

Comment 9 Parag Nemade 2015-08-18 07:15:42 UTC
This is already fixed with new update dnf-langpack-0.15.0-1.fc23

Real bug is 1249278

Comment 10 Parag Nemade 2015-08-18 07:17:39 UTC
Note that there is also one more bug is reported for system-config-language which is fixed soon. bug 1254007


Note You need to log in before you can comment on or make changes to this bug.