yum quit

seth vidal skvidal at phy.duke.edu
Thu Aug 28 19:45:45 UTC 2003


On Thu, 2003-08-28 at 14:54, Thomas Dodd wrote:
> After installing some updates from rawhide, yum quit.
> 
> # yum check-update
> Traceback (most recent call last):
>    File "/usr/bin/yum", line 22, in ?
>      import yummain
>    File "yummain.py", line 21, in ?
>    File "clientStuff.py", line 25, in ?
>    File "pkgaction.py", line 24, in ?
>    File "rpmUtils.py", line 9, in ?
>    File "urlgrabber.py", line 21, in ?
>    File "/usr/lib/python2.2/urllib2.py", line 101, in ?
>      import ftplib
>    File "/usr/lib/python2.2/ftplib.py", line 68, in ?
>      all_errors = (Error, socket.error, IOError, EOFError)
> AttributeError: 'module' object has no attribute 'error'
> 
> If I remove socket.error from the all_errors, I get
> Traceback (most recent call last):
>    File "/usr/bin/yum", line 22, in ?
>      import yummain
>    File "yummain.py", line 21, in ?
>    File "clientStuff.py", line 25, in ?
>    File "pkgaction.py", line 24, in ?
>    File "rpmUtils.py", line 9, in ?
>    File "urlgrabber.py", line 37, in ?
>    File "keepalive.py", line 164, in ?
> AttributeError: 'module' object has no attribute 'HTTPResponse'
> 
> Since ftplib comes from python-2.2.3-3 which wasn't updated, I clueless.
> 

run this:

rpm -V python

I can't replicate this on the same ver of python on a mostly-rawhide
system.

also try this:
python
once the python shell comes up
import urllib2
import ftplib

see if you get the traceback there.

-sv







More information about the fedora-test-list mailing list