2017-10-23 18:37 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013653CentOS-7yumpublic2017-08-13 07:16
Reporterlentos 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0013653: [abrt] yum: __init__.py:465:getReposFromConfigFile:ConfigError: File contains no section headers.
DescriptionDescription of problem:
I don't know what causes bugs.

Version-Release number of selected component:
yum-3.4.3-150.el7.centos

Truncated backtrace:
__init__.py:465:getReposFromConfigFile:ConfigError: File contains no section headers.
file: file:///etc/yum.repos.d/google.repo, line: 1
'google64]\n'

Traceback (most recent call last):
  File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
    main(sys.argv[1:])
  File "/usr/share/yum-cli/completion-helper.py", line 83, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 353, in getOptionsConfig
    self.parseCommands() # before we return check over the base command + args
  File "/usr/share/yum-cli/cli.py", line 395, in parseCommands
    self._set_repos_cache_req()
  File "/usr/share/yum-cli/cli.py", line 416, in _set_repos_cache_req
    for repo in self.repos.listEnabled():
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1070, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 694, in _getRepos
    self.getReposFromConfig()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 567, in getReposFromConfig
    self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 465, in getReposFromConfigFile
    raise Errors.ConfigError(exception2msg(e))
ConfigError: File contains no section headers.
file: file:///etc/yum.repos.d/google.repo, line: 1
'google64]\n'

Local variables in innermost frame:
e: File contains no section headers.
file: file:///etc/yum.repos.d/google.repo, line: 1
'google64]\n'
repofn: '/etc/yum.repos.d/google.repo'
confpp_obj: <yum.parser.ConfigPreProcessor instance at 0x2704758>
parser: <iniparse.compat.RawConfigParser object at 0x2719ed0>
repo_age: 1502289315
validate: None
self: <cli.YumBaseCli object at 0x7fc1212de350>
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available goo
executable: /usr/share/yum-cli/completion-helper.py
kernel: 3.10.0-514.26.2.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 0
TagsNo tags attached.
abrt_hashb316a18619f434a9191c37991f3604b640437e2f
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/f42fd04a226a40b3e58a4768f8baf9fed39bf034
Attached Files
  • ? file icon backtrace (1,781 bytes) 2017-08-09 14:43 -
    __init__.py:465:getReposFromConfigFile:ConfigError: File contains no section headers.
    file: file:///etc/yum.repos.d/google.repo, line: 1
    'google64]\n'
    
    Traceback (most recent call last):
      File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
        main(sys.argv[1:])
      File "/usr/share/yum-cli/completion-helper.py", line 83, in main
        base.getOptionsConfig(args)
      File "/usr/share/yum-cli/cli.py", line 353, in getOptionsConfig
        self.parseCommands() # before we return check over the base command + args
      File "/usr/share/yum-cli/cli.py", line 395, in parseCommands
        self._set_repos_cache_req()
      File "/usr/share/yum-cli/cli.py", line 416, in _set_repos_cache_req
        for repo in self.repos.listEnabled():
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1070, in <lambda>
        repos = property(fget=lambda self: self._getRepos(),
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 694, in _getRepos
        self.getReposFromConfig()
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 567, in getReposFromConfig
        self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)
      File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 465, in getReposFromConfigFile
        raise Errors.ConfigError(exception2msg(e))
    ConfigError: File contains no section headers.
    file: file:///etc/yum.repos.d/google.repo, line: 1
    'google64]\n'
    
    Local variables in innermost frame:
    e: File contains no section headers.
    file: file:///etc/yum.repos.d/google.repo, line: 1
    'google64]\n'
    repofn: '/etc/yum.repos.d/google.repo'
    confpp_obj: <yum.parser.ConfigPreProcessor instance at 0x2704758>
    parser: <iniparse.compat.RawConfigParser object at 0x2719ed0>
    repo_age: 1502289315
    validate: None
    self: <cli.YumBaseCli object at 0x7fc1212de350>
    
    ? file icon backtrace (1,781 bytes) 2017-08-09 14:43 +
  • ? file icon environ (2,545 bytes) 2017-08-09 14:43 -
    PERL_MM_OPT=INSTALL_BASE=/root/perl5
    LESSOPEN=||/usr/bin/lesspipe.sh %s
    PERL_LOCAL_LIB_ROOT=:/root/perl5
    LOGNAME=root
    USER=root
    QTDIR=/usr/lib64/qt-3.3
    XDG_VTNR=1
    PATH=/usr/lib64/qt-3.3/bin:/root/perl5/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
    DISPLAY=:0
    LANG=ko_KR.UTF-8
    QTLIB=/usr/lib64/qt-3.3/lib
    TERM=xterm-256color
    SHELL=/bin/bash
    XAUTHORITY=/root/.xauthtzYB5t
    QTINC=/usr/lib64/qt-3.3/include
    HISTSIZE=1000
    HOME=/root
    QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
    KDEDIRS=/usr
    QT_GRAPHICSSYSTEM_CHECKED=1
    XDG_SESSION_ID=1
    _=/usr/share/yum-cli/completion-helper.py
    PERL5LIB=/root/perl5/lib/perl5:
    OLDPWD=/root
    HOSTNAME=localhost.localdomain
    HISTCONTROL=ignoredups
    SHLVL=1
    PWD=/etc/yum.repos.d
    PERL_MB_OPT=--install_base /root/perl5
    MAIL=/var/spool/mail/root
    LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
    XDG_SEAT=seat0
    
    ? file icon environ (2,545 bytes) 2017-08-09 14:43 +
  • ? file icon machineid (135 bytes) 2017-08-09 14:43 -
    systemd=b4827a2e9da14e88a5ac9f19080ff4ea
    sosreport_uploader-dmidecode=7210be69ebe16130d01c3046b907576a61234266d67b548bc336bbf27eb8e53f
    
    ? file icon machineid (135 bytes) 2017-08-09 14:43 +

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-08-09 14:43 lentos New Issue
2017-08-09 14:43 lentos File Added: backtrace
2017-08-09 14:43 lentos File Added: environ
2017-08-09 14:43 lentos File Added: machineid
+Issue History