Re: TypeError: 'NoneType' object is not iterable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 Jul 2008 20:58:24 -0700, Admin Admin wrote:

> Hello,
> 
> When I am trying the instructions at:
> http://www.virtuatopia.com/index.php/
Building_a_Xen_Guest_Root_Filesystem_using_yum_and_rpm
> 
> and using yum, I am getting the following errors:

 Note that the yum version is very important, this looks like a _very_ old 
version.

> ===================================================== $ yum
> --installroot=/xen/vm2/root -y groupinstall Base Setting up Group
> Process
> Setting up repositories
> base                      100%
> |=========================| 1.1 kB    00:00 updates                  
> 100%
> |=========================|  951 B    00:00 addons                   
> 100%
> |=========================|  951 B    00:00 extras                   
> 100%
> |=========================| 1.1 kB    00:00 comps.xml                
> 100%
> |=========================| 914 kB    00:03 Traceback (most recent call
> last):
>   File "/usr/bin/yum", line 27, in <module>
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 92, in
> main
>     result, resultmsgs = do()
>   File "/usr/share/yum-cli/cli.py", line 555, in
> doCommands
>     self.doGroupSetup()
>   File
> "/var/lib/python-support/python2.5/yum/__init__.py", line 325, in
> doGroupSetup
>     self.groupInfo.add(groupfile)
>   File
> "/var/lib/python-support/python2.5/yum/Errors.py", line 55, in __init__
>     YumBaseError.__init__(self)
>   File
> "/var/lib/python-support/python2.5/yum/Errors.py", line 25, in __init__
>     self.args = args
> TypeError: 'NoneType' object is not iterable
> =====================================================

 This looks identical to:

https://bugzilla.novell.com/show_bug.cgi?id=214119

...if it is the best fix IMO is to get a much newer yum version.

-- 
James Antill -- james@xxxxxxx
C String APIs use too much memory? ustr: length, ref count, size and
read-only/fixed. Ave. 44% overhead over strdup(), for 0-20B strings
http://www.and.org/ustr/

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux