[Yum] Re: [Yum-devel] yum 3.0

Dawid Zamirski dzrudy at gmail.com
Thu Oct 5 15:40:22 UTC 2006


Hello

It seems that there's a tiny bug in the release that causes the
following error while running yum:
AttributeError: 'NoneType' object has no attribute 'get'

I have attached full traceback and a patch (against current CVS) to fix
this.



On Wed, 2006-10-04 at 23:23 -0400, seth vidal wrote:
> Hi everyone,
>  We've worked on this for quite some while and it actually came out
> looking pretty good. I'm pretty sure we touched the vast majority of the
> code in yum since 2.6 and cleaned up a lot of places where things were
> just unattractive. 
> 
> The functionality is still basically the same. Processing has been sped
> up a good bit and we've enhanced some things, though a good portion of
> this release was devoted to making it easier to write other programs
> around yum and I think we've accomplished that.
> 
> I'd like to thank all the nice folks who worked on this. There are a lot
> of people who have sent in a patch here and there and others who are
> long time contributors. Specific nice people who are featured
> prominently in the changelog for this release include:
> 
> James Bowes 
> Tambet Ingo 
> Jeremy Katz 
> Tim Lauridisen 
> Luke(Lewk?) Macken
> Panu Matilainen 
> Paul Nasrat
> Jack Neeley
> Menno Smits
> 
> So, without any further discussion I give you yum 3.0.
> 
> Tarball:
>  http://linux.duke.edu/yum/download/3.0/yum-3.0.tar.gz
> 
> SRPM:
>  http://linux.duke.edu/yum/download/3.0/yum-3.0-1.src.rpm
> 
> 
> As always, let us know what breaks.
> -sv
> 
> 
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser.diff
Type: text/x-patch
Size: 554 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20061005/618ce384/attachment-0001.bin 
-------------- next part --------------
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 85, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 199, in getOptionsConfig
    errorlevel=opts.errorlevel)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 112, in doConfigSetup
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.4/site-packages/yum/config.py", line 570, in readStartupConfig
    parser.readfp(confpp_obj)
  File "/usr/lib64/python2.4/ConfigParser.py", line 286, in readfp
    self._read(fp, filename)
  File "/usr/lib64/python2.4/ConfigParser.py", line 430, in _read
    line = fp.readline()
  File "/usr/lib/python2.4/site-packages/yum/parser.py", line 391, in readline
    return varReplace(line, self._vars)
  File "/usr/lib/python2.4/site-packages/yum/parser.py", line 272, in varReplace    replacement = vars.get(varname, m.group())
AttributeError: 'NoneType' object has no attribute 'get'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20061005/618ce384/attachment-0001.pgp 


More information about the Yum mailing list