当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 245 篇帖子 ]  前往页数 上一页  1 ... 12, 13, 14, 15, 16, 17  下一页
作者 内容
211 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-07 9:37 

注册: 2014-05-06 20:51
帖子: 6
系统: win7
送出感谢: 0 次
接收感谢: 0 次
:em11强支持!


页首
 用户资料  
 
212 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-07 19:18 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
gdgglhy 写道:
nae6taiyie0T 写道:
@gdgglhy
刚才 MJsaka 已经重新打包了, 请你测试一下.

这个是修复记录: https://github.com/LiuLang/kwplayer-packages/pull/38

代码:
xx@arch:~$ bcloud-gui
Traceback (most recent call last):
  File "/usr/bin/bcloud-gui", line 9, in <module>
    from bcloud.App import App
ImportError: No module named bcloud.App


打包的朋友测试了, 没有这样的问题.
请你直接联系他, 看看究竟是哪方面的问题.
他的email 是: qiuxuenan@gmail.com
我的email 是: gsushzhsosgsu@gmail.com


页首
 用户资料  
 
213 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-08 8:52 
头像

注册: 2010-04-23 12:19
帖子: 440
系统: arch
送出感谢: 6
接收感谢: 8
点击 记住密码 和 自动登陆 怎么也登陆不上,卡在登陆界面。
代码:
(bcloud-gui:22372): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
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_signin_button_clicked
    self.signin()
  File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 339, in signin
    self.update_profile(username, password, cookie, tokens)
  File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 375, in update_profile
    gutil.dump_profile(self.profile)
  File "/usr/lib/python3.4/site-packages/bcloud/gutil.py", line 172, 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

附件:
截图 - 2014年05月08日 - 08时34分28秒.png
截图 - 2014年05月08日 - 08时34分28秒.png [ 1.18 MiB | 被浏览 6276 次 ]


取消 记住密码 和 自动登陆 就没问题
附件:
截图 - 2014年05月08日 - 08时50分16秒.png
截图 - 2014年05月08日 - 08时50分16秒.png [ 894.66 KiB | 被浏览 6276 次 ]



页首
 用户资料  
 
214 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-08 18:40 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
gdgglhy 写道:
点击 记住密码 和 自动登陆 怎么也登陆不上,卡在登陆界面。
代码:
(bcloud-gui:22372): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
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_signin_button_clicked
    self.signin()
  File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 339, in signin
    self.update_profile(username, password, cookie, tokens)
  File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 375, in update_profile
    gutil.dump_profile(self.profile)
  File "/usr/lib/python3.4/site-packages/bcloud/gutil.py", line 172, 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

附件:
截图 - 2014年05月08日 - 08时34分28秒.png

取消 记住密码 和 自动登陆 就没问题
附件:
截图 - 2014年05月08日 - 08时50分16秒.png


你终端里的错误信息显示, 是keyring那里出问题了.

在之前的版本中, bcloud可以使用keyring来调用桌面提供的密码托管服务(gnome-keyring 或者kde kwallet), 如果失败的话, 就会直接把明文密码存放到硬盘上.
这样做的好处是能兼容大部分linux的桌面环境以及窗口管理器; 但缺点也很明显, 密码被明文存放!!! 这个可是被好几个朋友喷了的 :em20

后来的版本中, 就不再存放明文密码了, 并且必须要有keyring, bcloud才能正常工作. 但是, 这样一来, 对于非主流的桌面环境以及窗口管理器, 就不能保证能兼容了, 有可能会出现一些奇怪的错误. 对此我无能为力, 只能怪linux桌面太混乱了~

最新的v3.3.5的arch包等一会儿就会被推送到github, 里面会加入python-keyring这个依赖模块, 你可以试试.


页首
 用户资料  
 
215 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-08 21:42 
头像

注册: 2010-04-23 12:19
帖子: 440
系统: arch
送出感谢: 6
接收感谢: 8
nae6taiyie0T 写道:
gdgglhy 写道:
点击 记住密码 和 自动登陆 怎么也登陆不上,卡在登陆界面。
代码:
(bcloud-gui:22372): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
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_signin_button_clicked
    self.signin()
  File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 339, in signin
    self.update_profile(username, password, cookie, tokens)
  File "/usr/lib/python3.4/site-packages/bcloud/SigninDialog.py", line 375, in update_profile
    gutil.dump_profile(self.profile)
  File "/usr/lib/python3.4/site-packages/bcloud/gutil.py", line 172, 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

附件:
截图 - 2014年05月08日 - 08时34分28秒.png

取消 记住密码 和 自动登陆 就没问题
附件:
截图 - 2014年05月08日 - 08时50分16秒.png


你终端里的错误信息显示, 是keyring那里出问题了.

在之前的版本中, bcloud可以使用keyring来调用桌面提供的密码托管服务(gnome-keyring 或者kde kwallet), 如果失败的话, 就会直接把明文密码存放到硬盘上.
这样做的好处是能兼容大部分linux的桌面环境以及窗口管理器; 但缺点也很明显, 密码被明文存放!!! 这个可是被好几个朋友喷了的 :em20

后来的版本中, 就不再存放明文密码了, 并且必须要有keyring, bcloud才能正常工作. 但是, 这样一来, 对于非主流的桌面环境以及窗口管理器, 就不能保证能兼容了, 有可能会出现一些奇怪的错误. 对此我无能为力, 只能怪linux桌面太混乱了~

最新的v3.3.5的arch包等一会儿就会被推送到github, 里面会加入python-keyring这个依赖模块, 你可以试试.

代码:
[root@arch xx]# ya -Ql python-keyring
python-keyring /usr/
python-keyring /usr/bin/
python-keyring /usr/bin/keyring
python-keyring /usr/lib/
python-keyring /usr/lib/python3.4/
python-keyring /usr/lib/python3.4/site-packages/
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/PKG-INFO
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/SOURCES.txt
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/dependency_links.txt
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/entry_points.txt
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/requires.txt
python-keyring /usr/lib/python3.4/site-packages/keyring-3.7-py3.4.egg-info/top_level.txt
python-keyring /usr/lib/python3.4/site-packages/keyring/
python-keyring /usr/lib/python3.4/site-packages/keyring/__init__.py
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/__init__.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/__init__.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/backend.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/backend.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/cli.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/cli.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/core.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/core.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/credentials.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/credentials.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/errors.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/errors.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/getpassbackend.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/getpassbackend.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/http.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/http.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/py27compat.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/__pycache__/py27compat.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backend.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/Gnome.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/Google.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/OS_X.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/SecretService.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/Windows.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__init__.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/Gnome.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/Gnome.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/Google.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/Google.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/OS_X.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/OS_X.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/SecretService.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/SecretService.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/Windows.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/Windows.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/__init__.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/__init__.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/_win_crypto.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/_win_crypto.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/file.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/file.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/keyczar.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/keyczar.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/kwallet.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/kwallet.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/multi.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/multi.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/pyfs.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/__pycache__/pyfs.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/_win_crypto.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/file.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/keyczar.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/kwallet.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/multi.py
python-keyring /usr/lib/python3.4/site-packages/keyring/backends/pyfs.py
python-keyring /usr/lib/python3.4/site-packages/keyring/cli.py
python-keyring /usr/lib/python3.4/site-packages/keyring/core.py
python-keyring /usr/lib/python3.4/site-packages/keyring/credentials.py
python-keyring /usr/lib/python3.4/site-packages/keyring/errors.py
python-keyring /usr/lib/python3.4/site-packages/keyring/getpassbackend.py
python-keyring /usr/lib/python3.4/site-packages/keyring/http.py
python-keyring /usr/lib/python3.4/site-packages/keyring/py27compat.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__init__.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/__init__.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/__init__.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/mocks.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/mocks.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/py30compat.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/py30compat.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_XDG.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_XDG.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_backend.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_backend.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_cli.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_cli.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_core.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_core.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_util.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/test_util.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/util.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/__pycache__/util.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__init__.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/__init__.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/__init__.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_Gnome.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_Gnome.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_Google.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_Google.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_OS_X.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_OS_X.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_SecretService.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_SecretService.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_Windows.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_Windows.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_crypto.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_crypto.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_file.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_file.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_keyczar.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_keyczar.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_kwallet.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_kwallet.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_multi.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_multi.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_pyfs.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/__pycache__/test_pyfs.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_Gnome.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_Google.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_OS_X.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_SecretService.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_Windows.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_crypto.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_file.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_keyczar.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_kwallet.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_multi.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/backends/test_pyfs.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/mocks.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/py30compat.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/test_XDG.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/test_backend.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/test_cli.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/test_core.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/test_util.py
python-keyring /usr/lib/python3.4/site-packages/keyring/tests/util.py
python-keyring /usr/lib/python3.4/site-packages/keyring/util/
python-keyring /usr/lib/python3.4/site-packages/keyring/util/XDG.py
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__init__.py
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/XDG.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/XDG.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/__init__.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/__init__.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/escape.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/escape.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/platform_.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/platform_.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/properties.cpython-34.pyc
python-keyring /usr/lib/python3.4/site-packages/keyring/util/__pycache__/properties.cpython-34.pyo
python-keyring /usr/lib/python3.4/site-packages/keyring/util/escape.py
python-keyring /usr/lib/python3.4/site-packages/keyring/util/platform_.py
python-keyring /usr/lib/python3.4/site-packages/keyring/util/properties.py

python-keyring是有安装的


页首
 用户资料  
 
216 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-08 23:09 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
代码:
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
......
keyring.errors.PasswordSetError: GNOME_KEYRING_RESULT_IO_ERROR


不是有没有安装, 而是它的服务端能不能正常使用.
python-keyring只是会向服务端发出查询密码或者保存密码的命令, 如果服务端不可用, 那它也没办法.


页首
 用户资料  
 
217 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-08 23:26 
头像

注册: 2010-04-23 12:19
帖子: 440
系统: arch
送出感谢: 6
接收感谢: 8
nae6taiyie0T 写道:
代码:
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
......
keyring.errors.PasswordSetError: GNOME_KEYRING_RESULT_IO_ERROR


不是有没有安装, 而是它的服务端能不能正常使用.
python-keyring只是会向服务端发出查询密码或者保存密码的命令, 如果服务端不可用, 那它也没办法.


也就是说python-keyring不适用所有WM,例如我的xfce,大概这意思吧


页首
 用户资料  
 
218 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 0:17 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
gdgglhy 写道:
nae6taiyie0T 写道:
代码:
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
......
keyring.errors.PasswordSetError: GNOME_KEYRING_RESULT_IO_ERROR


不是有没有安装, 而是它的服务端能不能正常使用.
python-keyring只是会向服务端发出查询密码或者保存密码的命令, 如果服务端不可用, 那它也没办法.


也就是说python-keyring不适用所有WM,例如我的xfce,大概这意思吧


举个例子, 我偶尔会用openbox+fbpanel作为一个轻量级的桌面环境, 但在这个环境下, nautilus是不能挂载加密分区, 因为要挂载加密分区, 需要keyring, 以及后台的gnome-keyring服务, 而gnome-keyring等若干服务是与gnome桌面绑定的, 在openbox环境里, 是没有被启动的.
具体来说, 就是缺少了它:
代码:
~ $ ps ax |grep keyring
 1198 ?        SLl    0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
26928 pts/0    S+     0:00 grep keyring


你遇到的问题也是类似的, 即使安装了python-keyring, 它在xfce里面也是没用处的, 因为后台服务没被启动.


页首
 用户资料  
 
219 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 0:34 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
我刚才在debian sid里面安装了xfce4.

登录xfce4后, bcloud 可以正常登录, 可以正常保存密码.

应该是你的arch里面没有安装gnome-keyring (或者kwallet).

在我的系统里:
代码:
~ $ dpkg -l |grep keyring
ii  debian-archive-keyring                2012.4                             all          GnuPG archive keys of the Debian archive
ii  gir1.2-gnomekeyring-1.0               3.8.0-2                            amd64        GNOME keyring services library - introspection data
ii  gnome-keyring                         3.12.0-2                           amd64        GNOME keyring services (daemon and tools)
ii  libgnome-keyring-common               3.8.0-2                            all          GNOME keyring services library - data files
ii  libgnome-keyring0:amd64               3.8.0-2                            amd64        GNOME keyring services library
ii  libpam-gnome-keyring                  3.12.0-2                           amd64        PAM module to unlock the GNOME keyring upon login
ii  python3-keyring                       3.7-1                              all          store and access your passwords safely - Python 3 version


因为我主要使用gnome桌面, 上面的组件都是它自动安装的.
你可以参考一下它的名称, 在arch里面找到对应的包并安装它. 但要注意arch里的包与debian里的, 在名称上有不小的差异.

等gnome-keyring这个服务能正常启动了时, bcloud就可以与它交互了.


页首
 用户资料  
 
220 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 7:40 
头像

注册: 2010-04-23 12:19
帖子: 440
系统: arch
送出感谢: 6
接收感谢: 8
nae6taiyie0T 写道:
我刚才在debian sid里面安装了xfce4.

登录xfce4后, bcloud 可以正常登录, 可以正常保存密码.

应该是你的arch里面没有安装gnome-keyring (或者kwallet).

在我的系统里:
代码:
~ $ dpkg -l |grep keyring
ii  debian-archive-keyring                2012.4                             all          GnuPG archive keys of the Debian archive
ii  gir1.2-gnomekeyring-1.0               3.8.0-2                            amd64        GNOME keyring services library - introspection data
ii  gnome-keyring                         3.12.0-2                           amd64        GNOME keyring services (daemon and tools)
ii  libgnome-keyring-common               3.8.0-2                            all          GNOME keyring services library - data files
ii  libgnome-keyring0:amd64               3.8.0-2                            amd64        GNOME keyring services library
ii  libpam-gnome-keyring                  3.12.0-2                           amd64        PAM module to unlock the GNOME keyring upon login
ii  python3-keyring                       3.7-1                              all          store and access your passwords safely - Python 3 version


因为我主要使用gnome桌面, 上面的组件都是它自动安装的.
你可以参考一下它的名称, 在arch里面找到对应的包并安装它. 但要注意arch里的包与debian里的, 在名称上有不小的差异.

等gnome-keyring这个服务能正常启动了时, bcloud就可以与它交互了.

安装gnome-keyring后打开bcloud要求输入 默认密匙 ,不知道默认密匙是什么,删除用户目录 ~/.gnome2/keyrings/默认密钥.keyring 后可以保存密码和自动登陆,但是以明文方式保存密码,嗯,明文就明文吧,方便就行了 :em04


页首
 用户资料  
 
221 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 9:13 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
gdgglhy 写道:
nae6taiyie0T 写道:
我刚才在debian sid里面安装了xfce4.

登录xfce4后, bcloud 可以正常登录, 可以正常保存密码.

应该是你的arch里面没有安装gnome-keyring (或者kwallet).

在我的系统里:
代码:
~ $ dpkg -l |grep keyring
ii  debian-archive-keyring                2012.4                             all          GnuPG archive keys of the Debian archive
ii  gir1.2-gnomekeyring-1.0               3.8.0-2                            amd64        GNOME keyring services library - introspection data
ii  gnome-keyring                         3.12.0-2                           amd64        GNOME keyring services (daemon and tools)
ii  libgnome-keyring-common               3.8.0-2                            all          GNOME keyring services library - data files
ii  libgnome-keyring0:amd64               3.8.0-2                            amd64        GNOME keyring services library
ii  libpam-gnome-keyring                  3.12.0-2                           amd64        PAM module to unlock the GNOME keyring upon login
ii  python3-keyring                       3.7-1                              all          store and access your passwords safely - Python 3 version


因为我主要使用gnome桌面, 上面的组件都是它自动安装的.
你可以参考一下它的名称, 在arch里面找到对应的包并安装它. 但要注意arch里的包与debian里的, 在名称上有不小的差异.

等gnome-keyring这个服务能正常启动了时, bcloud就可以与它交互了.

安装gnome-keyring后打开bcloud要求输入 默认密匙 ,不知道默认密匙是什么,删除用户目录 ~/.gnome2/keyrings/默认密钥.keyring 后可以保存密码和自动登陆,但是以明文方式保存密码,嗯,明文就明文吧,方便就行了 :em04


默认密钥是你的当前登录到xfce4的帐户密码.
因为gnome/kde等, 在登录时, 会自动将keyring/kwallet解开的, 就不再需要另行输入了;
而非主流桌面对这些功能的支持都很差, 很不人性化(因为要考虑到所谓的轻量, 就不得不删去一些功能).

输入默认密钥, 就可以解开keyring这个密钥环了.

keyring明文存放的问题我之前没发现过, 因为之前在openbox里面用keyring, 如果输入密钥失败的话, 就会弹出一个对话框, 提示我失败了, 然后就退出了, 并没有明文存放密码.


页首
 用户资料  
 
222 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 11:31 
头像

注册: 2010-04-23 12:19
帖子: 440
系统: arch
送出感谢: 6
接收感谢: 8
自动登陆还有一个问题,打开bcloud后终端会返回3次什么网络超时的信息(每次间隔大概一分钟)后才能登陆上,每次打开都是这样,如果不是保存密码的很快就可以登陆上。不知是bcloud还是gnome-keyring的问题。
代码:
bcloud-gui

(bcloud-gui:5800): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


页首
 用户资料  
 
223 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 12:05 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
gdgglhy 写道:
自动登陆还有一个问题,打开bcloud后终端会返回3次什么网络超时的信息(每次间隔大概一分钟)后才能登陆上,每次打开都是这样,如果不是保存密码的很快就可以登陆上。不知是bcloud还是gnome-keyring的问题。
代码:
bcloud-gui

(bcloud-gui:5800): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


你确定安装/启动了dbus服务器?
代码:
~ $ ps ax |grep dbus
  648 ?        Ss     0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
  681 ?        Ss     0:00 /usr/sbin/dnsmasq --keep-in-foreground --pid-file --enable-dbus -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service
 1297 ?        S      0:00 dbus-launch --autolaunch=xxxx  2 --binary-syntax --close-stderr
 1298 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 1306 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch gnome-session
 1309 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch gnome-session
 1310 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 1350 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3

上面的, dbus-daemon 就是用于管理进程间通信的服务.
如果没有的话, 可以先试试 dbus-launch 命令来启动dbus服务.


页首
 用户资料  
 
224 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 12:27 
头像

注册: 2010-04-23 12:19
帖子: 440
系统: arch
送出感谢: 6
接收感谢: 8
nae6taiyie0T 写道:
gdgglhy 写道:
自动登陆还有一个问题,打开bcloud后终端会返回3次什么网络超时的信息(每次间隔大概一分钟)后才能登陆上,每次打开都是这样,如果不是保存密码的很快就可以登陆上。不知是bcloud还是gnome-keyring的问题。
代码:
bcloud-gui

(bcloud-gui:5800): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gkr-Message: secret service operation failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


你确定安装/启动了dbus服务器?
代码:
~ $ ps ax |grep dbus
  648 ?        Ss     0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
  681 ?        Ss     0:00 /usr/sbin/dnsmasq --keep-in-foreground --pid-file --enable-dbus -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service
 1297 ?        S      0:00 dbus-launch --autolaunch=xxxx  2 --binary-syntax --close-stderr
 1298 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 1306 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch gnome-session
 1309 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch gnome-session
 1310 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 1350 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3

上面的, dbus-daemon 就是用于管理进程间通信的服务.
如果没有的话, 可以先试试 dbus-launch 命令来启动dbus服务.

代码:
 243 ?        Ss     0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
  506 ?        S      0:00 /usr/bin/dbus-launch --autolaunch cdd68c6c0df84869bee12428ef72b41c --binary-syntax --close-stderr
  512 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session
  514 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
  515 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
  696 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
  739 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 8 --config-file /usr/share/fcitx/dbus/daemon.conf
  746 ?        SN     0:00 /usr/bin/fcitx-dbus-watcher unix:abstract=/tmp/dbus-Ys0A8ymhXY,guid=3874b4288aacaa88d5c8e11c536c4224 739
14748 pts/0    S+     0:00 grep --color=auto dbus


页首
 用户资料  
 
225 楼 
 文章标题 : Re: [分享]百度网盘的Gtk/Linux客户端 (已发布)
帖子发表于 : 2014-05-09 12:31 

注册: 2013-09-13 0:42
帖子: 482
系统: Debian sid
送出感谢: 0 次
接收感谢: 47
你可以向archlinux的社区求助, 因为里面之前有人遇到的类似的dbus超时问题.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 245 篇帖子 ]  前往页数 上一页  1 ... 12, 13, 14, 15, 16, 17  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译