gwibber-bugs team mailing list archive
-
gwibber-bugs team
-
Mailing list archive
-
Message #00233
[Bug 701486] Re: vkotakte-ru-plugin bzr945 fails to add vkontakte account
When gnome proxy is enabled, gwibber uses proxy till user logout. After
relogin gwibber starts with clean proxy settings and account is
successfully added. When proxy is disabled after it was enabled, the
following occurs: authentication page displays and after successful
login we get Login Success message and nothing happened because plugin
can't contact API to determine user's info.
--
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
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