Bug 1351017 - [abrt] system-config-language: install_packages3.py:291:install_language_packages:AttributeError: 'CalledProcessError' object has no attribute 'message'
Summary: [abrt] system-config-language: install_packages3.py:291:install_language_pack...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: 24
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:0b91603141a8ca4462408c09571...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-29 04:45 UTC by Yonatan
Modified: 2016-11-21 15:26 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-11-21 15:26:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.27 KB, text/plain)
2016-06-29 04:45 UTC, Yonatan
no flags Details
File: environ (182 bytes, text/plain)
2016-06-29 04:45 UTC, Yonatan
no flags Details

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.


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