Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gak! Emerge commited suicide!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Tue Apr 01, 2003 6:21 am    Post subject: Gak! Emerge commited suicide! Reply with quote

Right... So what's wrong with line 6 so I can fix it? :p

Code:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6, in ?
    import os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback
  File "/usr/lib/python2.2/site-packages/portage.py", line 12, in ?
    import string,os,re,types,sys,shlex,shutil,xpak,fcntl,signal,time,missingos,cPickle,atexit,grp,traceback,commands,pwd
  File "/usr/lib/python2.2/re.py", line 27, in ?
    from sre import *
EOFError: EOF read where object expected
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Tue Apr 01, 2003 6:39 am    Post subject: Oh for crying out loud... Reply with quote

What a silly little problem.
There's a comment on line 14 of /usr/lib/python2.2/site-packages/portage.py after the import statement on line 12.

The comment starts with a hash at the beginning of the line but has no trailing space:
Code:
#Secpass will be set to 1 if the user is root or in the portage group.

Add the space and emerge starts working again:
Code:
# Secpass will be set to 1 if the user is root or in the portage group.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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