I tried this. It's not working...

>>> proxy_support = urllib2.ProxyHandler({"http" : "http://10.3.100.211:8080"})
>>> bl = BugList("https://bugs.launchpad.net/bughelper/+bugs";)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/launchpadbugs/connector.py", line 111, 
in __call__
    filter=self.__buglist_filter, all_tasks=self.__all_tasks)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_buglist.py", line 
123, in __init__
    all_tasks, start_bugs, BugPage)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/buglistbase.py", line 
85, in __init__
    self._add(self.baseurl)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/buglistbase.py", line 
165, in _add
    (bugs,url) = self._fetch(url)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/buglistbase.py", line 
150, in _fetch
    class_helper=self.class_helper_bugpage)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/buglistbase.py", line 
27, in __new__
    x, following_page = class_helper.find_parse_function(connection, 
tested_url, all_tasks)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_buglist.py", line 
33, in find_parse_function
    lp_content = connection.get(url)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/http_connection.py", 
line 87, in get
    self.__baseurl = self._get_baseurl()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/http_connection.py", 
line 80, in _get_baseurl
    a = self.__opener.open(BASEURL.BUG_NG + "/+").rstrip("/+")
  File "/usr/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 1115, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error (111, 'Connection refused')>

-- 
python-launchpad-bug does not support proxy server
https://bugs.launchpad.net/bugs/194097
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to