View Full Version : smolt doesn't get through proxy

30th May 2007, 12:37 AM
Hi all,

I wanted to upload my hardware profile, but i got back this error list:

Send this information to the Smolt server? (y/n) y
Traceback (most recent call last):
File "/usr/bin/smoltSendProfile", line 122, in ?
if profile.send(user_agent=opts.user_agent, smoonURL=opts.smoonURL, timeout=opts.timeout):
File "/usr/share/smolt/client/smolt.py", line 327, in send
token = grabber.urlopen('%s/token?UUID=%s' % (smoonURL, self.host.UUID))
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 884, in urlopen
return self._retry(opts, retryfunc, url)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 845, in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 883, in retryfunc
return URLGrabberFileObject(url, filename=None, opts=opts)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1001, in __init__
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1068, in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1164, 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

I have the the proxy exported in the proxy.server.com:portnum format under the http_proxy name. It doesn't need usernam/passwd, but i know that there are ports disabled by it. It works for me with all other programs like yum without a problem.
Any idea?