Bug 1121393 - [abrt] yumex: __init__.py:461:getReposFromConfigFile:ConfigError: File contains no section headers.
Summary: [abrt] yumex: __init__.py:461:getReposFromConfigFile:ConfigError: File contai...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:225731efd3267c5259b3168fbfc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-20 11:26 UTC by Shankar
Modified: 2014-07-21 08:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-21 08:18:42 UTC


Attachments (Terms of Use)
File: backtrace (1.64 KB, text/plain)
2014-07-20 11:26 UTC, Shankar
no flags Details
File: environ (1.36 KB, text/plain)
2014-07-20 11:26 UTC, Shankar
no flags Details

Description Shankar 2014-07-20 11:26:10 UTC
Version-Release number of selected component:
yumex-3.0.15-1.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python -E /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf
dso_list:       yum-3.4.3-152.fc20.noarch
executable:     /usr/share/yumex/yum_childtask.py
kernel:         3.15.5-200.fc20.i686+PAE
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:461:getReposFromConfigFile:ConfigError: File contains no section headers.
file: file:///etc/yum.repos.d/fedorautils.repo, line: 1
'<html>\r\n'

Traceback (most recent call last):
  File "/usr/share/yumex/yum_childtask.py", line 63, in <module>
    my = YumServer(debuglevel, plugins, offline, repos, yum_conf)
  File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 207, in __init__
    self.yumbase # init the YumBase attribute
  File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 231, in yumbase
    yumbase.repos.setProgressBar(self.dnlCallback)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1078, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 702, in _getRepos
    self.getReposFromConfig()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 575, in getReposFromConfig
    self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 461, in getReposFromConfigFile
    raise Errors.ConfigError(exception2msg(e))
ConfigError: File contains no section headers.
file: file:///etc/yum.repos.d/fedorautils.repo, line: 1
'<html>\r\n'

Local variables in innermost frame:
e: File contains no section headers.
file: file:///etc/yum.repos.d/fedorautils.repo, line: 1
'<html>\r\n'
repofn: '/etc/yum.repos.d/fedorautils.repo'
confpp_obj: <yum.parser.ConfigPreProcessor instance at 0x931bf6c>
parser: <iniparse.compat.RawConfigParser object at 0x9321ecc>
repo_age: 1405847593
validate: None
self: <yumexbackend.yum_server.YumexYumBase object at 0x92fe54c>

Comment 1 Shankar 2014-07-20 11:26:13 UTC
Created attachment 919373 [details]
File: backtrace

Comment 2 Shankar 2014-07-20 11:26:15 UTC
Created attachment 919374 [details]
File: environ

Comment 3 Tim Lauridsen 2014-07-21 08:18:42 UTC
the /etc/yum.repos.d/fedorautils.repo is not at valid .ini file, som it makes yum blow up.

fix the file at the problem will go away.


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