1 |
Hi, |
2 |
|
3 |
There seems to be a problem in the latest update of Portage, a lot of people (including myself) got this error after syncing the tree today. |
4 |
|
5 |
Changing Line 3029 in /usr/lib/portage/pym/portage.py. |
6 |
From |
7 |
if portdbapi: |
8 |
To |
9 |
if myportapi: |
10 |
|
11 |
fixed it for me. |
12 |
|
13 |
For more info, see |
14 |
|
15 |
http://forums.gentoo.org/viewtopic.php?t=158444&highlight=attributeerror+nonetype+object+attribute+match |
16 |
|
17 |
Best regards, |
18 |
/David Boman |
19 |
|
20 |
> -----Ursprungligt meddelande----- |
21 |
> Från: news [mailto:news@×××××××××.org] För Sven Köhler |
22 |
> Skickat: den 7 april 2004 16:48 |
23 |
> Till: gentoo-dev@l.g.o |
24 |
> Ämne: [gentoo-dev] [BUG] portage broken after emerge sync |
25 |
> |
26 |
> hi, |
27 |
> |
28 |
> i downloaded the latest stage3 tarball and tried to download the portage |
29 |
> by doing "emerge sync". i got the error below, so i used a |
30 |
> portage-snapshot for a while, and now retried to sync. i still get the |
31 |
> same error. what's wrong? |
32 |
> |
33 |
> it seems that myportapi is None, but i couldn't figure out why :-( |
34 |
> i could have submitted that to Bugzilla, but this is really urgent. |
35 |
> |
36 |
> here's the stack-trace: |
37 |
> |
38 |
> >>> Updating Portage cache... ...done! |
39 |
> |
40 |
> Traceback (most recent call last): |
41 |
> File "/usr/bin/emerge", line 2250, in ? |
42 |
> reload(portage) |
43 |
> File "/usr/lib/portage/pym/portage.py", line 6128, in ? |
44 |
> settings.regenerate() # XXX: Regenerate use after we get a vartree |
45 |
> -- GLOBAL |
46 |
> File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate |
47 |
> |
48 |
> self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_c |
49 |
> ache) |
50 |
> File "/usr/lib/portage/pym/portage.py", line 1121, in autouse |
51 |
> |
52 |
> myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache |
53 |
> ) |
54 |
> File "/usr/lib/portage/pym/portage.py", line 3309, in dep_check |
55 |
> mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2))) |
56 |
> File "/usr/lib/portage/pym/portage.py", line 3052, in dep_zapdeps |
57 |
> myresult=dep_zapdeps(unreduced[x],reduced[x]) |
58 |
> File "/usr/lib/portage/pym/portage.py", line 3038, in dep_zapdeps |
59 |
> elif myportapi.match(x): |
60 |
> AttributeError: 'NoneType' object has no attribute 'match' |
61 |
> |
62 |
> emerge info: |
63 |
> impossible, only get error-message above |
64 |
> |
65 |
> |
66 |
> -- |
67 |
> gentoo-dev@g.o mailing list |
68 |
> |
69 |
|
70 |
|
71 |
|
72 |
-- |
73 |
gentoo-dev@g.o mailing list |