Bug 212454 - I just installed the yumextender, started it and received this error (Oct 26 2006)
Summary: I just installed the yumextender, started it and received this error (Oct 26 ...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-26 20:29 UTC by G Robin
Modified: 2014-01-21 22:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-30 16:49:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description G Robin 2006-10-26 20:29:01 UTC
Description of problem:
Component: yumex
Version: 1.0.2
Summary: TBd92eccef ConfigParser.py:462:_read:MissingSectionHeaderError: File
contains no section headers.
file: /etc/yum.repos.d/freshrpms.repo, line: 1
'main]\n'

Traceback (most recent call last):
  File "yumexmain.py", line 948, in ?
    mainApp = YumexMainApplication()
  File "yumexmain.py", line 452, in __init__
    self.repo = Repository()
  File "yumexUtils.py", line 1154, in __init__
  File "yumexUtils.py", line 1237, in update
  File "yumexUtils.py", line 1213, in build_section_dict
  File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
    self._read(fp, filename)
  File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /etc/yum.repos.d/freshrpms.repo, line: 1
'main]\n'

Local variables in innermost frame:
cursect: None
fp: <open file '/etc/yum.repos.d/freshrpms.repo', mode 'r' at 0xb7a5fb60>
e: None
fpname: /etc/yum.repos.d/freshrpms.repo
mo: None
optname: None
lineno: 1
line: main]

self: <ConfigParser.ConfigParser instance at 0xb79f61cc>


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeremy Katz 2006-10-30 16:49:49 UTC
You have a malformed repo config in /etc/yum.repos.d/freshrpms.repo.


Comment 2 Jeremy Katz 2006-10-30 16:51:44 UTC
*** Bug 212553 has been marked as a duplicate of this bug. ***


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