Description of problem:
yum -c <file> dumps trace when <file> does not exist.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
yum -c /etc/non-existing-file check-update
yum -c /etc/nonexist check-update
Traceback (most recent call last):
File "/usr/share/yum-cli/yummain.py", line 139, in ?
File "/usr/share/yum-cli/yummain.py", line 52, in main
File "/usr/share/yum-cli/cli.py", line 122, in getOptionsConfig
self.conf = yumconf(configfile = yumconffile, root=root)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 65, in
configh = confpp(configfile)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 472, in
fo = self._pushfile( url )
File "/usr/lib/python2.3/site-packages/yum/config.py", line 571, in
raise Errors.ConfigError, \
AttributeError: confpp instance has no attribute 'name'
Proper error message.
This is with FC3test2's yum-rpm installed on an otherwise clean FC2
Installing the FC3test2 yum-rpm went without any complaint, so if this
issue should be caused by a python incompatibility this breakdown
would indicate a packaging bug.
This was just a plain old bug.
It's fixed in cvs.
I'd like to add a thank you for a clear and descriptive bug.
So there is hope to see this fixed for FC3 final?
I'd expect newbies to hit this issue not too seldom.
I'll have a 2.1.4 out in a day or two - it won't be perfect but it
will fix a number of bugs and implement some new things.
I don't expect that fc3 will be released with anything less than 2.1.8
or higher :)