Getting "quickly release" to work behind a proxy server

Asked by Kenneth Chia on 2012-02-22

Hi,
May I know what steps are needed to have "quickly release" work behind a proxy server:
I get the following message when executing quickly release
Get Launchpad Settings
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/release.py", line 116, in <module>
    launchpad = launchpadaccess.initialize_lpi()
  File "/usr/lib/python2.7/dist-packages/quickly/launchpadaccess.py", line 91, in initialize_lpi
    allow_access_levels=["WRITE_PRIVATE"])
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 539, in login_with
    credential_save_failed, version)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 346, in _authorize_token_and_login
    credentials = authorization_engine(credentials, credential_store)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 488, in __call__
    request_token_string = self.get_request_token(credentials)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 505, in get_request_token
    token_format=Credentials.DICT_TOKEN_FORMAT)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 135, in get_request_token
    url, method='POST', headers=headers, body=urlencode(params))
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1436, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1188, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1162, in _conn_request
    conn.connect()
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 925, in connect
    raise socket.error, msg
socket.error: [Errno 113] No route to host
ERROR: release command failed
Aborting

I am able to manually push the source onto launchpad using bzr (had to configure ssh to use corkscrew for this)

Question information

Language:
English Edit question
Status:
Open
For:
Quickly Edit question
Assignee:
No assignee Edit question
Last query:
2012-02-22
Last reply:
2012-02-22
Didier Roche (didrocks) said : #1

Hey Kenneth,
I'm turning your question into a bug report against launchpadlib which doesn't seem to handle proxy yet.

Thanks for noticing this issue, I hope someone can tackle launchpadlib taking care of this issue :)

Kenneth Chia (kennethchia-kh) said : #2

Thanks Didier,

I appreciate your quick response.

Kenneth

Sent from my Samsung Galaxy Tablet
On Feb 22, 2012 6:32 PM, "Didier Roche" <
<email address hidden>> wrote:

> Your question #188475 on Quickly changed:
> https://answers.launchpad.net/quickly/+question/188475
>
> Status: Open => Answered
>
> Didier Roche proposed the following answer:
> Hey Kenneth,
> I'm turning your question into a bug report against launchpadlib which
> doesn't seem to handle proxy yet.
>
> Thanks for noticing this issue, I hope someone can tackle launchpadlib
> taking care of this issue :)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/quickly/+question/188475/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/quickly/+question/188475
>
> You received this question notification because you asked the question.
>

Can you help with this problem?

Provide an answer of your own, or ask Kenneth Chia for more information if necessary.

To post a message you must log in.