Bug 861264 - [abrt] yum-3.4.3-29.fc17: __init__.py:452:getReposFromConfigFile:ConfigError: File contains no section headers.
Summary: [abrt] yum-3.4.3-29.fc17: __init__.py:452:getReposFromConfigFile:ConfigError:...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6c0529d466fadb0cab91dab91a8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-28 01:50 UTC by Niranj
Modified: 2014-01-21 23:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-01 08:31:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (643 bytes, text/plain)
2012-09-28 01:50 UTC, Niranj
no flags Details

Description Niranj 2012-09-28 01:50:55 UTC
Version-Release number of selected component:
yum-3.4.3-29.fc17

Additional info:
libreport version: 2.0.13
abrt_version:   2.0.12
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available jup
kernel:         3.5.4-1.fc17.x86_64

backtrace:
:__init__.py:452:getReposFromConfigFile:ConfigError: File contains no section headers.
:file: file://///etc/yum.repos.d/rpm-sphere.repo, line: 1
:'phere]\n'
:
:Traceback (most recent call last):
:  File "/usr/share/yum-cli/completion-helper.py", line 89, in <module>
:    main(sys.argv[1:])
:  File "/usr/share/yum-cli/completion-helper.py", line 80, in main
:    for repo in base.repos.listEnabled():
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1011, in <lambda>
:    repos = property(fget=lambda self: self._getRepos(),
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 677, in _getRepos
:    self.getReposFromConfig()
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 557, in getReposFromConfig
:    self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 452, in getReposFromConfigFile
:    raise Errors.ConfigError(exception2msg(e))
:ConfigError: File contains no section headers.
:file: file://///etc/yum.repos.d/rpm-sphere.repo, line: 1
:'phere]\n'
:
:Local variables in innermost frame:
:e: File contains no section headers.
:file: file://///etc/yum.repos.d/rpm-sphere.repo, line: 1
:'phere]\n'
:repofn: '///etc/yum.repos.d/rpm-sphere.repo'
:confpp_obj: <yum.parser.ConfigPreProcessor instance at 0x7f6ab4d053f8>
:parser: <iniparse.compat.RawConfigParser object at 0x7f6ab4d0a1d0>
:repo_age: 1348797014
:validate: None
:self: <cli.YumBaseCli object at 0x7f6ac904a1d0>

Comment 1 Niranj 2012-09-28 01:50:58 UTC
Created attachment 618370 [details]
File: core_backtrace

Comment 2 Zdeněk Pavlas 2012-10-01 08:31:44 UTC
Added a ConfigError handler to completion-helper.py.

Comment 3 Fedora Update System 2012-10-02 11:37:03 UTC
yum-3.4.3-45.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/yum-3.4.3-45.fc18

Comment 4 Fedora Update System 2012-11-12 14:49:22 UTC
yum-3.4.3-30.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/yum-3.4.3-30.fc17

Comment 5 Fedora Update System 2012-11-19 02:23:30 UTC
yum-3.4.3-30.fc17 has been pushed to the Fedora 17 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.