Gentoo Archives: gentoo-dev

From: P Kirk <patrick@×××××××××××××.com>
To: Gentoo Dev <gentoo-dev@××××××××××.org>
Subject: [gentoo-dev] First install having problems
Date: Sun, 23 Sep 2001 12:14:39
Message-Id: 20010923191626.A14644@enterprise
if x.has_key(mykey):

Hi all,

Installing from tbz and having problems.  When I tried the first 
emerge rsync it appeared to work .  But bootstrap got the following error.

AttributeError: 'None' object has no attribute 'has_key'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.0/portage.py", line 375, in __getitem__
    if x.has_key(mykey):
AttributeError: 'None' object has no attribute 'has_key'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.0/portage.py", line 375, in __getitem__
    if x.has_key(mykey):
AttributeError: 'None' object has no attribute 'has_key'
!!! Error: >=sys-apps/portage-1.6.6 does not exist or is an invalid command-line
 option.
!!! Error: >=sys-apps/baselayout-1.6.2 does not exist or is an invalid command-l
ine option.i

Now if I try emerge rsync I get this:

[/usr/portage]:[/usr/portage]: emerge rsync
!!! Invalid token (not "=") python
Traceback (most recent call last):
  File "/usr/sbin/emerge", line 212, in ?
    if not portage.settings.has_key("MAINTAINER"):
  File "/usr/lib/python2.0/portage.py", line 385, in has_key
    if x.has_key(mykey):
AttributeError: 'None' object has no attribute 'has_key'

I'm still in the chroot environment.

Is there something I missed in the instructions?

Thanks in advance,

Patrick