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
1 if x.has_key(mykey):
2
3 Hi all,
4
5 Installing from tbz and having problems. When I tried the first
6 emerge rsync it appeared to work . But bootstrap got the following error.
7
8 AttributeError: 'None' object has no attribute 'has_key'
9 Traceback (most recent call last):
10 File "<string>", line 1, in ?
11 File "/usr/lib/python2.0/portage.py", line 375, in __getitem__
12 if x.has_key(mykey):
13 AttributeError: 'None' object has no attribute 'has_key'
14 Traceback (most recent call last):
15 File "<string>", line 1, in ?
16 File "/usr/lib/python2.0/portage.py", line 375, in __getitem__
17 if x.has_key(mykey):
18 AttributeError: 'None' object has no attribute 'has_key'
19 !!! Error: >=sys-apps/portage-1.6.6 does not exist or is an invalid command-line
20 option.
21 !!! Error: >=sys-apps/baselayout-1.6.2 does not exist or is an invalid command-l
22 ine option.i
23
24 Now if I try emerge rsync I get this:
25
26 [/usr/portage]:[/usr/portage]: emerge rsync
27 !!! Invalid token (not "=") python
28 Traceback (most recent call last):
29 File "/usr/sbin/emerge", line 212, in ?
30 if not portage.settings.has_key("MAINTAINER"):
31 File "/usr/lib/python2.0/portage.py", line 385, in has_key
32 if x.has_key(mykey):
33 AttributeError: 'None' object has no attribute 'has_key'
34
35 I'm still in the chroot environment.
36
37 Is there something I missed in the instructions?
38
39 Thanks in advance,
40
41 Patrick