Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bug in portage 2.0.50-r3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31021
Location: here

PostPosted: Wed Apr 07, 2004 4:56 pm    Post subject: Bug in portage 2.0.50-r3 Reply with quote

C'e' un bug in portage 2.0.50-r3. Qui lo trovate nei gentoo bugs. L'uso di emerge causa un errore del tipo:
Code:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 14, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6128, in ?
    settings.regenerate() # XXX: Regenerate use after we get a vartree -- GLOBAL
  File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate
    self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 1121, in autouse
    myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3309, in dep_check
    mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2)))
  File "/usr/lib/portage/pym/portage.py", line 3052, in dep_zapdeps
    myresult=dep_zapdeps(unreduced[x],reduced[x])
  File "/usr/lib/portage/pym/portage.py", line 3038, in dep_zapdeps
    elif myportapi.match(x):
AttributeError: 'NoneType' object has no attribute 'match'

Per fissare il bug editare il file /usr/lib/portage/pym/portage.py e alla linea 3029 cambiare
Code:
if portdbapi:

in
Code:
if myportapi:


Post relativi al bug:
https://forums.gentoo.org/viewtopic.php?t=158444&1021332
https://forums.gentoo.org/viewtopic.php?t=128037
https://forums.gentoo.org/viewtopic.php?t=158480
https://forums.gentoo.org/viewtopic.php?t=158519
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Mon Apr 12, 2004 10:30 am; edited 1 time in total
Back to top
View user's profile Send private message
n3m0
l33t
l33t


Joined: 08 Feb 2004
Posts: 798
Location: Richville, Naples, Italy, Europe

PostPosted: Wed Apr 07, 2004 7:21 pm    Post subject: Reply with quote

Perdonami, ma l'errore dovrebbe verificarsi sempre?
Anche con un semplice

Code:

# emerge jade


?

(l'ultima cosa che ho installato proprio con il portage 2.0.50-r3)

Nel file citato, alla linea incriminata, io ho proprio

Code:

if portdbapi:


eppure va tutto ok.
_________________
L’energia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
L’età della pietra non è mica finita per mancanza di pietre. - B.G.


Site/Blog: http://www.neminis.org
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31021
Location: here

PostPosted: Wed Apr 07, 2004 8:04 pm    Post subject: Reply with quote

Lo so non tutti hanno avuto questo errore.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
iDarbert
Apprentice
Apprentice


Joined: 19 Nov 2003
Posts: 251
Location: Bergamo, BG

PostPosted: Thu Apr 08, 2004 7:46 am    Post subject: Reply with quote

Neanche a me succede niente
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Apr 08, 2004 8:31 am    Post subject: Reply with quote

grazie della segnalazione :)

ho corretto la riga incriminata sebbene non mi desse alcun problema.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Thu Apr 08, 2004 2:18 pm    Post subject: Reply with quote

Scusatemi per l'ignoranza ma come si fa a sapere quale versione di portage si ha?

Grazie comunque!!!
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Apr 08, 2004 2:25 pm    Post subject: Reply with quote

Code:
$ emerge --version

_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Thu Apr 08, 2004 2:39 pm    Post subject: Reply with quote

Grazie ancora!!

Io avevo provato a dare un man portage ma non lo trovavo (stupido che non sono ;))
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31021
Location: here

PostPosted: Mon Apr 12, 2004 10:31 am    Post subject: Reply with quote

MOD: messo come post normale perche' e' arrivato la nuova versione di portage
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum