Bug 1458485 - [abrt] system-config-language: install_packages3.py:167:setup_conditional_pkgs:AttributeError: 'Metadata' object has no attribute '_comps_fn'
Summary: [abrt] system-config-language: install_packages3.py:167:setup_conditional_pkg...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:29184c1baf06a840791bb81bab1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-03 10:28 UTC by Dark Shenada
Modified: 2017-07-03 04:03 UTC (History)
6 users (show)

Fixed In Version: system-config-language-3.4.2-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-02 10:52:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (849 bytes, text/plain)
2017-06-03 10:28 UTC, Dark Shenada
no flags Details
File: environ (220 bytes, text/plain)
2017-06-03 10:28 UTC, Dark Shenada
no flags Details

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.


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