Bug 1057824

Summary: system-config-repo - Dont open repo file
Product: [Fedora] Fedora Reporter: Wolnei Junior <e>
Component: system-config-repoAssignee: Alec Leamas <leamas.alec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 20CC: leamas.alec
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-repo-0-2.20140117git3318cd6.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-29 00:53:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wolnei Junior 2014-01-25 04:59:20 UTC
Description of problem: system-config-repo crash when open a repo file


Version-Release number of selected component (if applicable): 0-1.20140117git3318cd6.fc20


How reproducible:


Steps to Reproduce:
1. start system-config-repo
2. select a repo file

Actual results: crash


Expected results: open file to configure


Additional info:

Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
  File "/usr/share/system-config-repo/scripts/repoconf.py", line 615, in main
    builder.connect_signals(Handler(builder))
  File "/usr/share/system-config-repo/scripts/repoconf.py", line 599, in __init__
    self.config = _parse_repo(self.repofile)
  File "/usr/share/system-config-repo/scripts/repoconf.py", line 56, in _parse_repo
    config = _RepoConfigParser()
  File "/usr/share/system-config-repo/scripts/repoconf.py", line 157, in __init__
    bytes_ = subprocess.check_output(['lsb_release', '-sr'])
  File "/usr/lib/python3.3/subprocess.py", line 573, in check_output
    with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
  File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] File or directory not found: 'lsb_release'

Comment 1 Alec Leamas 2014-01-25 08:23:33 UTC
Thanks for feedback! This seems to be about a missing dependency on the red-lsb-core package. I will make an update during the weekend.

In the meantime a walk-around is to install this package before other testing (sudo yum install -y redhat-lsb-core).

Comment 2 Fedora Update System 2014-01-25 08:44:12 UTC
system-config-repo-0-2.20140117git3318cd6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-repo-0-2.20140117git3318cd6.fc20

Comment 3 Fedora Update System 2014-01-25 08:45:14 UTC
system-config-repo-0-2.20140117git3318cd6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-repo-0-2.20140117git3318cd6.fc19

Comment 4 Fedora Update System 2014-01-26 00:31:08 UTC
Package system-config-repo-0-2.20140117git3318cd6.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-repo-0-2.20140117git3318cd6.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1554/system-config-repo-0-2.20140117git3318cd6.fc19
then log in and leave karma (feedback).

Comment 5 Wolnei Junior 2014-01-29 00:52:49 UTC
Worked now.

Comment 6 Fedora Update System 2014-02-03 02:43:17 UTC
system-config-repo-0-2.20140117git3318cd6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-02-03 02:47:03 UTC
system-config-repo-0-2.20140117git3318cd6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.