Bug 1458485

Summary: [abrt] system-config-language: install_packages3.py:167:setup_conditional_pkgs:AttributeError: 'Metadata' object has no attribute '_comps_fn'
Product: [Fedora] Fedora Reporter: Dark Shenada <shenada>
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: i18n-bugs, nav007, pgeorgie, pnemade, psatpute, smaitra
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8bed3579156f50dc84551d9212afa0a512562006
Whiteboard: abrt_hash:29184c1baf06a840791bb81bab1d54927d869f4e;VARIANT_ID=workstation;
Fixed In Version: system-config-language-3.4.2-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-02 10:52:01 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 Dark Shenada 2017-06-03 10:28:19 UTC
Version-Release number of selected component:
system-config-language-3.4.1-1.fc25

Additional info:
reporter:       libreport-2.8.0
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.11.3-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
install_packages3.py:167:setup_conditional_pkgs:AttributeError: 'Metadata' object has no attribute '_comps_fn'

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 307, in ok_btn
    installed = self.instpkg.install_packages3(dlang)
  File "/usr/share/system-config-language/install_packages3.py", line 231, in install_packages3
    self.setup_conditional_pkgs(repos)
  File "/usr/share/system-config-language/install_packages3.py", line 167, in setup_conditional_pkgs
    comps_fn = repo.metadata._comps_fn
AttributeError: 'Metadata' object has no attribute '_comps_fn'

Local variables in innermost frame:
repos: <generator object RepoDict.iter_enabled.<locals>.<genexpr> at 0x7f388b3523b8>
repo: <Repo region51-chrome-gnome-shell>
self: <install_packages3.InstallLangpack object at 0x7f3891878400>

Comment 1 Dark Shenada 2017-06-03 10:28:26 UTC
Created attachment 1284634 [details]
File: backtrace

Comment 2 Dark Shenada 2017-06-03 10:28:28 UTC
Created attachment 1284635 [details]
File: environ

Comment 3 Parag Nemade 2017-06-03 12:55:02 UTC
Ah somehow I thought dnf-2.0.0 is in Fedora 25 also. I need to work on this to revert the change in 3.4.1 release.

Comment 4 Fedora Update System 2017-06-08 03:22:45 UTC
system-config-language-3.4.2-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e996cc555f

Comment 5 Fedora Update System 2017-06-09 13:39:25 UTC
system-config-language-3.4.2-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e996cc555f

Comment 6 Fedora Update System 2017-07-02 10:52:01 UTC
system-config-language-3.4.2-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.