On 8/11/07, Alexandre Singulani <alexsingr@hotmail.com> wrote:
Pessoal, to com um problema bem incomodo aqui........ toda vez que tento
usar algum comando que use o yum (yum, yumx, pirut) ta dando pau. Ta me
retornando esse erro:
[root@localhost ~]# yum install yumex
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 37, in
<module>
import config
File "/usr/lib/python2.5/site-packages/yum/config.py", line 23, in
<module>
from parser import ConfigPreProcessor
File "/usr/lib/python2.5/site-packages/yum/parser.py", line 3, in <module>
import urlgrabber
File "/usr/lib/python2.5/site-packages/urlgrabber/__init__.py", line 53,
in <module>
from grabber import urlgrab, urlopen, urlread
File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 413,
in <module>
import byterange
File "/usr/lib/python2.5/site-packages/urlgrabber/byterange.py", line 260,
in <module>
import ftplib
EOFError: EOF read where object expected
outro:
[root@localhost ~]# pirut
Traceback (most recent call last):
File "/usr/sbin/pirut", line 35, in <module>
from yum.constants import *
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 37, in
<module>
import config
File "/usr/lib/python2.5/site-packages/yum/config.py", line 23, in
<module>
from parser import ConfigPreProcessor
File "/usr/lib/python2.5/site-packages/yum/parser.py", line 3, in <module>
import urlgrabber
File "/usr/lib/python2.5/site-packages/urlgrabber/__init__.py", line 53,
in <module>
from grabber import urlgrab, urlopen, urlread
File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 413,
in <module>
import byterange
File "/usr/lib/python2.5/site-packages/urlgrabber/byterange.py", line 260,
in <module>
import ftplib
EOFError: EOF read where object expected
alguem poderia me dar uma luz?? já to pensando ate em formatar meu sistema
tudo de novo. =/
[]s
Essa mensagem de erro serve pra te ajudar a rastrear a origem do problema, repare que ele vai carregando (via import) outras "bibliotecas" python, mas tem uma em especial que apresentou o mesmo erro nos dois caso que vc passou pra gente a ftplib.
No meus sistema ela está em :
/usr/lib/python2.5