Hi:

On attempting package update using PUP on FC5, the application crashes.

I am trying to connect through a proxy server (192.168.1.1) running on 8080.

The proxy server settings are propogated through environment variables
http_proxy and ftp_proxy.

Please note that i am running pup from the command line.

Here are the details -

Component: Software Updater
Summary: TB084f9c5b urllib2.py:580:proxy_open:TypeError: iterable argument 
required

Traceback (most recent call last):
  File "/usr/sbin/pup", line 382, in ?
    main()
  File "/usr/sbin/pup", line 378, in main
    pup.run()
  File "/usr/sbin/pup", line 353, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 161, in doRefresh
    self.reposSetup(pbar)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 142, in 
reposSetup
    self.doRepoSetup()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 248, in 
doRepoSetup
    repo.baseurlSetup()
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 535, in 
baseurlSetup
    mirrorurls = getMirrorList(self.mirrorlist)
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 838, in 
getMirrorList
    fo = urlresolver.urlopen(url)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 583, in 
urlopen
    return default_grabber.urlopen(url, **kwargs)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 741, in 
urlopen
    return self._retry(opts, retryfunc, url)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 702, in 
_retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 740, in 
retryfunc
    return URLGrabberFileObject(url, filename=None, opts=opts)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 893, in 
__init__
    self._do_open()
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 960, in 
_do_open
    fo, hdr = self._make_request(req, opener)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1059, in 
_make_request
    fo = opener.open(req)
  File "/usr/lib/python2.4/urllib2.py", line 358, in open
    response = self._open(req, data)
  File "/usr/lib/python2.4/urllib2.py", line 376, in _open
    '_open', req)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 573, in <lambda>
    lambda r, proxy=url, type=type, meth=self.proxy_open: \
  File "/usr/lib/python2.4/urllib2.py", line 580, in proxy_open
    if '@' in host:
TypeError: iterable argument required

Local variables in innermost frame:
r_type: 8080
req: <urllib2.Request instance at 0xb5ff6fcc>
orig_type: http
self: <urllib2.ProxyHandler instance at 0xb5ff6fec>
XXX: 8080
host: None
proxy: 192.168.1.1:8080
type: 192.168.1.1

Is there a work around or a solution to this ?

Any help or pointers will be greatly appreciated.

thanks
Saifi.




=====================================================
      Mark your calendar for the next TSM
      Saturday (5pm - 7pm) on 2nd September 2006

      Linux Install Fest
      - Debian Linux
      - Fedora Core 5

      Venue:
      AppLabs Technologies Pvt Ltd.
      3rd Floor, 3XL Conference Room
      Opp K.B.R. Park
      Jubilee Hills Checkpost,
      Hyderabad.

      Helpline:
      +91 - 99496 50605 

      To know more about TWINCLING Society
      http://www.twincling.org/
===================================================== 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/twincling/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to