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

first time run of gateone give python error #689

Closed
allenzhao64 opened this issue Jan 5, 2018 · 5 comments
Closed

first time run of gateone give python error #689

allenzhao64 opened this issue Jan 5, 2018 · 5 comments

Comments

@allenzhao64
Copy link

the installation looks ok. But when gateone is issue on command line:

[root@node1 GateOne]# gateone
Traceback (most recent call last):
File "/usr/bin/gateone", line 9, in
load_entry_point('gateone==1.2.0', 'console_scripts', 'gateone')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py", line 402, in
from gateone.auth.authorization import require, authenticated, policies
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/auth/authorization.py", line 38, in
@memoize
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/utils.py", line 290, in init
MEMO = AutoExpireDict(timeout=timeout, interval="30s")
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/utils.py", line 161, in init
self.interval = kwargs.pop('interval')
File "/usr/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/utils.py", line 211, in interval
self._timeout_checker, value, io_loop=self.io_loop)
TypeError: init() got an unexpected keyword argument 'io_loop'
Exception AttributeError: "'AutoExpireDict' object has no attribute '_key_watcher'" in <bound method AutoExpireDict.del of {}> ignored
[root@node1 GateOne]#

I am using python 2.7.5 (with the latest CentOS 7)

@allenzhao64
Copy link
Author

The issue apparently is due to the latest version of tornado used.

By removing the 5.1a tornado, and do a pip install tornado==4.5.3, the gateone starts to function correctly.

@davama
Copy link

davama commented Feb 2, 2018

@allenzhao64 this really help!

I was cracking my head

@rushi718
Copy link

Yes it really helped thank you

@Pransu-panwar
Copy link

i am still getting the same error, even after downgrading tornado. please help!

@shaifali03
Copy link

Upon running the following commands,
graphlab.canvas.set_target('ipynb')
sales.show()

I am getting a long error at the end of which is following-
TypeError: initialize() got an unexpected keyword argument 'io_loop'

Pls share how to rectify this error. Is anybody else doing Coursera's Machine Learning Specialization Course ?

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

5 participants