Bug 1135121 - [abrt] yumex: __init__.py:461:getReposFromConfigFile:ConfigError: File contains parsing errors: file:///etc/yum.repos.d/google-chrome.repo
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: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:145bbb66fc1a49f09741440b4dc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-28 20:49 UTC by João
Modified: 2015-03-23 05:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-04 09:48:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.74 KB, text/plain)
2014-08-28 20:49 UTC, João
no flags Details
File: environ (1.45 KB, text/plain)
2014-08-28 20:49 UTC, João
no flags Details

Description João 2014-08-28 20:49:17 UTC
Version-Release number of selected component:
yumex-3.0.15-1.fc20

Additional info:
reporter:       libreport-2.2.3
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.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
__init__.py:461:getReposFromConfigFile:ConfigError: File contains parsing errors: file:///etc/yum.repos.d/google-chrome.repo
	[line  2]: cat << EOF > /etc/yum.repos.d/google-chrome.repo


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 parsing errors: file:///etc/yum.repos.d/google-chrome.repo
	[line  2]: cat << EOF > /etc/yum.repos.d/google-chrome.repo


Local variables in innermost frame:
e: File contains parsing errors: file:///etc/yum.repos.d/google-chrome.repo
	[line  2]: cat << EOF > /etc/yum.repos.d/google-chrome.repo

repofn: '/etc/yum.repos.d/google-chrome.repo'
confpp_obj: <yum.parser.ConfigPreProcessor instance at 0x1d8ddd0>
parser: <iniparse.compat.RawConfigParser object at 0x1d99310>
repo_age: 1409257522
validate: None
self: <yumexbackend.yum_server.YumexYumBase object at 0x150f6d0>

Comment 1 João 2014-08-28 20:49:20 UTC
Created attachment 932474 [details]
File: backtrace

Comment 2 João 2014-08-28 20:49:22 UTC
Created attachment 932475 [details]
File: environ

Comment 3 Tim Lauridsen 2014-10-04 09:48:28 UTC
syntax error in .repo file /etc/yum.repos.d/google-chrome.repo


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