← Back to team overview

gwibber-bugs team mailing list archive

[Bug 701486] Re: vkotakte-ru-plugin bzr945 fails to add vkontakte account

 

Main problem is that vk API auth/session token strongly depends on the
IP adress. When IP adress changes, token stop work.

Second problem - Gwibber use py-webkit for display auth pages and pycurl
for contact with API. But pywebkit doesn't support http_proxy
environment since it been moved from libcurl to libsoup
https://bugs.launchpad.net/ubuntu/+source/pywebkitgtk/+bug/424833

So, we need to wait fixes on pywebkit (see bug #424833 for details)

** Summary changed:

- vkotakte-ru-plugin bzr945 fails to add vkontakte account
+ vkotakte-ru-plugin bzr945 fails to add vkontakte account when $http_proxy enabled

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/701486

Title:
  vkotakte-ru-plugin bzr945 fails to add vkontakte account when
  $http_proxy enabled

Status in Gwibber:
  New

Bug description:
  When proxy is enabled it can't load vkontakte.ru Authentication page.

  When we're not behind a proxy, we get the following.

  Maybe I've missed something.

  N.B. Paths in traceback are shortened for security reasons. they are relative to users' home dir.
  Traceback (most recent call last):
    File "vkontakte-ru-plugin/gwibber/microblog/plugins/vkontakte/gtk/vkontakte/__init__.py", line 109, in on_vk_auth_title_change
      app_id=VK_APP_ID).getProfiles(uids=data["mid"], fields="first_name,last_name")
    File "vkontakte-ru-plugin/gwibber/microblog/plugins/vkontakte/vk_api_wrapper.py", line 86, in __call__
      return self._load(method, **kwargs)
    File "vkontakte-ru-plugin/gwibber/microblog/plugins/vkontakte/vk_api_wrapper.py", line 67, in _load
      if res.has_key("error"):
  AttributeError: 'NoneType' object has no attribute 'has_key'





References