Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51314 - emerge doesn't work after a python upgrade
Summary: emerge doesn't work after a python upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High blocker (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-17 14:27 UTC by Fernando Usero
Modified: 2005-01-25 11:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Please ignore these attachments (maxima-5.9.0.9_rc1.ebuild,2.56 KB, text/plain)
2004-09-21 08:49 UTC, Joe Jezak (RETIRED)
Details
Sorry, something went wrong in the upload. (maxima-emacs-5.9.0.9_rc1.patch,826 bytes, text/plain)
2004-09-21 08:50 UTC, Joe Jezak (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Usero 2004-05-17 14:27:45 UTC
I emerged python-2.3.4_rc1. I had python-2.3.3-r1. Now calling to emerge (emerge world for example) shows:

''import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/emerge", line 14, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6046, in ?
    if not os.path.exists(root+"tmp"):
AttributeError: 'module' object has no attribute 'exists'


Reproducible: Always
Steps to Reproduce:
1.type emerge and press return
Actual Results:  
emerge crashed

Expected Results:  
the usual output of "emerge" application

can't paste the information from "emerge info", given that emerge doesn't work
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-05-18 10:43:59 UTC
This is a python problem and isn't related to portage directly.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-06-26 12:57:30 UTC
'emerge info' and also /var/db/pkg/dev-lang/python*/CONTENTS please
Comment 3 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-06-26 16:22:20 UTC
Fernando, if you still can't do 'emerge info', please attach your /etc/make.conf file.
Comment 4 Fernando Usero 2004-06-28 00:12:39 UTC
i already solved it by copying the site-related files from a Gentoo LiveCD to my hard disk, it was another version, but it worked
Comment 5 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-06-28 03:43:32 UTC
Does the newest version of python work correctly for you?
Comment 6 Fernando Usero 2004-06-28 13:29:15 UTC
yes it does

etcat versions python
[ Results for search key           : python ]
[ Candidate applications found : 7 ]

 Only printing found installed programs.

*  dev-lang/python :
        [M~ ] 2.1.3-r1 (2.1)
        [   ] 2.2.2 (2.2)
        [  I] 2.2.3-r5 (2.2)
        [   ] 2.3.3 (2.3)
        [ ~ ] 2.3.3-r1 (2.3)
        [ ~ ] 2.3.4_rc1 (2.3)
        [ ~I] 2.3.4 (2.3)
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2004-09-21 08:49:31 UTC
Created attachment 40097 [details]
Please ignore these attachments
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2004-09-21 08:50:03 UTC
Created attachment 40098 [details]
Sorry, something went wrong in the upload.
Comment 9 Lukasz Strzygowski (RETIRED) gentoo-dev 2005-01-25 11:25:38 UTC
There isn't python-2.3.4_rc1 in portage any more, so I'm closing this bug.