Re: Weird: IOError: <urlopen error (-2 Name.. but yumex works!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Stenner wrote:
On Wed, Jan 03, 2007 at 12:47:20PM +0200, Alan Robert Clark wrote:
As I said to Seth, it all works. wget/urlgrabber/firefox all faithfully collect it!

Do this.

a) grab http://bird.ece.arizona.edu/~mstenner/urlgrabber-20061212.tar.gz
  b) unpack it
  c) cd into the top level
  d) export PYTHONPATH=.; export URLGRABBER_DEBUG=DEBUG,debug.txt
  e) run yum
  f) sanitize debug.txt if necessary
  g) send it to the list along with the yum output

We'll get you squared away.  This is my domain, but I've been swamped,
tired, and sick lately.

					-Michael
Good Afternoon Michael

I hope you are feeling better. Apologies for not responding sooner, have had a few things to deal with myself!

I cleared out /etc/yum.repos.d of any non-enabled repos, as they really fill up debug.txt! I have attached the file. I am still baffled....

Additional yum output not in debug.txt is simply:

  Error: Cannot open/read repomd.xml file for repository: core

Greetings from an excessively hot Johannesburg.
Alan
--
Alan Robert Clark, Pr Eng     Computational Electromagnetics
Associate Professor                 Wits University
School of Electrical and Information Engineering
Wits; Gauteng              ``Bugs are later known as features''
2050 South Africa                 Ps 111:10; Ps 37/150
Fax (+27 11)403-1929             a.clark@xxxxxxxxxxxxx
Tel (+27 11)717-7223(24hr)  <http://YingTongDiddleiPo.ee.wits.ac.za/>
  GPG Public Key at <http://YingTongDiddleiPo.ee.wits.ac.za/arc.gpg>
          **Linux ---the choice of a GNU generation.**
2007-01-10 13:21:20,601 urlgrabber version  = 20061212
2007-01-10 13:21:20,615 have_m2crypto       = False
2007-01-10 13:21:20,615 trans function "_"  = <function _ at 0x8a54a3c>
2007-01-10 13:21:20,616 have_keepalive      = True
2007-01-10 13:21:20,616 have_range          = 1
2007-01-10 13:21:20,616 have_socket_timeout = True
2007-01-10 13:21:20,816 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:20,817 attempt 1/None: file:///etc/yum.conf
2007-01-10 13:21:20,817 SSLFactoryCache: no key found
2007-01-10 13:21:20,818 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:20,818 SSLFactoryCache: new value created
2007-01-10 13:21:20,818 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:20,818 HTTPSHandlerCache: no key found
2007-01-10 13:21:20,819 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:20,819 HTTPSHandlerCache: new value created
2007-01-10 13:21:20,819 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:20,820 OpenerCache: no key found
2007-01-10 13:21:20,820 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:20,821 OpenerCache: new value created
2007-01-10 13:21:20,821 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:20,937 success
2007-01-10 13:21:20,969 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:20,970 attempt 1/None: file:///etc/yum/pluginconf.d/installonlyn.conf
2007-01-10 13:21:20,970 SSLFactoryCache: found key
2007-01-10 13:21:20,970 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:20,971 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:20,971 HTTPSHandlerCache: found key
2007-01-10 13:21:20,971 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:20,971 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:20,972 OpenerCache: found key
2007-01-10 13:21:20,972 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:20,972 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:20,973 success
2007-01-10 13:21:21,133 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:21,134 attempt 1/None: file:///etc/yum.repos.d/freshrpms.repo
2007-01-10 13:21:21,134 SSLFactoryCache: found key
2007-01-10 13:21:21,135 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:21,135 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,135 HTTPSHandlerCache: found key
2007-01-10 13:21:21,135 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,136 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:21,136 OpenerCache: found key
2007-01-10 13:21:21,136 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:21,136 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:21,137 success
2007-01-10 13:21:21,138 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:21,139 attempt 1/None: file:///etc/yum.repos.d/fedora-core.repo
2007-01-10 13:21:21,139 SSLFactoryCache: found key
2007-01-10 13:21:21,139 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:21,140 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,140 HTTPSHandlerCache: found key
2007-01-10 13:21:21,140 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,140 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:21,141 OpenerCache: found key
2007-01-10 13:21:21,141 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:21,141 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:21,142 success
2007-01-10 13:21:21,143 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:21,144 attempt 1/None: file:///etc/yum.repos.d/fedora-updates.repo
2007-01-10 13:21:21,144 SSLFactoryCache: found key
2007-01-10 13:21:21,144 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:21,145 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,145 HTTPSHandlerCache: found key
2007-01-10 13:21:21,145 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,146 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:21,146 OpenerCache: found key
2007-01-10 13:21:21,146 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:21,147 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:21,147 success
2007-01-10 13:21:21,148 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:21,149 attempt 1/None: file:///etc/yum.repos.d/fedora-extras.repo
2007-01-10 13:21:21,149 SSLFactoryCache: found key
2007-01-10 13:21:21,149 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:21,149 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,150 HTTPSHandlerCache: found key
2007-01-10 13:21:21,150 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,150 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:21,150 OpenerCache: found key
2007-01-10 13:21:21,150 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:21,151 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:21,151 success
2007-01-10 13:21:21,152 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : None,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8abde2c>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:21,153 attempt 1/None: file:///etc/yum.repos.d/livna.repo
2007-01-10 13:21:21,153 SSLFactoryCache: found key
2007-01-10 13:21:21,153 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:21,153 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,153 HTTPSHandlerCache: found key
2007-01-10 13:21:21,154 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,179 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:21,179 OpenerCache: found key
2007-01-10 13:21:21,180 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:21,180 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:21,181 success
2007-01-10 13:21:21,351 MIRROR: trying repodata/repomd.xml -> http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/repodata/repomd.xml
2007-01-10 13:21:21,352 combined options: {
  'checkfunc'    : (<bound method YumRepository._checkRepoXML of <yum.yumRepo.YumRepository object at 0x8b7a98c>>, (), {}),
  'copy_local'   : 1,
  'http_headers' : (),
  'range'        : None,
  'reget'        : None,
  'text'         : <yum.yumRepo.YumRepository object at 0x8b7a98c>,
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x8b59e2c>>, (), {}),
    'ftp_headers'  : None,
    'http_headers' : (),
    'interrupt_callback': <bound method YumBaseCli.interrupt_callback of <cli.YumBaseCli object at 0x8b59e2c>>,
    'keepalive'    : True,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : <urlgrabber.progress.TextMeter instance at 0x8b6750c>,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : 'simple',
    'retry'        : 10,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'ssl_ca_cert'  : None,
    'ssl_context'  : None,
    'text'         : None,
    'throttle'     : 0,
    'timeout'      : 30.0,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x8b919ec>,
    'user_agent'   : 'urlgrabber/20061212',
    }
  }
2007-01-10 13:21:21,352 attempt 1/10: http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/repodata/repomd.xml
2007-01-10 13:21:21,353 SSLFactoryCache: found key
2007-01-10 13:21:21,353 SSLFactoryCache: key = (None, None)
2007-01-10 13:21:21,353 SSLFactoryCache: val = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,354 HTTPSHandlerCache: found key
2007-01-10 13:21:21,354 HTTPSHandlerCache: key = <urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>
2007-01-10 13:21:21,354 HTTPSHandlerCache: val = <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>
2007-01-10 13:21:21,354 OpenerCache: found key
2007-01-10 13:21:21,355 OpenerCache: key = [<urlgrabber.sslfactory.SSLFactory instance at 0x8b67acc>, <urlgrabber.keepalive.HTTPHandler instance at 0x8ab5d4c>, <urlgrabber.keepalive.HTTPSHandler instance at 0x8b6a2ec>, <urllib2.HTTPBasicAuthHandler instance at 0x8a53d6c>]
2007-01-10 13:21:21,355 OpenerCache: val = <urllib2.OpenerDirector instance at 0x8b6a32c>
2007-01-10 13:21:21,356 creating new connection to :8080 (146348940)
2007-01-10 13:21:21,432 exception: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
2007-01-10 13:21:21,433 calling callback: (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x8b59e2c>>, (), {})
2007-01-10 13:21:21,434 MIRROR: failed
2007-01-10 13:21:21,434 GR   mirrors: [] 0
2007-01-10 13:21:21,434 MAIN mirrors: [http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/] 0
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux