Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Asset' object has no attribute 'protocol' #75

Closed
lizhisen opened this issue Jul 25, 2018 · 1 comment
Closed

AttributeError: 'Asset' object has no attribute 'protocol' #75

lizhisen opened this issue Jul 25, 2018 · 1 comment

Comments

@lizhisen
Copy link

2018-07-25 15:49:16 [models DEBUG] Proxy <coco.models.WSProxy object at 0x7f49b0c5cdd8> closed
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/opt/coco/coco/proxy.py", line 47, in proxy
if asset.protocol != system_user.protocol:
AttributeError: 'Asset' object has no attribute 'protocol'

开始以为是没升级sdk,因为环境不支持连外网,我手工更新了jumpserver-python-sdk-0.0.44.tar.gz,通过python setup.py install。

然后还是不行。

jumpserver coco lua都升级1.3.3了

@lizhisen
Copy link
Author

jms-storage==0.0.18
jumpserver-python-sdk==0.0.44
paramiko==2.4.1
jms-storage==0.0.18

对应1.3.2到1.3.3改变了这4个,都已经手工升级,问题照旧。

@lizhisen lizhisen closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant