Bug 1351017

Summary: [abrt] system-config-language: install_packages3.py:291:install_language_packages:AttributeError: 'CalledProcessError' object has no attribute 'message'
Product: [Fedora] Fedora Reporter: Yonatan <yonatan.el.amigo>
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: i18n-bugs, nav007, pnemade, psatpute, smaitra, yonatan.el.amigo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e8f77a08f29b68cff76fd1ab9a62cf28e1ee22db
Whiteboard: abrt_hash:0b91603141a8ca4462408c095717f481be4b6e33;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-21 15:26:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Yonatan 2016-06-29 04:45:43 UTC
Version-Release number of selected component:
system-config-language-3.3.0-3.fc24

Additional info:
reporter:       libreport-2.7.1
cmdline:        /usr/bin/python3 /usr/share/system-config-language/system-config-language.py
executable:     /usr/share/system-config-language/system-config-language.py
kernel:         4.1.6-201.fc22.i686
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
reproducible:   Not sure how to reproduce the problem
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
install_packages3.py:291:install_language_packages:AttributeError: 'CalledProcessError' object has no attribute 'message'

Traceback (most recent call last):
  File "/usr/share/system-config-language/install_packages3.py", line 288, in install_language_packages
    subprocess.check_output(cmd, shell=True)
  File "/usr/lib/python3.5/subprocess.py", line 629, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 711, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'dnf langinstall -y es' returned non-zero exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 308, in ok_btn
    installed = self.instpkg.install_packages3(dlang)
  File "/usr/share/system-config-language/install_packages3.py", line 275, in install_packages3
    ret = self.install_language_packages(langcode)
  File "/usr/share/system-config-language/install_packages3.py", line 291, in install_language_packages
    print(e.message)
AttributeError: 'CalledProcessError' object has no attribute 'message'

Local variables in innermost frame:
cmd: 'dnf langinstall -y es'
langcode: 'es'
cls: <class 'install_packages3.InstallLangpack'>

Potential duplicate: bug 1279137

Comment 1 Yonatan 2016-06-29 04:45:55 UTC
Created attachment 1173628 [details]
File: backtrace

Comment 2 Yonatan 2016-06-29 04:45:57 UTC
Created attachment 1173629 [details]
File: environ

Comment 3 Parag Nemade 2016-06-29 05:10:47 UTC
I have the same reply here like this bug's duplicate comment.
Not sure how to reproduce this.

Comment 4 Parag Nemade 2016-07-02 10:31:19 UTC
Can you try again and install es language support? Check if this bug is reproducible again?

Comment 5 Parag Nemade 2016-11-21 15:26:04 UTC
Please test against Fedora 25 release and report if found any bugs.