Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

求问只要选择记住密码就卡住怎么破? #28

Closed
boyguyue opened this issue Jun 29, 2014 · 5 comments
Closed

求问只要选择记住密码就卡住怎么破? #28

boyguyue opened this issue Jun 29, 2014 · 5 comments

Comments

@boyguyue
Copy link

如题,登录时只要选择记住密码就会卡在“获取bdstokn”。
archlinux x64 从https://aur.archlinux.org/packages/bcloud-git/ 安装的

@LiuLang
Copy link
Collaborator

LiuLang commented Jun 29, 2014

有可能是你系统里的keyring模块有问题, bcloud在用它保存密码时连接超时了.

@boyguyue
Copy link
Author

好像是的
bcloud-gui

(bcloud-gui:1696): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
net.103L:, will POST data
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 227, in on_get_bdstoken
username, password, cookie, tokens, dump=True)
File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 329, in update_profile
gutil.dump_profile(self.profile)
File "/usr/lib/python3.4/site-packages/bcloud/gutil.py", line 174, in dump_profile
profile['password'])
File "/usr/lib/python3.4/site-packages/keyring/core.py", line 45, in set_password
_keyring_backend.set_password(service_name, username, password)
File "/usr/lib/python3.4/site-packages/keyring/backends/Gnome.py", line 96, in set_password
raise PasswordSetError(result.value_name)
keyring.errors.PasswordSetError: GNOME_KEYRING_RESULT_IO_ERROR

@boyguyue
Copy link
Author

python-keyring换成gnome-keyring不卡了

@LiuLang
Copy link
Collaborator

LiuLang commented Jul 10, 2014

Python-keyring 只是提供一个加密的python接口, 在底层仍然需要调用gnome-keyring或者kwallet这样的加密系统的.

@hepha
Copy link

hepha commented Sep 28, 2014

python-keyring
可選依賴 : libgnome-keyring: Gnome integration
python-gobject: Gnome integration [已安裝]
kdebindings-python: Kde integration [已安裝]
python-crypto: CLI keyring
python-secretstorage: SecretService DBus API (GNOME/KDE)

若是 KDE 安裝 kdebindings-python 那麼 kwall 才會記錄密碼
Gome 或許需要 libgnome-keyring OR python-gobject

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants