Bug 1057824 - system-config-repo - Dont open repo file
Summary: system-config-repo - Dont open repo file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-repo
Version: 20
Hardware: i686
OS: Linux
low
low
Target Milestone: ---
Assignee: Alec Leamas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-25 04:59 UTC by Wolnei Junior
Modified: 2014-02-03 02:47 UTC (History)
1 user (show)

Fixed In Version: system-config-repo-0-2.20140117git3318cd6.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-29 00:53:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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